]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add missing pixel formats for skl+ "sprites"
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Oct 2018 12:58:12 +0000 (15:58 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 Oct 2018 10:51:59 +0000 (13:51 +0300)
commitc534800cf4a28598e261ae2f5f51267f37ba6071
treec81d7e6c0ca3a3f74e2dd05820925a50316e457d
parent45a1e57feb95a80e103e39f1aefff104328f8c02
drm/i915: Add missing pixel formats for skl+ "sprites"

All SKL+ universal planes support the same set of formats (with the
exception of NV12 which we don't expose yet). Make the format lists
for primary and sprites the same.

And make the format list const while at it.

v2: Deal with the "planar" format list as well

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181005125817.22576-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_sprite.c