Xiaojie Yuan
c103c5a333
drm/amd/display: fix kernel_fpu_begin/_end() warnings
kernel_fpu_begin/_end() are already called inside dcn20_resource_construct,
and calling kernel_fpu_begin/_end() recursively triggers WARN_ON() when
CONFIG_X86_DEBUG_FPU is enabled.
[ 107.060434] WARNING: CPU: 6 PID: 1370 at arch/x86/kernel/fpu/core.c:90 kernel_fpu_begin+0xbd/0xe0
<snip>
[ 107.268197] Call Trace:
[ 107.270751] dcn20_patch_bounding_box+0x17/0x100 [amdgpu]
[ 107.276204] init_soc_bounding_box+0x1b3/0x5f0 [amdgpu]
[ 107.281536] ? _cond_resched+0x19/0x30
[ 107.285307] dcn20_resource_construct+0x3a9/0xa90 [amdgpu]
[ 107.290957] ? dcn20_resource_construct+0x3a9/0xa90 [amdgpu]
[ 107.296621] ? __alloc_pages_nodemask+0x16a/0x330
[ 107.301476] ? _cond_resched+0x19/0x30
[ 107.305284] ? kmem_cache_alloc_trace+0x197/0x230
[ 107.310063] ? _cond_resched+0x19/0x30
[ 107.313783] ? kmem_cache_alloc_trace+0x197/0x230
[ 107.318691] dcn20_create_resource_pool+0x42/0x70 [amdgpu]
[ 107.324315] dc_create_resource_pool+0x12d/0x170 [amdgpu]
[ 107.329851] dc_create+0x1b8/0x6a0 [amdgpu]
[ 107.334013] ? kmem_cache_alloc_trace+0x1e2/0x230
[ 107.338832] amdgpu_dm_init+0x13e/0x1c0 [amdgpu]
<snip>
Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-07 11:55:12 -05:00
..
2019-12-10 00:22:18 +01:00
2019-12-14 09:10:47 +01:00
2019-12-03 13:58:22 -08:00
2019-12-17 13:57:54 +01:00
2019-12-15 11:36:12 -08:00
2019-12-15 12:24:44 -08:00
2019-11-22 13:35:20 +01:00
2019-12-06 08:26:50 -08:00
2019-11-26 13:02:24 -07:00
2019-12-06 10:28:09 -08:00
2019-12-05 11:38:40 -08:00
2019-12-03 12:20:25 -08:00
2019-12-06 08:28:13 -08:00
2019-12-12 17:56:08 +01:00
2019-12-02 17:23:21 -08:00
2019-12-01 18:43:25 -08:00
2019-12-09 12:19:16 +09:00
2019-11-22 11:16:26 +05:30
2019-12-17 13:57:54 +01:00
2019-11-22 10:18:29 +01:00
2019-11-27 10:53:50 -08:00
2019-12-02 14:13:00 -08:00
2019-12-09 10:36:44 -08:00
2019-12-04 19:44:14 -08:00
2020-01-07 11:55:12 -05:00
2019-12-17 13:57:54 +01:00
2019-12-01 20:36:41 -08:00
2019-12-01 13:46:15 -08:00
2019-12-01 13:46:15 -08:00
2019-12-10 23:15:09 +01:00
2019-12-01 13:46:15 -08:00
2019-11-29 11:48:39 +01:00
2019-12-09 09:27:52 +01:00
2019-12-15 14:58:13 -08:00
2019-12-07 18:33:01 -08:00
2019-12-12 10:28:54 +01:00
2019-12-03 13:58:22 -08:00
2019-12-03 13:58:22 -08:00
2019-12-01 13:46:15 -08:00
2019-12-01 16:09:28 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-13 14:27:19 -08:00
2019-12-17 13:57:54 +01:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2019-12-03 14:37:12 -08:00
2019-12-17 13:57:54 +01:00
2019-11-27 11:06:20 -08:00
2019-12-03 14:09:14 -08:00
2019-12-09 10:36:44 -08:00
2019-11-22 16:27:24 -08:00
2019-12-07 18:38:17 -08:00
2019-12-01 18:43:25 -08:00
2019-12-13 14:27:19 -08:00
2019-12-05 11:43:31 -08:00
2019-12-12 18:39:52 -06:00
2019-11-25 19:40:40 -08:00
2019-11-13 19:09:49 +08:00
2019-12-12 15:25:37 -06:00
2019-11-22 07:03:45 +01:00
2019-12-05 11:43:31 -08:00
2019-12-03 09:29:50 -08:00
2019-12-03 14:37:12 -08:00
2019-12-04 10:48:09 -08:00
2019-11-16 21:51:42 -08:00
2019-12-05 11:28:14 -08:00
2019-12-04 19:44:13 -08:00
2019-11-22 19:56:20 +00:00
2019-11-18 20:35:16 -08:00
2019-12-05 11:43:31 -08:00
2019-12-01 18:39:24 -08:00
2019-12-03 13:31:08 -08:00
2019-12-09 10:36:44 -08:00
2019-12-14 12:51:57 -08:00
2019-12-06 14:19:37 -08:00
2019-11-22 19:56:35 +00:00
2019-12-17 13:57:54 +01:00
2019-12-09 10:36:44 -08:00
2019-12-17 13:57:54 +01:00
2019-12-07 21:49:06 +08:00
2019-11-19 17:35:57 +01:00
2019-12-03 14:09:14 -08:00
2019-11-14 11:49:48 +08:00
2019-12-14 12:40:39 -08:00
2019-12-07 14:51:04 -08:00
2019-12-08 13:28:11 -08:00
2019-12-17 13:57:54 +01:00
2019-12-01 13:46:15 -08:00
2019-12-11 08:14:07 -05:00
2019-11-14 13:06:33 +08:00
2019-12-01 18:01:03 -08:00
2019-12-17 13:57:54 +01:00