Skip to content

RFC Add has_psr2_sel_fech flag

Jouni Högander intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: add new flag has_psr2_sel_fetchdrivers/gpu/drm/i915/i915_pci.c drivers/gpu/drm/i915/intel_device_info.h+9 -00 replies
2/2drm/i915: Use new has_psr2_sel_fetch flagdrivers/gpu/drm/i915/display/intel_psr.c drivers/gpu/drm/i915/i915_drv.h+1 -81 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.0