]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use SMU ClockTable Values for DML Calculations
authorSung Lee <sung.lee@amd.com>
Thu, 19 Dec 2019 16:37:49 +0000 (11:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:15:35 +0000 (14:15 -0500)
commit2cfe5f4a96da94054c1a4c73c2f8f053eb005de1
tree55772c67ded3b643ff3e4667a13384722ffa2e62
parentd12a6f0a4187b0ae4eff946dac72aa62de6ab3b6
drm/amd/display: Use SMU ClockTable Values for DML Calculations

[Why]
DML Initialization was previously done on dcn21_resource initialization.
This meant that DML soc struct was populated with hardcoded values.

[How]
Move DML initialization to after updating bounding box, to use clock table
values from SMU.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c