]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/debugfs: Print sink PSR status
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 25 Apr 2018 21:23:33 +0000 (14:23 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
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 <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180425212334.21109-3-jose.souza@intel.com
drivers/gpu/drm/i915/i915_debugfs.c