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 <charlene.liu@amd.com>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 <charlene.liu@amd.com>Signed-off-by: Dmytro <dmytro.laktyushkin@amd.com>Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>Signed-off-by: Alex Hung <alex.hung@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 <mario.limonciello@amd.com>Cc: Alex Deucher <alexander.deucher@amd.com>Cc: stable@vger.kernel.orgReviewed-by: Sung Lee <sung.lee@amd.com>Signed-off-by: Aric Cyr <Aric.Cyr@amd.com>Signed-off-by: Wayne Lin <wayne.lin@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 <alvin.lee2@amd.com>Signed-off-by: Karthi Kandasamy <karthi.kandasamy@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>
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 <harry.wentland@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>Cc: Lu Yao <yaolu@kylinos.cn>Cc: Jocelyn Falempe <jfalempe@redhat.com>Cc: Harry Wentland <harry.wentland@amd.com>
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 <ruanjinjie@huawei.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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 <martin.leung@amd.com>Acked-by: Tom Chung <chiahsuan.chung@amd.com>Signed-off-by: Bhuvana Chandra Pinninti <bhuvanachandra.pinninti@amd.com>Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>