}
static bool plane_has_modifier(struct drm_i915_private *i915,
- enum intel_plane_caps plane_caps,
+ u8 plane_caps,
const struct intel_modifier_desc *md)
{
if (!IS_DISPLAY_VER(i915, md->display_ver.from, md->display_ver.until))
* The caller must free the returned buffer.
*/
u64 *intel_fb_plane_get_modifiers(struct drm_i915_private *i915,
- enum intel_plane_caps plane_caps)
+ u8 plane_caps)
{
u64 *list, *p;
int count = 1; /* +1 for invalid modifier terminator */
int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb);
u64 *intel_fb_plane_get_modifiers(struct drm_i915_private *i915,
- enum intel_plane_caps plane_caps);
+ u8 plane_caps);
bool intel_fb_plane_supports_modifier(struct intel_plane *plane, u64 modifier);
const struct drm_format_info *
const struct drm_plane_funcs *plane_funcs;
struct intel_plane *plane;
enum drm_plane_type plane_type;
- enum intel_plane_caps plane_caps;
+ u8 plane_caps;
unsigned int supported_rotations;
unsigned int supported_csc;
const u64 *modifiers;