]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/display: hdmi_state_helper: don't generate unsupported InfoFrames
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 7 Jan 2026 18:15:05 +0000 (20:15 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 19 Jan 2026 11:11:47 +0000 (13:11 +0200)
commit4fc30c2c5c61db88e3d6644bd3dd2032ec4bee06
tree25db45936d059cf86ec1974737afe8b82075ca5b
parent1d8847f457648ed4932019dcd3081bc27bcea936
drm/display: hdmi_state_helper: don't generate unsupported InfoFrames

There is little point in generating InfoFrames which are not supported
by the driver. Skip generating the unsupported InfoFrames, making sure
that the kernel never tries to write the unsupported frame. As there are
no remaining usecases, change write_infoframe / clear_infoframe helpers
return an error if the corresponding callback is NULL.

Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20260107-limit-infoframes-2-v4-8-213d0d3bd490@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/display/drm_hdmi_state_helper.c