OSDN Git Service

drm/i915/xelpd: Define plane capabilities
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 12 May 2021 04:21:39 +0000 (21:21 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 12 May 2021 23:56:42 +0000 (16:56 -0700)
commit1649a4cc5c311dd9d3cca670d0c9fc7cd1164db7
treef3753649b380f9b9acde78cdb71f8d610bacac35
parent20fe778fde26f16fd3df28dba9fea889054380eb
drm/i915/xelpd: Define plane capabilities

XE_LPD's plane support is identical to RKL and ADL-S --- 5 universal + 1
cursor with NV12 UV support on planes 1-3 and NV12 Y support on planes
4-5.

v2:
 - Drop the extra 90/270 rotation check in skl_plane_check_fb(); the DRM
   property code will already prevent userspace from passing us values
   that weren't advertised.  (Lucas)

Bspec: 53657
Bspec: 49251
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210512042144.2089071-3-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/skl_universal_plane.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_device_info.c