]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 24 Jan 2022 00:23:36 +0000 (01:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 22:54:18 +0000 (17:54 -0500)
commit628eea7a0015d8c8eccdb328fe3d5955fb897b02
treef62be0f955cccb6f60c77be4d7a802adc52e3f85
parentad4092f160553128b5d08dd7157206ac8522543d
drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU.

Mirrors the logic for dcn30. Cue lots of WARNs and some
kernel panics without this fix.

Cc: stable@vger.kernel.org
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn301/dcn301_fpu.h