drm/nouveau/kms: no need to check for empty edid before drm_detect_hdmi_monitor
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 4 Nov 2015 02:14:26 +0000 (21:14 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:17:40 +0000 (11:17 +1000)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index ee97eae3c973a7025e55fa7b6b78ab96ad8078e1..74247e1cb58ddb609b16ba3b654d40aab614af10 100644 (file)
@@ -774,7 +774,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;