OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5087f51
)
drm/nv50-/kms: assume analog display connected if load on any pin
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 4 Sep 2013 01:01:42 +0000
(11:01 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 4 Sep 2013 03:47:07 +0000
(13:47 +1000)
Fixes a VGA monitor with a dodgy red (in this case) pin not being
detected.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_display.c
b/drivers/gpu/drm/nouveau/nv50_display.c
index
9d2092a
..
f8e66c0
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_display.c
+++ b/
drivers/gpu/drm/nouveau/nv50_display.c
@@
-1583,7
+1583,7
@@
nv50_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
load = 340;
ret = nv_exec(disp->core, NV50_DISP_DAC_LOAD + or, &load, sizeof(load));
- if (ret ||
load != 7
)
+ if (ret ||
!load
)
return connector_status_disconnected;
return connector_status_connected;