mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-16 11:17:14 -04:00
Merge tag 'drm-misc-fixes-2024-09-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
Short summary of fixes pull: atomic: - Use correct type when reading damage rectangles display: - Fix kernel docs dp-mst: - Fix DSC decompression detection hdmi: - Fix infoframe size panthor: - Fix locking sched: - Update maintainers - Fix race condition whne queueing up jobs sysfb: - Disable sysfb if framebuffer parent device is unknown vbox: - Fix VLA handling Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240926121045.GA561653@localhost.localdomain
This commit is contained in:
@@ -59,6 +59,15 @@ enum hdmi_infoframe_type {
|
||||
#define HDMI_DRM_INFOFRAME_SIZE 26
|
||||
#define HDMI_VENDOR_INFOFRAME_SIZE 4
|
||||
|
||||
/*
|
||||
* HDMI 1.3a table 5-14 states that the largest InfoFrame_length is 27,
|
||||
* not including the packet header or checksum byte. We include the
|
||||
* checksum byte in HDMI_INFOFRAME_HEADER_SIZE, so this should allow
|
||||
* HDMI_INFOFRAME_SIZE(MAX) to be the largest buffer we could ever need
|
||||
* for any HDMI infoframe.
|
||||
*/
|
||||
#define HDMI_MAX_INFOFRAME_SIZE 27
|
||||
|
||||
#define HDMI_INFOFRAME_SIZE(type) \
|
||||
(HDMI_INFOFRAME_HEADER_SIZE + HDMI_ ## type ## _INFOFRAME_SIZE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user