drm/amd/display: adjust floating point format for gamut remap when needed[Why]The MPCCs different gamut remap matrices allow for S2D13 and S3D12 floatingpoint formats, but only S2D13 is used. The
drm/amd/display: adjust floating point format for gamut remap when needed[Why]The MPCCs different gamut remap matrices allow for S2D13 and S3D12 floatingpoint formats, but only S2D13 is used. There may be cases where moreinteger bits are required.[How]Switch to S3D12 if any entries in the remap matrix cannot fit in S2D13.Otherwise, prefer the extra precision of S2D13. Communicate the max valuethat hw can support to dm via dc color caps.Reviewed-by: Dillon Varone <dillon.varone@amd.com>Signed-off-by: Clay King <clayking@amd.com>Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>Tested-by: Dan Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Fixed Silence complier warnings in dc[Why]Resolve compiler warnings by marking unused parameters explicitly.[How]In .c and .h function definitions, keep parameter namesin sign
drm/amd/display: Fixed Silence complier warnings in dc[Why]Resolve compiler warnings by marking unused parameters explicitly.[How]In .c and .h function definitions, keep parameter namesin signatures and add a line with `(void)param;` in function bodyPreserved function signatures and avoids breaking code paths thatmay reference the parameter under conditional compilation.Reviewed-by: Dillon Varone <dillon.varone@amd.com>Reviewed-by: Austin Zheng <austin.zheng@amd.com>Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com>Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Move SPL to a new path[WHY & HOW]- Move SPL from dc/spl to dc/sspl- Update build files and header paths- Remove dc/spl filesReviewed-by: George Zhang <george.zhang@amd.com>Si
drm/amd/display: Move SPL to a new path[WHY & HOW]- Move SPL from dc/spl to dc/sspl- Update build files and header paths- Remove dc/spl filesReviewed-by: George Zhang <george.zhang@amd.com>Signed-off-by: Samson Tam <Samson.Tam@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35[WHY & HOW]Cursor corruption observed on USBC display with specific system setup with areboot. Cursor memory might still in the lightsl
drm/amd/display: w/a to program DISPCLK_R_GATE_DISABLE DCN35[WHY & HOW]Cursor corruption observed on USBC display with specific system setup with areboot. Cursor memory might still in the lightsleep state due to voltageissue, we need program DISPCLK_R_GATE_DISABLE to avoid this issue only onDCN35.Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>Signed-off-by: Yihan Zhu <Yihan.Zhu@amd.com>Signed-off-by: Wayne Lin <wayne.lin@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Remove unnecessary files[Why & How]We accidentally upstream unnecessary files. Remove them.Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>Signed-off-by: Wayne Lin <Wayne.Lin@a
drm/amd/display: Remove unnecessary files[Why & How]We accidentally upstream unnecessary files. Remove them.Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Add misc DC changes for DCN401Add miscellaneous changes to enable DCN401 initSigned-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>Acked-by: Rodrigo Siqueira <rodrigo.siquei
drm/amd/display: Add misc DC changes for DCN401Add miscellaneous changes to enable DCN401 initSigned-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Fix uninitialized variables in DCThis fixes 49 UNINIT issues reported by Coverity.Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-
drm/amd/display: Fix uninitialized variables in DCThis fixes 49 UNINIT issues reported by Coverity.Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Remove plane and stream pointers from dc scratch[Why&How]Remove several plane and stream pointers from dc for coderefactoring.Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>Ack
drm/amd/display: Remove plane and stream pointers from dc scratch[Why&How]Remove several plane and stream pointers from dc for coderefactoring.Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>Acked-by: Tom Chung <chiahsuan.chung@amd.com>Signed-off-by: Alvin Lee <alvin.lee2@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactor DPP into a component directory[WHY & HOW]Move all dpp files to a new dpp directory.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Alex Hung <alex.hung@amd.c
drm/amd/display: Refactor DPP into a component directory[WHY & HOW]Move all dpp files to a new dpp directory.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Alex Hung <alex.hung@amd.com>Signed-off-by: Revalla Hari Krishna <harikrishna.revalla@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>