1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Unblank hubp based on plane visibility 2021-01-13 23:43:14 -05:00
bios drm/amd/display: Fix HDMI deep color output for DCE 6-11. 2021-01-25 17:49:47 -05:00
calcs drm/amd/display/dc/calcs/dce_calcs: Demote non-conformant kernel-doc function headers 2021-01-14 13:20:20 -05:00
clk_mgr drm/amd/display: Add null pointer check to is_dig_enabled func 2021-02-02 12:08:43 -05:00
core drm/amd/display: fix 64bit division issue on 32bit OS 2021-02-09 15:48:01 -05:00
dce drm/amd/display: Fix potential integer overflow 2021-02-18 16:43:09 -05:00
dce60 drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes 2021-01-14 13:20:21 -05:00
dce80 drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes 2021-01-14 13:20:20 -05:00
dce100 drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes 2021-01-14 13:20:20 -05:00
dce110 drm/amdgpu: Repeat assignment to max_slave_planes 2021-01-14 13:20:21 -05:00
dce112 drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes 2021-01-14 13:20:20 -05:00
dce120 drm/amd/display/dc/dce120/dce120_timing_generator: Remove unused function 'dce120_timing_generator_get_position' 2021-01-13 23:53:26 -05:00
dcn10 drm/amd/display: fix type mismatch error for return variable 2021-02-09 15:48:28 -05:00
dcn20 drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth() 2021-02-18 16:43:09 -05:00
dcn21 drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth() 2021-02-18 16:43:09 -05:00
dcn30 drm/amd/display: Better handling of dummy p-state table 2021-02-02 12:12:15 -05:00
dcn301 drm/amd/display: Drop SOC bounding box hookup in DM/DC 2021-02-02 12:08:04 -05:00
dcn302 drm/amd/display: fix initial bounding box values for dcn3.02 2021-02-02 12:10:56 -05:00
dml drm/amd/display: DIO Supported for virtual displays 2021-02-09 15:48:18 -05:00
dsc drm/amd/display: revert support for DID2.0 dsc passthrough 2021-02-09 15:31:07 -05:00
gpio drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own header containing prototypes 2021-01-13 23:53:26 -05:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Simplify bool comparison 2021-02-09 15:49:42 -05:00
irq drm/amd/display: Add otg vertical interrupt0 support in DCN1.0 2021-02-09 15:29:02 -05:00
virtual drm/amd/display: Add dp_set_dsc_pps_info_packet to virtual stream encoder 2020-09-29 16:08:31 -04:00
dc.h drm/amd/display: 3.2.122 2021-02-09 15:48:41 -05:00
dc_bios_types.h drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dmub_srv.h drm/amd/display: implement notify stream mask 2020-09-15 17:52:41 -04:00
dc_dp_types.h drm/amd/display: doesn't reprogram AMD OUI 2021-01-13 23:43:38 -05:00
dc_dsc.h drm/amd/display: revert support for DID2.0 dsc passthrough 2021-02-09 15:31:07 -05:00
dc_edid_parser.c drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_helper.c drm/amd/display/dc/dc_helper: Include our own header, containing prototypes 2021-01-14 13:20:20 -05:00
dc_hw_types.h drm/amd/display: revert support for DID2.0 dsc passthrough 2021-02-09 15:31:07 -05:00
dc_link.h drm/amd/display: move edp sink present detection to hw init 2021-02-09 15:47:54 -05:00
dc_stream.h drm/amd/display: reuse current context instead of recreating one 2021-02-02 12:08:50 -05:00
dc_trace.h drm/amd/display: Add tracepoint for capturing clocks state 2020-10-26 13:34:26 -04:00
dc_types.h drm/amd/display: Add dual edp optimization flag. 2020-11-16 12:19:33 -05:00
dm_cp_psp.h drm/amd/display: correct some hdcp variable naming 2021-02-02 12:09:09 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Clear dc remote sinks on MST disconnect 2020-12-01 15:59:57 -05:00
dm_pp_smu.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
irq_types.h drm/amd/display: Add otg vertical interrupt0 support in DCN1.0 2021-02-09 15:29:02 -05:00
Makefile drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
os_types.h drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00