aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_dp.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-03-10 10:28:48 -0500
committerBen Skeggs <bskeggs@redhat.com>2012-03-13 03:15:04 -0400
commit6e83fda2c055f17780b2feef404f06803a49a261 (patch)
treed736720740ef69addd8911060629d987d1822705 /drivers/gpu/drm/nouveau/nouveau_dp.c
parentf14d9a4dda65439d74326694db727c6d2a5df0ce (diff)
drm/nvd0/disp: initial implementation of displayport
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_dp.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_dp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c
index 7be4e06e8438..b3644651d89b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dp.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dp.c
@@ -364,10 +364,8 @@ dp_set_downspread(struct drm_device *dev, struct dp_state *dp, bool enable)
364 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry); 364 u8 *entry, *table = nouveau_dp_bios_data(dev, dp->dcb, &entry);
365 if (table) { 365 if (table) {
366 if (table[0] >= 0x20 && table[0] <= 0x30) { 366 if (table[0] >= 0x20 && table[0] <= 0x30) {
367 if (enable) 367 if (enable) script = ROM16(entry[12]);
368 script = ROM16(entry[12]); 368 else script = ROM16(entry[14]);
369 else
370 script = ROM16(entry[14]);
371 } 369 }
372 } 370 }
373 371