drm/amd/display: Delete unused functions[WHAT]Removing unused codeReviewed-by: Joshua Aberback <joshua.aberback@amd.com>Signed-off-by: Clay King <clayking@amd.com>Signed-off-by: Alex Hung <ale
drm/amd/display: Delete unused functions[WHAT]Removing unused codeReviewed-by: Joshua Aberback <joshua.aberback@amd.com>Signed-off-by: Clay King <clayking@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Tested-by: Dan Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Initialize mode_select to 0[WHAT]mode_select was supposed to be initialized in mpc_read_gamut_remap butis not set in default case. This can cause indeterminatebehaviors.This i
drm/amd/display: Initialize mode_select to 0[WHAT]mode_select was supposed to be initialized in mpc_read_gamut_remap butis not set in default case. This can cause indeterminatebehaviors.This is reported as an UNINIT error by Coverity.Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: prepare for new platformExpose some functions for new platform useReviewed-by: Nevenko Stupar <nevenko.stupar@amd.com>Signed-off-by: Karthi Kandasamy <karthi.kandasamy@amd.com>
drm/amd/display: prepare for new platformExpose some functions for new platform useReviewed-by: Nevenko Stupar <nevenko.stupar@amd.com>Signed-off-by: Karthi Kandasamy <karthi.kandasamy@amd.com>Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: DML2.1 changes* Add a missing compilation unit* Missing CFLAGS for certain unitsReviewed-by: Roman Li <roman.li@amd.com>Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.co
drm/amd/display: DML2.1 changes* Add a missing compilation unit* Missing CFLAGS for certain unitsReviewed-by: Roman Li <roman.li@amd.com>Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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: Add HW change required mpc gamut remap[WHAT]Add HW change to required mpc gamut remapReviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>Signed-off-by: Charlene Liu <ch
drm/amd/display: Add HW change required mpc gamut remap[WHAT]Add HW change to required mpc gamut remapReviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>Signed-off-by: Charlene Liu <charlene.liu@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: move RMCM programming[WHY & HOW]Move only RMCM programming outside of dcn401. Extended HWdefinition in dc for memory layout to extend support.Reviewed-by: Jun Lei <jun.lei@amd.
drm/amd/display: move RMCM programming[WHY & HOW]Move only RMCM programming outside of dcn401. Extended HWdefinition in dc for memory layout to extend support.Reviewed-by: Jun Lei <jun.lei@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: DCN32 null data check[WHY & HOW]Avoid null curve data structure used in the cm block for the potential issue.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by: Yiha
drm/amd/display: DCN32 null data check[WHY & HOW]Avoid null curve data structure used in the cm block for the potential issue.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by: Yihan Zhu <Yihan.Zhu@amd.com>Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>Tested-by: Mark Broadworth <mark.broadworth@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: removed unused functionRemoved unused function mpc401_get_3dlut_fast_load_status.Signed-off-by: James Flowers <bold.zone2373@fastmail.com>Signed-off-by: Alex Deucher <alexander.
drm/amd/display: removed unused functionRemoved unused function mpc401_get_3dlut_fast_load_status.Signed-off-by: James Flowers <bold.zone2373@fastmail.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactor DCN4x and related code[why & how]Refactor existing code related to DCN4x for better code sharing withother modules.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Sig
drm/amd/display: Refactor DCN4x and related code[why & how]Refactor existing code related to DCN4x for better code sharing withother modules.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by: Swapnil Patel <Swapnil.Patel@amd.com>Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Remove unused mpc1_is_mpcc_idlempc1_is_mpcc_idle() was added in 2017 bycommit feb4a3cd8eb0 ("drm/amd/display: Integrating MPC pseudocode")but never used.Remove it.Signed-off-
drm/amd/display: Remove unused mpc1_is_mpcc_idlempc1_is_mpcc_idle() was added in 2017 bycommit feb4a3cd8eb0 ("drm/amd/display: Integrating MPC pseudocode")but never used.Remove it.Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Allow reuse of of DCN4x codeRemove the static qualifier to make it available for code sharingwith other components.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by
drm/amd/display: Allow reuse of of DCN4x codeRemove the static qualifier to make it available for code sharingwith other components.Reviewed-by: Charlene Liu <charlene.liu@amd.com>Signed-off-by: Dmytro <dmytro.laktyushkin@amd.com>Signed-off-by: Charlene Liu <Charlene.Liu@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: Disable MPC rate control on ODM pipe update[Why]Seamless boot skips MPC init for the active pipe, resulting in stale MPCrate control state being retained. This will cause issues
drm/amd/display: Disable MPC rate control on ODM pipe update[Why]Seamless boot skips MPC init for the active pipe, resulting in stale MPCrate control state being retained. This will cause issues since otherlogic assumes it is disabled (as DCN30 and newer does not need it).[How]Disable MPC rate control on ODM pipe update to cover the seamless bootcase.Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Reviewed-by: Alvin Lee <alvin.lee2@amd.com>Signed-off-by: George Shen <george.shen@amd.com>Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactoring MPC[Why]To refactor MPC files[How]Moved MPC files to respective folders andupdated makefiles appropriately.Reviewed-by: Martin Leung <martin.leung@amd.com>Signe
drm/amd/display: Refactoring MPC[Why]To refactor MPC files[How]Moved MPC files to respective folders andupdated makefiles appropriately.Reviewed-by: Martin Leung <martin.leung@amd.com>Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>Signed-off-by: Mounika Adhuri <moadhuri@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactor DCN3X into component folder[why]Move DCN3X files to unique component folder.[how]Create respective component folder in dc, move the DCN3X files intocorresponding new
drm/amd/display: Refactor DCN3X into component folder[why]Move DCN3X files to unique component folder.[how]Create respective component folder in dc, move the DCN3X files intocorresponding new folders and made appropriate changes for compilationin Makefiles.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>Signed-off-by: Mounika Adhuri <moadhuri@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>