Skip to content

Commit

Permalink
Merge tag 'topic/drm-fixes-2015-07-04' of git://anongit.freedesktop.o…
Browse files Browse the repository at this point in the history
…rg/drm-intel

Pull drm EDID fix from Daniel Vetter:
 "Since Dave is enjoying vacation I figured I'll send you this drm core
  fix directly"

* tag 'topic/drm-fixes-2015-07-04' of git://anongit.freedesktop.org/drm-intel:
  drm/crtc: Fix edid length computation
  • Loading branch information
Linus Torvalds committed Jul 3, 2015
2 parents 5fc8352 + e24ff46 commit 5c65e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4732,7 +4732,7 @@ int drm_mode_connector_update_edid_property(struct drm_connector *connector,
return 0;

if (edid)
size = EDID_LENGTH + (1 + edid->extensions);
size = EDID_LENGTH * (1 + edid->extensions);

ret = drm_property_replace_global_blob(dev,
&connector->edid_blob_ptr,
Expand Down

0 comments on commit 5c65e7b

Please sign in to comment.