mbox series

[RFC,0/2] Add has_psr2_sel_fech flag

Message ID 20220112140031.39823-1-jouni.hogander@intel.com (mailing list archive)
Headers show
Series Add has_psr2_sel_fech flag | expand

Message

Hogander, Jouni Jan. 12, 2022, 2 p.m. UTC
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@intel.com>
Cc: Kahola, Mika <mika.kahola@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@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(-)