drm/amd/display: Hardcode 45W Bounding Box for DCN2.1 Diags
authorSung Lee <sung.lee@amd.com>
Thu, 24 Sep 2020 20:21:21 +0000 (16:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:17:13 +0000 (15:17 -0400)
commitb98ab70e748e54b6b53abc2a20380ceb01e421fc
treee9bd480289a0baf5e722cd7079b6e2eeca44954a
parent5dff371a7351a7e9cbb06bca9e532db16594c053
drm/amd/display: Hardcode 45W Bounding Box for DCN2.1 Diags

[WHY]
Currently construction of clock limits gets skipped for diags.
This logic would be useful to get tested in diags.

[HOW]
Copy existing states to clk_table such that update_bw_bounding_box
logic gets used to fill the table.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c