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)
commiteda29602f1a8b2b32d8c8c354232d9d1ee1c064d
tree76e26bad98d48360e8e98a514de9ae3fdfcfd69b
parentd2c91285958a3e77db99c352c136af4243f8f529
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