]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove duplicated dpcd write on hsw_psr_enable_sink.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 12 Nov 2015 22:46:05 +0000 (14:46 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Nov 2015 12:27:43 +0000 (13:27 +0100)
commite631a5404198d4bb592cada1e6ee27595e4f0a7b
tree9465727eb9bd1d25f73ab6202efd564ebc677938
parent3e16a6ae4079fe0483558c1afb407b667cff4164
drm/i915: Remove duplicated dpcd write on hsw_psr_enable_sink.

Commit (43134c5c) intended to remove this line and let only one
DP_PSR_EN_CFG set, but it was wrong and this call is now duplicated
at the code.

Also "& ~DP_PSR_MAIN_LINK_ACTIVE" doesn't do anything at all. It
was like that since I introduced this call but probably the idea
was to be informative and make clear statement that we were not using
the link standby. So it is better to remove this one here and let
the code a bit cleaner.

v2: Improve commit message as requested by Paulo.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau damien.lespiau@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_psr.c