OSDN Git Service

drm/i915/psr: Move intel_psr_disable_source() code to intel_psr_disable_locked()
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 6 Nov 2018 19:08:43 +0000 (11:08 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 9 Nov 2018 18:49:39 +0000 (10:49 -0800)
commit2ee936e3a2f020b04d53c7ac5c3cd64933dfc975
tree72c03bdcb768c9e6fe56ad685eee65a1384b4f26
parent62819dfd859e9d9960bd2ac86e0a9e356b66d03e
drm/i915/psr: Move intel_psr_disable_source() code to intel_psr_disable_locked()

In the past we had hooks to configure HW for VLV/CHV too, in the drop
of VLV/CHV support the intel_psr_disable_source() code was not moved
to the caller, so doing it here.

Suggested-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181106190843.18009-4-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c