linux/drivers/gpu/drm/amd/display/dc/inc/hw
Rodrigo Siqueira 7ce24a3606 drm/amd/display: Add YCBCR2020 coefficients to CSC matrix
When some of the IGT tests are executed in DCN31, it is possible to see
multiple occurrences of this warning:

 WARNING: CPU: 9 PID: 3482 at
 drivers/gpu/drm/amd/amdgpu/../dal-dev/dc/dcn30/dcn30_dpp.c:154
 dpp3_program_post_csc+0x196/0x220 [amdgpu]
 [..]
 PU: 9 PID: 3482 Comm: amd_hdr Tainted: G       W        5.18.0+ #3
 IP: 0010:dpp3_program_post_csc+0x196/0x220 [amdgpu]
 [..]
 all Trace:
 <TASK>
 dpp3_cnv_setup+0x5d9/0x5f0 [amdgpu]
 ? dcn20_blank_pixel_data+0x30a/0x330 [amdgpu]
 dcn20_program_pipe+0x259/0xb40 [amdgpu]
 ? offset_to_id+0x1b0/0x1c0 [amdgpu]
 dcn20_program_front_end_for_ctx+0x36a/0x450 [amdgpu]
 commit_planes_for_stream+0x8eb/0x13e0 [amdgpu]

This commit fix the above issue by adding YCBCR2020 coefficients to the
DPP Color Space Converter (CSC) matrix.

Reviewed-by: Nawwar Ali <nawwar.ali@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-11-23 09:47:14 -05:00
..
abm.h
audio.h
aux_engine.h
clk_mgr.h drm/amd/display: Acquire FCLK DPM levels on DCN32 2022-10-10 17:32:55 -04:00
clk_mgr_internal.h drm/amd/display: fill in clock values when DPM is not enabled 2022-09-29 09:41:45 -04:00
cursor_reg_cache.h drm/amd/display: add a license to cursor_reg_cache.h 2022-10-11 11:33:16 -04:00
dccg.h drm/amd/display: Fix dpstreamclk programming 2022-07-25 17:17:10 -04:00
dchubbub.h drm/amd/display: enable dchub request limit for DCN 3.2.x 2022-11-15 13:34:42 -05:00
dmcu.h drm/amd/display: Drop struct crc_region and reuse struct rect 2022-10-27 14:42:40 -04:00
dpp.h drm/amd/display: Add YCBCR2020 coefficients to CSC matrix 2022-11-23 09:47:14 -05:00
dsc.h drm/amd/display: Add new DSC interface to disconnect from pipe 2022-05-04 10:43:55 -04:00
dwb.h drm/amd/display: Drop unused privacy_mask setters and getters 2022-06-14 21:38:40 -04:00
gpio.h
hubp.h drm/amd/display: Use the same cursor info across features 2022-10-10 17:32:55 -04:00
hw_shared.h drm/amd/display: Expand kernel doc for DC 2022-10-27 14:45:29 -04:00
ipp.h
link_encoder.h drm/amd/display: Add PSR-SU-RC support in DC 2022-06-07 16:09:57 -04:00
mcif_wb.h
mem_input.h drm/amd/display: Add dependant changes for DCN32/321 2022-06-03 16:43:38 -04:00
mpc.h drm/amd/display: add doc entries for MPC blending configuration 2022-08-16 18:14:32 -04:00
opp.h
panel_cntl.h
stream_encoder.h drm/amd/display: Add basic ODM description 2022-10-27 14:45:45 -04:00
timing_generator.h drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set 2022-11-17 00:17:43 -05:00
transform.h
vmid.h