drm/i915/psr: Avoid unnecessary DPCD read of DP_PSR_CAPS
authorDhinakaran Pandiyan <[email protected]>
Fri, 11 May 2018 19:51:43 +0000 (12:51 -0700)
committerJani Nikula <[email protected]>
Thu, 24 May 2018 13:31:54 +0000 (16:31 +0300)
commit1e8b251ebcbbfc6bfa826bca4d91a8e1bcad2e5f
tree91a45233793db16606be0e6204c7f13a6f203bba
parent84bb2916a6835636fe28e8db192c3293f2d4df21
drm/i915/psr: Avoid unnecessary DPCD read of DP_PSR_CAPS

intel_dp->psr_dpcd already has the required values.

Cc: Jose Roberto de Souza <[email protected]>
Reviewed-by: Tarun Vyas <[email protected]>
Reviewed-by: Vathsala Nagaraju <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_psr.c