drm/i915/rkl: Limit number of universal planes to 5
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 4 May 2020 22:52:12 +0000 (15:52 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 20 May 2020 15:35:22 +0000 (08:35 -0700)
commit99e2d8bcb88763fe265ca0e99708eb55e1d44455
tree5f9718d3304c38b7f06d6883bb9686f86bba98f8
parentaffd7bb6169ef72985fa657b05c519f730d260f7
drm/i915/rkl: Limit number of universal planes to 5

RKL only has five universal planes, plus a cursor.  Since the
bottom-most universal plane is considered the primary plane, set the
number of sprites available on this platform to 4.

In general, the plane capabilities of the remaining planes stay the same
as TGL.  However the NV12 Y-plane support moves down to the new top two
planes and now only the bottom three planes can be used for NV12 UV.

Bspec: 49181
Bspec: 49251
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504225227.464666-8-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/display/intel_sprite.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_device_info.c