drm/amd/display: calculate the remain segments for all pipes[WHY]In some cases the remain de-tile buffer segments will be greaterthan zero if we don't add the non-top pipe to calculate, atthis t
drm/amd/display: calculate the remain segments for all pipes[WHY]In some cases the remain de-tile buffer segments will be greaterthan zero if we don't add the non-top pipe to calculate, atthis time the override de-tile buffer size will be valid and used.But it makes the de-tile buffer segments used finally for all of pipesexceed the maximum.[HOW]Add the non-top pipe to calculate the remain de-tile buffer segments.Don't set override size to use the average according to pipe countif the value exceed the maximum.Reviewed-by: Charlene Liu <[email protected]>Signed-off-by: Zhikai Zhai <[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: 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]>
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: Update Interface to Check UCLK DPM[Why]Videos using YUV420 format may result in high power being used.Disabling MPO may result in lower power usage.Update interface that can be
drm/amd/display: Update Interface to Check UCLK DPM[Why]Videos using YUV420 format may result in high power being used.Disabling MPO may result in lower power usage.Update interface that can be used to check power profile of a dc_state.[How]Add helper functions that can be used to determine power level:- get power profile after a dc_state has undergone full validationReviewed-by: Alvin Lee <[email protected]>Signed-off-by: Austin Zheng <[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: Revert commit Update Interface to Check UCLK DPMThis reverts commit b8d046985c2dc41a0e264a391da4606099f8d44f.Reverting as regression discovered on certain systems and golden valu
drm/amd/display: Revert commit Update Interface to Check UCLK DPMThis reverts commit b8d046985c2dc41a0e264a391da4606099f8d44f.Reverting as regression discovered on certain systems and golden valuesneed to updated.Reviewed-by: Alvin Lee <[email protected]>Signed-off-by: Austin Zheng <[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: Update Interface to Check UCLK DPM[Why]Videos using YUV420 format may result in high power being used.Disabling MPO may result in lower power usage.Update interface that can be used to check power profile of a dc_state.[How]Allow pstate switching in VBlank as last entry in strategy candidates.Add helper functions that can be used to determine power level:-get power profile after a dc_state has undergone full validationReviewed-by: Aric Cyr <[email protected]>Signed-off-by: Austin Zheng <[email protected]>Signed-off-by: Aurabindo Pillai <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Check denominator crb_pipes before used[WHAT & HOW]A denominator cannot be 0, and is checked before used.This fixes 2 DIVIDE_BY_ZERO issues reported by Coverity.Reviewed-by: H
drm/amd/display: Check denominator crb_pipes before used[WHAT & HOW]A denominator cannot be 0, and is checked before used.This fixes 2 DIVIDE_BY_ZERO issues reported by Coverity.Reviewed-by: Harry Wentland <[email protected]>Signed-off-by: Jerry Zuo <[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: Enable Replay for DCN315[why & how]Enable Replay for DCN315.Reviewed-by: Robin Chen <[email protected]>Acked-by: Wayne Lin <[email protected]>Signed-off-by: Joan Lee <joan.le
drm/amd/display: Enable Replay for DCN315[why & how]Enable Replay for DCN315.Reviewed-by: Robin Chen <[email protected]>Acked-by: Wayne Lin <[email protected]>Signed-off-by: Joan Lee <[email protected]>Tested-by: Daniel Wheeler <[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: block dcn315 dynamic crb allocation when unintended[WHY/HOW]Limit the dynamic crb to dual stream configs that include eDPReviewed-by: Charlene Liu <[email protected]>Acked-b
drm/amd/display: block dcn315 dynamic crb allocation when unintended[WHY/HOW]Limit the dynamic crb to dual stream configs that include eDPReviewed-by: Charlene Liu <[email protected]>Acked-by: Tom Chung <[email protected]>Signed-off-by: Dmytro Laktyushkin <[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]>