]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915/psr: Add psr1 live status
authorVathsala Nagaraju <vathsala.nagaraju@intel.com>
Wed, 27 Jun 2018 08:08:30 +0000 (13:38 +0530)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Mon, 2 Jul 2018 17:36:20 +0000 (10:36 -0700)
commit00b062967f1524de25daf6578d9043b0bbe7c208
tree3cd96f6a182f3897698ec357ea515166ed3607db
parent7e7367d3bc6cf27dd7e007e7897fcebfeff1ee8b
drm/i915/psr: Add psr1 live status

Prints live state of psr1.Extending the existing
PSR2 live state function to cover psr1.

Tested on KBL with psr2 and psr1 panel.

v2: rebase
v3: DK
    Rename psr2_live_status to psr_source_status.
v4: DK
    Move EDP_PSR_STATUS_STATE_SHIFT below EDP_PSR_STATUS_STATE_MASK.
    Pass seq to psr_source_status, handle source status prints in
    psr_source_status.
v5: Fixed CI warning messages
v6:
    Remove extra space in the title before the colon.(DK)
    Rebase. (Jani)
v7: Use tabs for indenting the values.(Jani)
v8: Addressed dk's review comments.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Vathsala Nagaraju <vathsala.nagaraju@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1530086910-15914-1-git-send-email-vathsala.nagaraju@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_reg.h