Skip to content

Commit

Permalink
drm/nouveau/kms: no need to check for empty edid before drm_detect_hd…
Browse files Browse the repository at this point in the history
…mi_monitor

Signed-off-by: Ilia Mirkin <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
  • Loading branch information
imirkin authored and Ben Skeggs committed Jan 11, 2016
1 parent 1299b63 commit 700c18c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/nouveau/nv50_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 700c18c

Please sign in to comment.