summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/i915io.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2013-07-30 12:41:08 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-12-21 13:26:51 +0100
commitd0a81f75342508449d13fd05305864413470e0c9 (patch)
treed201c482719be707b1dbe545ac808adddcc8b340 /src/mainboard/google/slippy/i915io.c
parent10bd772db854c62528c67b9d0e5e329c525d83f9 (diff)
Calculate transcoder flags based on pipe config
Works fine with all three panels with the change of 6 bits per color. Change-Id: Ia47d152e62d1879150d8cf9a6657b62007ef5c0e Reviewed-on: https://gerrit.chromium.org/gerrit/63762 Reviewed-by: Ronald G. Minnich <rminnich@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/4402 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/mainboard/google/slippy/i915io.c')
-rw-r--r--src/mainboard/google/slippy/i915io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/slippy/i915io.c b/src/mainboard/google/slippy/i915io.c
index c1e05472c9..e3f7f301cf 100644
--- a/src/mainboard/google/slippy/i915io.c
+++ b/src/mainboard/google/slippy/i915io.c
@@ -151,7 +151,7 @@ printk(BIOS_SPEW, "DP_MAX_DOWNSPREAD");
io_i915_write32(0x00230000,TRANS_DDI_FUNC_CTL_EDP);
io_i915_write32(0x00000010,0x7f008);
- io_i915_write32(0x82234000,TRANS_DDI_FUNC_CTL_EDP);
+ io_i915_write32(dp->flags,TRANS_DDI_FUNC_CTL_EDP);
io_i915_write32(0x80000010,0x7f008);
intel_dp_wait_panel_power_control(0xabcd000a);