]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/edid: Name the detailed monitor range flags
authorManasi Navare <manasi.d.navare@intel.com>
Tue, 10 Mar 2020 23:16:50 +0000 (16:16 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Wed, 11 Mar 2020 20:12:38 +0000 (13:12 -0700)
This patch adds defines for the detailed monitor
range flags as per the EDID specification.

v2:
* Rename the flags with DRM_EDID_ (Jani N)

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Clinton A Taylor <clinton.a.taylor@intel.com>
Cc: Kazlauskas Nicholas <Nicholas.Kazlauskas@amd.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200310231651.13841-1-manasi.d.navare@intel.com
include/drm/drm_edid.h

index f0b03d401c278f00e43e40f67a3ae2356661d2d8..34b15e3d070c62cb496efb5d55359bfb7fde75be 100644 (file)
@@ -91,6 +91,11 @@ struct detailed_data_string {
        u8 str[13];
 } __attribute__((packed));
 
+#define DRM_EDID_DEFAULT_GTF_SUPPORT_FLAG   0x00
+#define DRM_EDID_RANGE_LIMITS_ONLY_FLAG     0x01
+#define DRM_EDID_SECONDARY_GTF_SUPPORT_FLAG 0x02
+#define DRM_EDID_CVT_SUPPORT_FLAG           0x04
+
 struct detailed_data_monitor_range {
        u8 min_vfreq;
        u8 max_vfreq;