1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Jan Kokemüller 41401ac677 drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth()
dcn21_validate_bandwidth() calls functions that use floating point math.
On my machine this sometimes results in simd exceptions when there are
other FPU users such as KVM virtual machines running. The screen freezes
completely in this case.

Wrapping the function with DC_FP_START()/DC_FP_END() seems to solve the
problem. This mirrors the approach used for dcn20_validate_bandwidth.

Tested on a AMD Ryzen 7 PRO 4750U (Renoir).

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=206987
Signed-off-by: Jan Kokemüller <jan.kokemueller@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2021-02-18 16:43:09 -05:00
..
amdgpu_dm drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
dc drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth() 2021-02-18 16:43:09 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.51 2021-02-09 15:48:34 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: DP HDCP Compliance 1A-08/09 tests fail 2021-02-09 15:31:00 -05:00
Kconfig drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00