mirror_ubuntu-kernels/drivers/gpu/drm/amd
Leo Li 44ca49f046 drm/amd/display: Fix compile error from TO_CLK_MGR_INTERNAL
[Why]

On LNX, TO_CLK_MGR_INTERNAL() only works to get clk_mgr_internal from a
given clk_mgr. In clk_mgr_dcn316 struct, the clk_mgr_internal is already
a memeber by the alias 'base'

[How]

Use &clk_mgr->base instead.

Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-03-15 14:25:16 -04:00
..
acp
amdgpu drm/amdgpu: Disable baco dummy mode 2022-03-15 14:25:15 -04:00
amdkfd drm/amdkfd: bail out early if no get_atc_vmid_pasid_mapping_info 2022-03-09 17:27:50 -05:00
display drm/amd/display: Fix compile error from TO_CLK_MGR_INTERNAL 2022-03-15 14:25:16 -04:00
include drm/amdgpu: config HDP_MISC_CNTL.READ_BUFFER_WATERMARK 2022-02-24 17:24:43 -05:00
pm drm/amdgpu: change registers in error checking for smu 13.0.5 2022-03-15 14:25:15 -04:00