Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Define Byte 14 on AVI InfoFrame

[Why]
Part of HDMI 2.1 requires AVI InfoFrame version update
from current V2 to V4 for new colorimetry.

[How]
Define V4 AVI InfoFrame ACE0-ACE3 bit.

Signed-off-by: Chris Park <Chris.Park@amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Chris Park and committed by
Alex Deucher
2f482c4f 2d27ebac

+11 -1
+7
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
··· 2384 2384 hdmi_info.bits.bar_right = (stream->timing.h_total 2385 2385 - stream->timing.h_border_right + 1); 2386 2386 2387 + /* Additional Colorimetry Extension 2388 + * Used in conduction with C0-C1 and EC0-EC2 2389 + * 0 = DCI-P3 RGB (D65) 2390 + * 1 = DCI-P3 RGB (theater) 2391 + */ 2392 + hdmi_info.bits.ACE0_ACE3 = 0; 2393 + 2387 2394 /* check_sum - Calculate AFMT_AVI_INFO0 ~ AFMT_AVI_INFO3 */ 2388 2395 check_sum = &hdmi_info.packet_raw_data.sb[0]; 2389 2396
+4 -1
drivers/gpu/drm/amd/display/include/set_mode_types.h
··· 84 84 uint16_t bar_left; 85 85 uint16_t bar_right; 86 86 87 - uint8_t reserved[14]; 87 + uint8_t F140_F143:4; 88 + uint8_t ACE0_ACE3:4; 89 + 90 + uint8_t reserved[13]; 88 91 } bits; 89 92 90 93 struct info_packet_raw_data packet_raw_data;