Skip to contentSkip to conversation

kms: no need to check for empty edid before drm_detect_hdmi_monitor

PATCH New Ilia Mirkin 1 participant 1 message Nov 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms: no need to check for empty edid before drm_detect_hdmi_monitor

---
 drm/nouveau/nv50_display.c | 1 -
 1 file changed, 1 deletion(-)
drm/nouveau/nv50_display.c +0 -1
index bdaba91..d9cba87 100644
@@ -773,7 +773,6 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update)
 	 */
 	if (nv_connector && ( nv_connector->underscan == UNDERSCAN_ON ||
 			     (nv_connector->underscan == UNDERSCAN_AUTO &&
-			      nv_connector->edid &&
 			      drm_detect_hdmi_monitor(nv_connector->edid)))) {
 		u32 bX = nv_connector->underscan_hborder;
 		u32 bY = nv_connector->underscan_vborder;
Signature · 6 lines
2.4.10

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau