]> 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)
commit16674f089aeb793350fd84fd6d9b354326d8565f
tree55772c67ded3b643ff3e4667a13384722ffa2e62
parentf1fcdc30de1eeef7564ad4a2855889f6f018a50b
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