drm/i915: Don't look at staged config crtc when changing DRRS state
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 20 Mar 2015 14:18:18 +0000 (16:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 09:32:41 +0000 (10:32 +0100)
commit723f9aab5537eabd88f96fa49a73a5e8df2ebf7b
treed8545f31c7051ea5922ca3e5840050ebb10a7350
parenta93e255f819cae49dff7319b6686f718b8069fec
drm/i915: Don't look at staged config crtc when changing DRRS state

The function intel_dp_set_drrs_state() would decide which pipe to
downclock based on the staged config for the given connector. However,
the result of that function is immediate, and it uses input values from
crtc->config, so it should be looking at the current crtc instead.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c