Currently igt-gpu-tools is not aware of DG2 being not capable to
perform selective fetch. This is causing PSR2 testcases failing
on DG2 when PSR2 capable display is attached.

This patch set is adding new information into intel_device_info to see
whether display is psr2 selective fetch capable. Also check for psr2
sel fetch capability is converted to use this instead of checking
individual platforms separately.

This new flag can be utilized by igt-gpu-tools via i915_capabilities
debugfs interface.

Cc: José Roberto de Souza <[email protected]>
Cc: Kahola, Mika <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Imre Deak <[email protected]>

Jouni Högander (2):
  drm/i915: add new flag has_psr2_sel_fetch
  drm/i915: Use new has_psr2_sel_fetch flag

 drivers/gpu/drm/i915/display/intel_psr.c | 7 -------
 drivers/gpu/drm/i915/i915_drv.h          | 2 +-
 drivers/gpu/drm/i915/i915_pci.c          | 8 ++++++++
 drivers/gpu/drm/i915/intel_device_info.h | 1 +
 4 files changed, 10 insertions(+), 8 deletions(-)

-- 
2.34.0

Reply via email to