]> git.baikalelectronics.ru Git - 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, 10 Mar 2021 21:19:27 +0000 (16:19 -0500)
commita53c9598758ba8740cdd875607b2ead62d6687a6
tree76e26bad98d48360e8e98a514de9ae3fdfcfd69b
parentba16e2223029e1a678d985e3f9feaecd6568a070
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