drm/amd/display: Add clear DCC and Tiling callback for DCNIntroduce the DCC and Tiling reset callback to all DCN versions that cancall it.Reviewed-by: Alvin Lee <alvin.lee2@amd.com>Signed-off-b
drm/amd/display: Add clear DCC and Tiling callback for DCNIntroduce the DCC and Tiling reset callback to all DCN versions that cancall it.Reviewed-by: Alvin Lee <alvin.lee2@amd.com>Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>Signed-off-by: Roman Li <roman.li@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
drm/amd/display: Remove duplicate HWSS interfaces[Why]Some interface functions are defined in both the public and private HWSSinterfaces, which can lead to confusion and runtime issues, therefore
drm/amd/display: Remove duplicate HWSS interfaces[Why]Some interface functions are defined in both the public and private HWSSinterfaces, which can lead to confusion and runtime issues, thereforethe duplicates should be eliminated.[How]- power_down should only be private, because it's only used within HWSS.- update_plane_addr should only be public, as it's used outside HWSS.Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Remove redundant checks for oppThe null checks for opp are redundant as they were alreadydereferenced previously, as reported by Coverity; thereforethe null checks are removed.
drm/amd/display: Remove redundant checks for oppThe null checks for opp are redundant as they were alreadydereferenced previously, as reported by Coverity; thereforethe null checks are removed.This fixes 2 REVERSE_INULL issues reported by Coverity.Reviewed-by: Harry Wentland <harry.wentland@amd.com>Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Remove redundant checks for res_pool->dccgThe null checks for res_pool->dccg are redundant as it was alreadydereferenced previously, as reported by Coverity; therefore thenull ch
drm/amd/display: Remove redundant checks for res_pool->dccgThe null checks for res_pool->dccg are redundant as it was alreadydereferenced previously, as reported by Coverity; therefore thenull checks are removed.This fixes 6 REVERSE_INULL issues reported by Coverity.Reviewed-by: Harry Wentland <harry.wentland@amd.com>Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: use even ODM slice width for two pixels per container[why]When optc uses two pixel per container, each ODM slice width must be aneven number.[how]If ODM slice width is odd num
drm/amd/display: use even ODM slice width for two pixels per container[why]When optc uses two pixel per container, each ODM slice width must be aneven number.[how]If ODM slice width is odd number increase it by 1.Reviewed-by: Dillon Varone <dillon.varone@amd.com>Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Handle the case which quad_part is equal 0Add code to handle case when quad_part is 0 in gpu_addr_to_uma().Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Rodrigo Siqueira
drm/amd/display: Handle the case which quad_part is equal 0Add code to handle case when quad_part is 0 in gpu_addr_to_uma().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 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: Refactor INIT into component folder[why]Move all init files to hwss folder.[how]moved the dcnxx_init.c and .h files into inside the hwss and cleared thelinkage errors.Tested
drm/amd/display: Refactor INIT into component folder[why]Move all init files to hwss folder.[how]moved the dcnxx_init.c and .h files into inside the hwss and cleared thelinkage errors.Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>Signed-off-by: Revalla <hrevalla@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactor phantom resource allocation[WHY?]Phantom streams and planes were previously not referenced explcitly on creation.[HOW?]To reduce memory management complexity, add an a
drm/amd/display: Refactor phantom resource allocation[WHY?]Phantom streams and planes were previously not referenced explcitly on creation.[HOW?]To reduce memory management complexity, add an additional phantom streams and planesreference into dc_state, and move mall_stream_config to stream_status insidethe state to make it safe to modify in shallow copies. Also consildates any logicthat is affected by this change to dc_state.Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>Reviewed-by: Jun Lei <jun.lei@amd.com>Acked-by: Wayne Lin <wayne.lin@amd.com>Signed-off-by: Dillon Varone <dillon.varone@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amd/display: Refactor HWSS into component folder[why]Rename hw_sequencer to hwseq.Move all hwseq files to uniquefolder hwss.[how]creating hwss repo in dc, and moved the dcnxx_hwseq.cand
drm/amd/display: Refactor HWSS into component folder[why]Rename hw_sequencer to hwseq.Move all hwseq files to uniquefolder hwss.[how]creating hwss repo in dc, and moved the dcnxx_hwseq.cand .h files into corresponding new folders inside the hwssand cleared the linkage errors by adding relative pathsin the Makefile.template.Reviewed-by: Martin Leung <martin.leung@amd.com>Acked-by: Tom Chung <chiahsuan.chung@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>