drm/amd/display: Allow reuse of of DCN4x codeRemove the static qualifier to make it available for code sharingwith other components.Reviewed-by: Charlene Liu <[email protected]>Signed-off-by
drm/amd/display: Allow reuse of of DCN4x codeRemove the static qualifier to make it available for code sharingwith other components.Reviewed-by: Charlene Liu <[email protected]>Signed-off-by: Dmytro <[email protected]>Signed-off-by: Charlene Liu <[email protected]>Signed-off-by: Alex Hung <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
show more ...
drm/amd/display: Add hubp cache reset when powergating[Why]When HUBP is power gated, the SW state can get out of sync with thehardware state causing cursor to not be programmed correctly.[How]
drm/amd/display: Add hubp cache reset when powergating[Why]When HUBP is power gated, the SW state can get out of sync with thehardware state causing cursor to not be programmed correctly.[How]Similar to DPP, add a HUBP reset function which is called whereverHUBP is initialized or powergated. This function will clear the cursorposition and attribute cache allowing for proper programming when theHUBP is brought back up.Cc: Mario Limonciello <[email protected]>Cc: Alex Deucher <[email protected]>Cc: [email protected]Reviewed-by: Sung Lee <[email protected]>Signed-off-by: Aric Cyr <[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: Update dc_tiling_info union to structure[WHY]The `dc_tiling_info` union previously did not have a field tospecify the active GFX format, assuming only one format wouldbe used pe
drm/amd/display: Update dc_tiling_info union to structure[WHY]The `dc_tiling_info` union previously did not have a field tospecify the active GFX format, assuming only one format wouldbe used per DCN version. from DCN4+, support for switchingbetween different GFX formats is introduced, requiring a wayto track which format is currently in use.[HOW]Updated the `dc_tiling_info` union to include a new field thatexplicitly indicates the currently used GFX format.This allows the system to determine the active GFX formatand take the correct programming path accordingly.[Description]The union `dc_tiling_info` has been updated to support multipleGFX formats by adding a new field for identifying the active format.This update ensures that the correct programming path is followedbased on the selected format. All references to `dc_tiling_info`in the codebase have been updated to reflect the new structure.Reviewed-by: Alvin Lee <[email protected]>Signed-off-by: Karthi Kandasamy <[email protected]>Signed-off-by: Roman Li <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: add clear_tiling hubp callbacksThis adds clear_tiling callbacks to the hubp structure thatwill be used for drm panic support to clear the tiling ona display. hubp3 support from
drm/amd/display: add clear_tiling hubp callbacksThis adds clear_tiling callbacks to the hubp structure thatwill be used for drm panic support to clear the tiling ona display. hubp3 support from Jocelyn's original patchand the rest from me.Reviewed-by: Harry Wentland <[email protected]>Signed-off-by: Alex Deucher <[email protected]>Cc: Lu Yao <[email protected]>Cc: Jocelyn Falempe <[email protected]>Cc: Harry Wentland <[email protected]>
drm/amd/display: Make dcn35_hubp_funcs staticThe sparse tool complains as follows:drivers/gpu/drm/amd/amdgpu/../display/dc/hubp/dcn35/dcn35_hubp.c:191:19: warning: symbol 'dcn35_hubp_funcs' was
drm/amd/display: Make dcn35_hubp_funcs staticThe sparse tool complains as follows:drivers/gpu/drm/amd/amdgpu/../display/dc/hubp/dcn35/dcn35_hubp.c:191:19: warning: symbol 'dcn35_hubp_funcs' was not declared. Should it be static?This symbol is not used outside of dcn35_hubp.c, so marks it static.Signed-off-by: Jinjie Ruan <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: Refactor HUBP into component folder.[why]cleaning up the code refactor requires hubp to be in its own component.[how]move all files under newly created hubp folder and fixing t
drm/amd/display: Refactor HUBP into component folder.[why]cleaning up the code refactor requires hubp to be in its own component.[how]move all files under newly created hubp folder and fixing the makefiles.Reviewed-by: Martin Leung <[email protected]>Acked-by: Tom Chung <[email protected]>Signed-off-by: Bhuvana Chandra Pinninti <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>