summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHamza Mahfooz <someguy@effective-light.com>2026-02-25 20:57:08 +0300
committerHamza Mahfooz <hamzamahfooz@linux.microsoft.com>2026-04-26 14:48:44 +0300
commite3953ff665742c15c002af9e176bd24d5cd9ec61 (patch)
treed7ab304d43d1897c4f1173809e6dadb32a92ae50 /include
parent03af6c3afc4893988ceed54531f5dde4bebd6024 (diff)
downloadlinux-e3953ff665742c15c002af9e176bd24d5cd9ec61.tar.xz
drm/edid: add CTA Video Format Data Block support
Video Format Data Blocks (VFDBs) contain the necessary information that needs to be fed to the Optimized Video Timings (OVT) Algorithm. Also, we require OVT support to cover modes that aren't supported by earlier standards (e.g. CVT). So, parse all of the relevant VFDB data and feed it to the OVT Algorithm, to extract all of the missing OVT modes. Suggested-by: Karol Herbst <kherbst@redhat.com> Signed-off-by: Hamza Mahfooz <someguy@effective-light.com> Link: https://patch.msgid.link/20260225175709.408010-1-someguy@effective-light.com
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_edid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 04f7a7f1f108..272506331634 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -463,6 +463,9 @@ struct drm_display_mode *
drm_display_mode_from_cea_vic(struct drm_device *dev,
u8 video_code);
+struct drm_display_mode *drm_ovt_mode(struct drm_device *dev, int rid,
+ int vrefresh);
+
/* Interface based on struct drm_edid */
const struct drm_edid *drm_edid_alloc(const void *edid, size_t size);
const struct drm_edid *drm_edid_dup(const struct drm_edid *drm_edid);