]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu/display: Use wm_table.entries for dcn301 calculate_wm
authorZhan Liu <zhan.liu@amd.com>
Tue, 9 Mar 2021 01:28:22 +0000 (20:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:10:44 +0000 (23:10 -0400)
commit89551f2387f5bc3c7b8ea0696b467529f6c86f53
treef6eb0ee95760b44068e4ca4c2a160b5c7a8d50f7
parente5e6666db5c7d771e9cd9e574ff01838c063f7d8
drm/amdgpu/display: Use wm_table.entries for dcn301 calculate_wm

[Why]
For DGPU Navi, the wm_table.nv_entries are used. These entires are not
populated for DCN301 Vangogh APU, but instead wm_table.entries are.

[How]
Use DCN21 Renoir style wm calculations.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c