projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf3b54
)
drm/radeon: don't do mst probing if MST isn't enabled.
author
Dave Airlie
<airlied@redhat.com>
Tue, 12 May 2015 23:51:01 +0000
(09:51 +1000)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 14 May 2015 15:46:47 +0000
(11:46 -0400)
This causes an oops as we haven't initialised the mst
layer.
Reported-by: Dave Jones <<davej@codemonkey.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_dp_mst.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_dp_mst.c
b/drivers/gpu/drm/radeon/radeon_dp_mst.c
index 1017338a49d9f49aaad6dc594d6ec1bef8a5f111..2b98ed3e684d706a07e3c43b6da9f2232143e580 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_dp_mst.c
+++ b/
drivers/gpu/drm/radeon/radeon_dp_mst.c
@@
-666,6
+666,9
@@
radeon_dp_mst_probe(struct radeon_connector *radeon_connector)
int ret;
u8 msg[1];
+ if (!radeon_mst)
+ return 0;
+
if (dig_connector->dpcd[DP_DPCD_REV] < 0x12)
return 0;