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]>
show more ...
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: Check null pointers before used[WHAT & HOW]Poniters, such as dc->clk_mgr, are null checked previously in the samefunction, so Coverity warns "implies that "dc->clk_mgr" might be
drm/amd/display: Check null pointers before used[WHAT & HOW]Poniters, such as dc->clk_mgr, are null checked previously in the samefunction, so Coverity warns "implies that "dc->clk_mgr" might be null".As a result, these pointers need to be checked when used again.This fixes 10 FORWARD_NULL issues reported by Coverity.Reviewed-by: Rodrigo Siqueira <[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: 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]>