From 0d8447e3786f46bd7ef8e439c4fabb6f0ee91370 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 13 Jul 2022 03:44:50 +0000 Subject: [PATCH] drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw From CHANDAN VURDIGERE NATARAJ 59bf2aca4b1c3eca28b337b5e797bb9b43d44f3b in linux 5.15.y/5.15.54 50e6cb3fd2cde554db646282ea10df7236e6493c in mainline linux --- sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c b/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c index 7aadb35a307..e224c521325 100644 --- a/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c +++ b/sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_resource.c @@ -1813,7 +1813,9 @@ bool dcn31_validate_bandwidth(struct dc *dc, BW_VAL_TRACE_COUNT(); + DC_FP_START(); out = dcn30_internal_validate_bw(dc, context, pipes, &pipe_cnt, &vlevel, fast_validate); + DC_FP_END(); // Disable fast_validate to set min dcfclk in alculate_wm_and_dlg if (pipe_cnt == 0) -- 2.20.1