]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/edid: fixed the bug that hdr metadata was not reset
authorfeijuan.li <feijuan.li@samsung.com>
Wed, 14 May 2025 06:35:11 +0000 (14:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:14:03 +0000 (11:14 +0200)
commitbf62459e025462c6107f99bbc428199388aef262
tree764dbe511611bb5709a1d5e4f263443cfae83dd7
parent0fa7a8d1977658a3ca01d052c573cbe0e0f76ca9
drm/edid: fixed the bug that hdr metadata was not reset

commit 6692dbc15e5ed40a3aa037aced65d7b8826c58cd upstream.

When DP connected to a device with HDR capability,
the hdr structure was filled.Then connected to another
sink device without hdr capability, but the hdr info
still exist.

Fixes: e85959d6cbe0 ("drm: Parse HDR metadata info from EDID")
Cc: <stable@vger.kernel.org> # v5.3+
Signed-off-by: "feijuan.li" <feijuan.li@samsung.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250514063511.4151780-1-feijuan.li@samsung.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_edid.c