]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Carve up skl_get_plane_caps()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 10 Oct 2024 16:46:17 +0000 (19:46 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jan 2025 20:10:19 +0000 (22:10 +0200)
commit6f7c813c88aed90ca342a76ef4cdc078d6210e07
tree3f768a34bb61f694f33e08e0898dccaaedbd913a
parent71ca4715151e033c16427b8cfaa9b5393dd6a010
drm/i915: Carve up skl_get_plane_caps()

Split skl_get_plane_caps() into four variants:
skl_plane_caps(), glk_plane_caps(), icl_plane_caps(),
tgl_plane_caps().

Makes it easier to figure out what is actually going on there.

v2: skl_plane_caps() should return u8 not bool

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241010164617.10280-1-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
drivers/gpu/drm/i915/display/skl_universal_plane.c