From: Ander Conselvan de Oliveira Date: Fri, 30 Jan 2015 10:17:23 +0000 (+0200) Subject: drm/i915: Use pipe_config's cpu_transcoder for reading encoder hw state X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~8^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cb09a97d85753a372390bfc04172d980d235f2c;p=pandora-kernel.git drm/i915: Use pipe_config's cpu_transcoder for reading encoder hw state The get_config() functions for ddi and dp_mst, used to read the value of cpu_transcoder from the crtc->config instead of the state passed as an argument. On the hardware state readout path, that happens to work since the proper value is written to it before encoder->get_config() is called. However, in the check_crtc() path, the state will be read from the cpu_transcoder in the software tracking, instead of the one just read out from hw. Using the field in the supplied intel_crtc_state should do the right thing in both cases. v2: Fix intel_ddi_get_config() too. (Ander) Signed-off-by: Ander Conselvan de Oliveira Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed