[PATCH 0/3] PSR DSB support

Jouni Högander jouni.hogander at intel.com
Mon Nov 25 08:02:11 UTC 2024


This patch set is doing necessary modifications to support PSR update
using DSB.

It is not necessary to wait for PSR1 to idle or PSR2 to exit DEEP
sleep at the begin of commit as we do not have dbg_vblank_evade in use
when using DSB. This is left out from DSB commit. There might be room
for optimization for non-DSB as well because such wait is not supposed
to be necessary at the begin of update.

PSR mutex is locked when committed to DSB and unlocked when DSB is
considered being completed. This is still needed as there are other
paths updating PSR2_MAN_RK_CTL register: legacy cursor update and
frontbuffer rendering.

Jouni Högander (3):
  drm/i915/psr: Allow writing PSR2_MAN_TRK_CTL using DSB
  drm/i915/psr: Changes for PSR2_MAN_TRK_CTL handling when DSB is in use
  drm/i915/psr: Allow DSB usage when PSR is enabled

 drivers/gpu/drm/i915/display/intel_display.c |  8 ++++++--
 drivers/gpu/drm/i915/display/intel_psr.c     | 14 +++++++++-----
 2 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.34.1



More information about the Intel-gfx-trybot mailing list