aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-26 08:49:17 +1000
committerDave Airlie <airlied@redhat.com>2009-12-08 10:22:45 +1000
commit54d9cb47dd6a754e434e5adeccb3a1e2835594fd (patch)
treeabe2758cfc7880129027340f882961de2731f303
parentffd09c648a76a1cf96872c033e98d4730f9b10a4 (diff)
drm/radeon/kms/dp: fix return in dpcd retrival.
Not returning here caused us to get a display port version of 0 for everything this caused power up to not get sent which ends up in a black screen. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/atombios_dp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c b/drivers/gpu/drm/radeon/atombios_dp.c
index ebaf3f8cd60..65c82395c8e 100644
--- a/drivers/gpu/drm/radeon/atombios_dp.c
+++ b/drivers/gpu/drm/radeon/atombios_dp.c
@@ -459,6 +459,7 @@ void radeon_dp_getdpcd(struct radeon_connector *radeon_connector)
printk("%02x ", msg[i]);
printk("\n");
}
+ return;
}
dig_connector->dpcd[0] = 0;
return;