mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 06:22:40 -04:00
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>
This commit is contained in:
@@ -2384,6 +2384,13 @@ static void set_avi_info_frame(
|
||||
hdmi_info.bits.bar_right = (stream->timing.h_total
|
||||
- stream->timing.h_border_right + 1);
|
||||
|
||||
/* Additional Colorimetry Extension
|
||||
* Used in conduction with C0-C1 and EC0-EC2
|
||||
* 0 = DCI-P3 RGB (D65)
|
||||
* 1 = DCI-P3 RGB (theater)
|
||||
*/
|
||||
hdmi_info.bits.ACE0_ACE3 = 0;
|
||||
|
||||
/* check_sum - Calculate AFMT_AVI_INFO0 ~ AFMT_AVI_INFO3 */
|
||||
check_sum = &hdmi_info.packet_raw_data.sb[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user