Commit 8571c765 authored by Jani Nikula's avatar Jani Nikula

drm/displayid: re-align data block macros

Make the values easier to read. Also add DisplayID Structure version and
revision information (this is different from the spec version).
Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
Acked-by: default avatarMaxime Ripard <maxime@cerno.tech>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b73d3ff2d5e4b23834ed0005186c5cf3a9de5c9e.1630419362.git.jani.nikula@intel.com
parent 4e79e12f
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
struct edid; struct edid;
/* DisplayID Structure v1r2 Data Blocks */
#define DATA_BLOCK_PRODUCT_ID 0x00 #define DATA_BLOCK_PRODUCT_ID 0x00
#define DATA_BLOCK_DISPLAY_PARAMETERS 0x01 #define DATA_BLOCK_DISPLAY_PARAMETERS 0x01
#define DATA_BLOCK_COLOR_CHARACTERISTICS 0x02 #define DATA_BLOCK_COLOR_CHARACTERISTICS 0x02
...@@ -44,10 +45,10 @@ struct edid; ...@@ -44,10 +45,10 @@ struct edid;
#define DATA_BLOCK_DISPLAY_INTERFACE 0x0f #define DATA_BLOCK_DISPLAY_INTERFACE 0x0f
#define DATA_BLOCK_STEREO_DISPLAY_INTERFACE 0x10 #define DATA_BLOCK_STEREO_DISPLAY_INTERFACE 0x10
#define DATA_BLOCK_TILED_DISPLAY 0x12 #define DATA_BLOCK_TILED_DISPLAY 0x12
#define DATA_BLOCK_CTA 0x81
#define DATA_BLOCK_VENDOR_SPECIFIC 0x7f #define DATA_BLOCK_VENDOR_SPECIFIC 0x7f
#define DATA_BLOCK_CTA 0x81
/* DisplayID Structure v1r2 Product Type */
#define PRODUCT_TYPE_EXTENSION 0 #define PRODUCT_TYPE_EXTENSION 0
#define PRODUCT_TYPE_TEST 1 #define PRODUCT_TYPE_TEST 1
#define PRODUCT_TYPE_PANEL 2 #define PRODUCT_TYPE_PANEL 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment