[Intel-gfx] [RFC PATCH 0/2] Add has_psr2_sel_fech flag

Jouni Högander jouni.hogander at intel.com
Wed Jan 12 14:00:29 UTC 2022


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 <jose.souza at intel.com>
Cc: Kahola, Mika <mika.kahola at intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Imre Deak <imre.deak at intel.com>

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



More information about the Intel-gfx mailing list