]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2d31aef9de3fee0641fbbe65bb9814846818202
treee9bd480289a0baf5e722cd7079b6e2eeca44954a
parent7d0bf0a20cbf29af420785af0f65c54043f330c8
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