From d584cbfdded092c2d5cd24d914c78cad28b509ab Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Wed, 5 Nov 2014 19:39:04 -0800 Subject: [PATCH] dptx: Added some DisplayID register defines. Signed-off-by: Andrei-Liviu Simion --- XilinxProcessorIPLib/drivers/dptx/src/xdptx_hw.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/XilinxProcessorIPLib/drivers/dptx/src/xdptx_hw.h b/XilinxProcessorIPLib/drivers/dptx/src/xdptx_hw.h index c9f24a24..8ccad6d4 100644 --- a/XilinxProcessorIPLib/drivers/dptx/src/xdptx_hw.h +++ b/XilinxProcessorIPLib/drivers/dptx/src/xdptx_hw.h @@ -1164,6 +1164,14 @@ * @{ */ #define XDPTX_EDID_EXT_BLOCK_TAG 0x00 +#define XDPTX_DISPID_VER_REV 0x00 +#define XDPTX_DISPID_SIZE 0x01 +#define XDPTX_DISPID_TYPE 0x02 +#define XDPTX_DISPID_EXT_COUNT 0x03 +#define XDPTX_DISPID_PAYLOAD_START 0x04 +#define XDPTX_DISPID_DB_SEC_TAG 0x00 +#define XDPTX_DISPID_DB_SEC_REV 0x01 +#define XDPTX_DISPID_DB_SEC_SIZE 0x02 /* @} */ /** @name Extended Display Identification Data: Masks, shifts, and register @@ -1249,4 +1257,7 @@ #define XDptx_IsEdidExtBlockDispId(B) \ (B[XDPTX_EDID_EXT_BLOCK_TAG] == XDPTX_EDID_EXT_BLOCK_TAG_DISPID) +#define XDptx_GetDispIdSize(D) (D[XDPTX_DISPID_SIZE]) +#define XDptx_GetDispIdDbSecTag(B) (B[XDPTX_DISPID_DB_SEC_TAG]) + #endif /* XDPTX_HW_H_ */