1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/calcs
Harry Wentland 59d3191f14 drm/amd/display: don't call dm_pp_ function from an fpu block
Powerplay functions called from dm_pp_* functions tend to do a
mutex_lock which isn't safe to do inside a kernel_fpu_begin/end block as
those will disable/enable preemption.

Rearrange the dm_pp_get_clock_levels_by_type_with_voltage calls to make
sure they happen outside of kernel_fpu_begin/end.

Cc: stable@vger.kernel.org
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-06 15:31:20 -05:00
..
bw_fixed.c amdgpu/dc: allow inlining constant int to fixed a lot better. 2017-09-29 13:03:35 -04:00
calcs_logger.h drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
custom_float.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dce_calcs.c drm/amd/display: Use 100 Hz precision for pipe pixel clocks 2019-01-14 15:04:39 -05:00
dcn_calc_auto.c drm/amdgpu/display: fix compiler errors [-Werror,-Wparentheses-equality] 2019-02-06 13:29:19 -05:00
dcn_calc_auto.h drm/amdgpu/display: Add calcs code for DCN 2017-09-26 18:06:47 -04:00
dcn_calc_math.c drm/amd/display: Add disclaimer to BW and DML code provided by HW 2017-12-14 10:55:02 -05:00
dcn_calc_math.h Revert "amdgpu/dc: inline a bunch of float operations." 2017-10-21 16:45:17 -04:00
dcn_calcs.c drm/amd/display: don't call dm_pp_ function from an fpu block 2019-03-06 15:31:20 -05:00
Makefile Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines" 2019-01-29 15:16:18 -05:00