drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encodersThis patch adds a boundary check for the hpd_source index during thelink encoder creation process for all DCEx
drm/amd/display: Add hpd_source index check for DCE60/80/100/110/112/120 link encodersThis patch adds a boundary check for the hpd_source index during thelink encoder creation process for all DCExxx IP's. The check ensuresthat the index is within the valid range of the link_enc_hpd_regs arrayto prevent 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]>
show more ...
drm/amd/display: Release clck_src memory if clk_src_construct fails[Why]Coverity reports RESOURCE_LEAK for some implemenationsof clock_source_create. Do not release memory of clk_srcif contructo
drm/amd/display: Release clck_src memory if clk_src_construct fails[Why]Coverity reports RESOURCE_LEAK for some implemenationsof clock_source_create. Do not release memory of clk_srcif contructor fails.[How]Free clk_src if contructor fails.Reviewed-by: Harry Wentland <[email protected]>Acked-by: Tom Chung <[email protected]>Signed-off-by: Hersen Wu <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Remove unnecessary files[Why & How]We accidentally upstream unnecessary files. Remove them.Reviewed-by: Tom Chung <[email protected]>Signed-off-by: Wayne Lin <Wayne.Lin@a
drm/amd/display: Remove unnecessary files[Why & How]We accidentally upstream unnecessary files. Remove them.Reviewed-by: Tom Chung <[email protected]>Signed-off-by: Wayne Lin <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Add comments to improve the code readabilityThis commit just introduce some basic comments that helps to understandthe overall behavior of some structs.Acked-by: Hamza Mahfooz <
drm/amd/display: Add comments to improve the code readabilityThis commit just introduce some basic comments that helps to understandthe overall behavior of some structs.Acked-by: Hamza Mahfooz <[email protected]>Signed-off-by: Rodrigo Siqueira <[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]>