drm/i915: Also disable PSR on Sink when disabling it on Source.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 23 Nov 2015 22:19:32 +0000 (14:19 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Nov 2015 12:33:50 +0000 (13:33 +0100)
commitb6e4d53490504ee43a765e71a8fd8337af137623
tree643aec34611a5256a80910d1c7bd3cbe621eeeb8
parent05eec3c2709d8966cbfcc7cd395f37889c492678
drm/i915: Also disable PSR on Sink when disabling it on Source.

It is not a bad idea to disable the PSR feature on Sink
when we are disabling on the Source.

v2: Move dpcd write inside mutex protected area as suggested by Sonika.

Cc: Sonika Jindal <sonika.jindal@intel.com>
Suggested-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_psr.c