drm/i915/debugfs: Print sink PSR status
authorJosé Roberto de Souza <[email protected]>
Wed, 25 Apr 2018 21:23:33 +0000 (14:23 -0700)
committerRodrigo Vivi <[email protected]>
Thu, 26 Apr 2018 22:36:12 +0000 (15:36 -0700)
commitd0bc86231a55d72860ac3a07a0f676fc18f2dd9d
tree39e77654f0686593c236b08ac480b1b1632660ae
parentbc18b4df0fcb9fa4a50a19576723f14bfdd10c26
drm/i915/debugfs: Print sink PSR status

IGT tests could be improved with sink status, knowing for sure that
hardware have activate or exit PSR.

v3:
Reading i915_edp_psr_status was causing PSR to exit but now with
'drm/i915/psr: Prevent PSR exit when a non-pipe related register is
written' it is fixed.

Reviewed-by: Dhinakaran Pandiyan <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_debugfs.c