Skip to content

Commit 4b31ebc

Browse files
author
Ben Skeggs
committed
drm/nv50-/kms: assume analog display connected if load on any pin
Fixes a VGA monitor with a dodgy red (in this case) pin not being detected. Signed-off-by: Ben Skeggs <[email protected]>
1 parent 5087f51 commit 4b31ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nv50_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ nv50_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
15831583
load = 340;
15841584

15851585
ret = nv_exec(disp->core, NV50_DISP_DAC_LOAD + or, &load, sizeof(load));
1586-
if (ret || load != 7)
1586+
if (ret || !load)
15871587
return connector_status_disconnected;
15881588

15891589
return connector_status_connected;

0 commit comments

Comments
 (0)