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 <[email protected]>Reviewed-by: Dillon Varone <[email protected]>Signed-off-by: Rafal Ostrowski <[email protected]>Signed-off-by: Tom Chung <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
show more ...
drm/amd/display: Add option to retrieve detile buffer size[WHY]For better power profiling knowing the detilebuffer size at a given point in timewould be useful.[HOW]Add interface to retrieve
drm/amd/display: Add option to retrieve detile buffer size[WHY]For better power profiling knowing the detilebuffer size at a given point in timewould be useful.[HOW]Add interface to retrieve detile buffer fromdc state.Cc: Mario Limonciello <[email protected]>Cc: Alex Deucher <[email protected]>Cc: [email protected]Reviewed-by: Aric Cyr <[email protected]>Signed-off-by: Sung Lee <[email protected]>Signed-off-by: Alex Hung <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
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 <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
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 <[email protected]>Cc: Rodrigo Siqueira <[email protected]>Cc: Roman Li <[email protected]>Cc: Alex Hung <[email protected]>Cc: Aurabindo Pillai <[email protected]>Cc: Harry Wentland <[email protected]>Cc: Hamza Mahfooz <[email protected]>Signed-off-by: Srinivasan Shanmugam <[email protected]>Reviewed-by: Roman Li <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Add NULL pointer check for kzalloc[Why & How]Check return pointer of kzalloc before using it.Reviewed-by: Alex Hung <[email protected]>Acked-by: Wayne Lin <[email protected]>S
drm/amd/display: Add NULL pointer check for kzalloc[Why & How]Check return pointer of kzalloc before using it.Reviewed-by: Alex Hung <[email protected]>Acked-by: Wayne Lin <[email protected]>Signed-off-by: Hersen Wu <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Fix compiler warnings on high compiler warning levels[why]Enabling higher compiler warning levels results in many issues that canbe trivially resolved as well as some potentially
drm/amd/display: Fix compiler warnings on high compiler warning levels[why]Enabling higher compiler warning levels results in many issues that canbe trivially resolved as well as some potentially critical issues.[how]Fix all compiler warnings found with various compilers and higherwarning levels. Primarily, potentially uninitialized variables andunreachable code.Reviewed-by: Leo Li <[email protected]>Acked-by: Roman Li <[email protected]>Signed-off-by: Aric Cyr <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Move define to the proper header[Why & How]DCN3_16_MIN_COMPBUF_SIZE_KB is defined in the dcn316_resource.c file.This header fit better in the dcn31_fpu.h together with similar de
drm/amd/display: Move define to the proper header[Why & How]DCN3_16_MIN_COMPBUF_SIZE_KB is defined in the dcn316_resource.c file.This header fit better in the dcn31_fpu.h together with similar defines.Acked-by: Wayne Lin <[email protected]>Signed-off-by: Rodrigo Siqueira <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
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 <[email protected]>Acked-by: Alex Hung <[email protected]>Signed-off-by: Mounika Adhuri <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>