drm/amd/display: DML2.1 Post-Si Cleanup[Why]There are a few cleanup and refactoring tasks that need to be donewith the DML2.1 wrapper and DC interface to remove dependencies onlegacy structures
drm/amd/display: DML2.1 Post-Si Cleanup[Why]There are a few cleanup and refactoring tasks that need to be donewith the DML2.1 wrapper and DC interface to remove dependencies onlegacy structures and N-1 prototypes.[How]Implemented pipe_ctx->global_sync.Implemented new functions to use pipe_ctx->hubp_regs andpipe_ctx->global_sync:- hubp_setup2- hubp_setup_interdependent2- Several other new functions for DCN 4.01 to support newer structuresRemoved dml21_update_pipe_ctx_dchub_regsRemoved dml21_extract_legacy_watermark_setRemoved dml21_populate_pipe_ctx_dlg_paramRemoved outdated dcn references in DML2.1 wrapper.Reviewed-by: Austin Zheng <austin.zheng@amd.com>Reviewed-by: Dillon Varone <dillon.varone@amd.com>Signed-off-by: Rafal Ostrowski <rostrows@amd.com>Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Limit VTotal range to max hw cap minus fp[WHY & HOW]Hardware does not support the VTotal to be between fp2 lines of themaximum possible VTotal, so add a capability flag to track
drm/amd/display: Limit VTotal range to max hw cap minus fp[WHY & HOW]Hardware does not support the VTotal to be between fp2 lines of themaximum possible VTotal, so add a capability flag to track it and applywhere necessary.Cc: Mario Limonciello <mario.limonciello@amd.com>Cc: Alex Deucher <alexander.deucher@amd.com>Cc: stable@vger.kernel.orgReviewed-by: Jun Lei <jun.lei@amd.com>Reviewed-by: Anthony Koo <anthony.koo@amd.com>Signed-off-by: Dillon Varone <dillon.varone@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: Remove last parts of timing_traceCommit c2c2ce1e9623 ("drm/amd/display: Optimize passive update planes.")removed the last caller of context_timing_trace.Remove it.With that gon
drm/amd/display: Remove last parts of timing_traceCommit c2c2ce1e9623 ("drm/amd/display: Optimize passive update planes.")removed the last caller of context_timing_trace.Remove it.With that gone, no one is now looking at the 'timing_trace' flag, removeit and all the places that set it.Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Add hpd_source index out-of-bounds check for dcn3x link encoder creationThis patch adds a boundary check for the hpd_source index during thelink encoder creation process for dcn3x
drm/amd/display: Add hpd_source index out-of-bounds check for dcn3x link encoder creationThis patch adds a boundary check for the hpd_source index during thelink encoder creation process for dcn3x IP's. The check ensures that theindex is within the valid range of the link_enc_hpd_regs array toprevent out-of-bounds access.Cc: Tom Chung <chiahsuan.chung@amd.com>Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>Cc: Roman Li <roman.li@amd.com>Cc: Alex Hung <alex.hung@amd.com>Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>Cc: Harry Wentland <harry.wentland@amd.com>Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>Reviewed-by: Roman Li <roman.li@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Update some of the dcn303 parametersAdjust to update some of the dcn303 parameters.Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.c
drm/amd/display: Update some of the dcn303 parametersAdjust to update some of the dcn303 parameters.Acked-by: Wayne Lin <wayne.lin@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>
drm/amd/display: Fix uninitialized variables in DCThis fixes 29 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 29 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: Refactor resource into component directory[WHY]Move all resource files to unique folder resource.[HOW]Created resource folder in dc, moved thedcnxx_resource.c and dcnxx_resour
drm/amd/display: Refactor resource into component directory[WHY]Move all resource files to unique folder resource.[HOW]Created resource folder in dc, moved thedcnxx_resource.c and dcnxx_resource.h files intocorresponding new folders inside the resource andmade appropriate changes for compilation in Makefiles.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Alex Hung <alex.hung@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>