OSDN Git Service

drm/amd/display: Populate dtbclk entries for dcn3.02/3.03
authorBindu Ramamurthy <bindu.r@amd.com>
Fri, 9 Jul 2021 14:35:33 +0000 (10:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:07:58 +0000 (10:07 -0400)
commitff7903551c9626be8de481a46796c067a57c958d
treeee41bbf66e792282fed5f3ce52527057e54cb8fc
parenta4d5df1787cc143b513b9f472ead1ff5eaa550e1
drm/amd/display: Populate dtbclk entries for dcn3.02/3.03

[Why]
Populate dtbclk values from bwparams for dcn302, dcn303.

[How]
dtbclk values are fetched from bandwidthparams for all DPM levels and
for DPM levels where smu returns 0, previous level values are reported.

Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c