diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-01-25 10:32:51 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-02-02 10:38:28 +0100 |
commit | 70c0b80d0bbb97c072c4a9c3e8b0f68a9e22d7d2 (patch) | |
tree | 6f11c36d34c87f61677b3608fe5460ee1dad0fbe /drivers/gpu/drm/drm_edid.c | |
parent | cd9f7f7ac5932129fe81b4c7559cfcb226ec7c5c (diff) | |
download | linux-70c0b80d0bbb97c072c4a9c3e8b0f68a9e22d7d2.tar.bz2 |
drm/edid: Clear EDID Deep Color Modes in drm_reset_display_info()
Even though we have the other drm_display_info fields reset, the DC
modes are missing.
This shouldn't be an issue since it's explicitly reset every time a new
EDID is parsed.
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220125093251.594772-1-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
-rw-r--r-- | drivers/gpu/drm/drm_edid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index a504542238ed..a7663f9a11d2 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -5340,6 +5340,9 @@ drm_reset_display_info(struct drm_connector *connector) info->rgb_quant_range_selectable = false; memset(&info->hdmi, 0, sizeof(info->hdmi)); + info->edid_hdmi_rgb444_dc_modes = 0; + info->edid_hdmi_ycbcr444_dc_modes = 0; + info->non_desktop = 0; memset(&info->monitor_range, 0, sizeof(info->monitor_range)); |