[Intel-gfx] [PATCH] drm/i915: Update HDMI max TMDS data rate definition for VBT

Chiou, Cooper cooper.chiou at intel.com
Tue Apr 9 10:07:08 UTC 2019


VBT version 212 defined HDMI max. bit-rate 2.97Gbps is 0x02 and 1.65Gbps 
is 0x04, so changed HDMI_MAX_DATA_RATE_297/HDMI_MAX_DATA_RATE_165 to map 
correct values

Per VBT BSpec definition in HDMI max. data rate, Bits7-5 is HDMI max. data
rate 000=Default, 001=2.97Gbps, 010=1.65Gbps, so HDMI_MAX_DATA_RATE_297 
should be 2 and HDMI_MAX_DATA_RATE_165 should be 4

TEST: Validated PASS on GLK RVP platform

Cc: Jani Nikula <jani.nikula at intel.com>
Signed-off-by: Chiou, Cooper <cooper.chiou at intel.com>
---
 drivers/gpu/drm/i915/intel_vbt_defs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_vbt_defs.h b/drivers/gpu/drm/i915/intel_vbt_defs.h
index bf3662ad5fed..e2b8d042912b 100644
--- a/drivers/gpu/drm/i915/intel_vbt_defs.h
+++ b/drivers/gpu/drm/i915/intel_vbt_defs.h
@@ -307,8 +307,8 @@ struct bdb_general_features {
 #define DVO_PORT_MIPID		24				/* 171 */
 
 #define HDMI_MAX_DATA_RATE_PLATFORM	0			/* 204 */
-#define HDMI_MAX_DATA_RATE_297		1			/* 204 */
-#define HDMI_MAX_DATA_RATE_165		2			/* 204 */
+#define HDMI_MAX_DATA_RATE_297		2			/* 212 */
+#define HDMI_MAX_DATA_RATE_165		4			/* 212 */
 
 #define LEGACY_CHILD_DEVICE_CONFIG_SIZE		33
 
-- 
2.7.4



More information about the Intel-gfx mailing list