drm/i915/display: Use initial_fastset_check() to compute and apply the initial PSR...
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 2 Nov 2020 22:10:48 +0000 (14:10 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Thu, 5 Nov 2020 13:38:51 +0000 (05:38 -0800)
commit66186acbd94c4fdd43012a1f075ca381ada56150
tree9f6716e99f7402da0b547489fc01afb6ffd5da62
parent5f8f965287494d55e8ba3551e3727a5e9d0eb702
drm/i915/display: Use initial_fastset_check() to compute and apply the initial PSR state

Replace the previous approach to force compute the initial PSR state
after i915 take over from firmware by the better and recently added
initial_fastset_check() hook.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201102221048.104294-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_atomic.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h
drivers/gpu/drm/i915/i915_drv.h