Skip to content

Commit e9bd0b8

Browse files
committed
drm: do not debug log about missing CEA extensions on NULL edid
Make the drm_edid_to_eld() function useful for resetting, not just setting, the ELD and HDMI VSDB data, without debug warnings about missing CEA extensions. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1487344854-18777-3-git-send-email-jani.nikula@intel.com
1 parent 07c2b84 commit e9bd0b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/gpu/drm/drm_edid.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3437,6 +3437,9 @@ void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid)
34373437
connector->video_latency[1] = 0;
34383438
connector->audio_latency[1] = 0;
34393439

3440+
if (!edid)
3441+
return;
3442+
34403443
cea = drm_find_cea_extension(edid);
34413444
if (!cea) {
34423445
DRM_DEBUG_KMS("ELD: no CEA Extension found\n");

0 commit comments

Comments
 (0)