drm/i915/xelpd: break feature inheritance
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 12 Jun 2021 05:35:31 +0000 (22:35 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 14 Jun 2021 21:12:28 +0000 (14:12 -0700)
commitb91e3c830f00814c0f5c2e3afaf63b48d8ccb9d3
treed84e3b04b4f8a6796145eb31ab7ac0bb00851801
parent0ea02bb8bc7a16446169bfae46938ea3a195db5d
drm/i915/xelpd: break feature inheritance

It's becoming pretty cumbersome to track the features enabled going back
to GEN7. Gather the XE_LPD display features together in XE_LPD_FEATURES
macro so they are sufficient to describe the display features.

In ADL-P's device_info we set has_psr_hw_tracking to 0 as it would
otherwise be enabled since it is inheriting from GEN12_FEATURES.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210612053531.1870920-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_pci.c