summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-11-03 21:14:26 -0500
committerBen Skeggs <bskeggs@redhat.com>2016-01-11 11:17:40 +1000
commit700c18ca08bf79360c117e39490c74c681189b65 (patch)
treee451230e26e1f55365c81a2688a018eda41fcf9a
parent1299b6377b099bc4348d955930ebe1f0ee5ccc46 (diff)
downloadtalos-op-linux-700c18ca08bf79360c117e39490c74c681189b65.tar.gz
talos-op-linux-700c18ca08bf79360c117e39490c74c681189b65.zip
drm/nouveau/kms: no need to check for empty edid before drm_detect_hdmi_monitor
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index ee97eae3c973..74247e1cb58d 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -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;
OpenPOWER on IntegriCloud