diff options
author | Ville Syrjälä <[email protected]> | 2016-09-28 16:51:40 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-10-04 08:23:12 +0200 |
commit | 011acce2859ad50b7a923cad4a726220b5f24455 (patch) | |
tree | 6e039abf0ccfa50f0d7c9861f6b2debc6a6a1f67 | |
parent | 1cea146a806ae1f34cb1b5e3206ff63a2bb90782 (diff) |
drm/edid: Clear the old cea_rev when there's no CEA extension in the new EDID
It's not a good idea to leave stale cea_rev in the drm_display_info. The
current EDID might not even have a CEA ext block in which case we'd end
up leaving the stale value in place.
Signed-off-by: Ville Syrjälä <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index ef8ae691f7aa..48e529df344e 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -3844,6 +3844,7 @@ static void drm_add_display_info(struct drm_connector *connector, /* driver figures it out in this case */ info->bpc = 0; info->color_formats = 0; + info->cea_rev = 0; if (edid->revision < 3) return; |