drm/i915: Look at staged config when fixing pipe_src_w for LVDS
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Thu, 26 Feb 2015 07:44:45 +0000 (09:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Feb 2015 13:26:43 +0000 (14:26 +0100)
commitb4f2bf4c02b27f31e68cbd00fa7ef868061ac2eb
tree301a895b8c30fd69a86c54896aff5b531a71336d
parent07878248a8dd50355482995f86e756952b979def
drm/i915: Look at staged config when fixing pipe_src_w for LVDS

The code in function intel_crtc_compute_config() that evens pipe_src_w
if necessary would look at the current config instead of the staged one
when deciding if there is an LVDS encoder in use. This could potentially
lead to the value not being updated, if during the modeset a crtc wasn't
driving an LVDS encoder.

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_display.c