Huang Rui
bf67014d6b
drm/amdgpu: introduce new amdgpu_fence object to indicate the job embedded fence
The job embedded fence donesn't initialize the flags at
dma_fence_init(). Then we will go a wrong way in
amdgpu_fence_get_timeline_name callback and trigger a null pointer panic
once we enabled the trace event here. So introduce new amdgpu_fence
object to indicate the job embedded fence.
[ 156.131790] BUG: kernel NULL pointer dereference, address: 00000000000002a0
[ 156.131804] #PF: supervisor read access in kernel mode
[ 156.131811] #PF: error_code(0x0000) - not-present page
[ 156.131817] PGD 0 P4D 0
[ 156.131824] Oops: 0000 [#1] PREEMPT SMP PTI
[ 156.131832] CPU: 6 PID: 1404 Comm: sdma0 Tainted: G OE 5.16.0-rc1-custom #1
[ 156.131842] Hardware name: Gigabyte Technology Co., Ltd. Z170XP-SLI/Z170XP-SLI-CF, BIOS F20 11/04/2016
[ 156.131848] RIP: 0010:strlen+0x0/0x20
[ 156.131859] Code: 89 c0 c3 0f 1f 80 00 00 00 00 48 01 fe eb 0f 0f b6 07 38 d0 74 10 48 83 c7 01 84 c0 74 05 48 39 f7 75 ec 31 c0 c3 48 89 f8 c3 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31
[ 156.131872] RSP: 0018:ffff9bd0018dbcf8 EFLAGS: 00010206
[ 156.131880] RAX: 00000000000002a0 RBX: ffff8d0305ef01b0 RCX: 000000000000000b
[ 156.131888] RDX: ffff8d03772ab924 RSI: ffff8d0305ef01b0 RDI: 00000000000002a0
[ 156.131895] RBP: ffff9bd0018dbd60 R08: ffff8d03002094d0 R09: 0000000000000000
[ 156.131901] R10: 000000000000005e R11: 0000000000000065 R12: ffff8d03002094d0
[ 156.131907] R13: 000000000000001f R14: 0000000000070018 R15: 0000000000000007
[ 156.131914] FS: 0000000000000000(0000) GS:ffff8d062ed80000(0000) knlGS:0000000000000000
[ 156.131923] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 156.131929] CR2: 00000000000002a0 CR3: 000000001120a005 CR4: 00000000003706e0
[ 156.131937] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 156.131942] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 156.131949] Call Trace:
[ 156.131953] <TASK>
[ 156.131957] ? trace_event_raw_event_dma_fence+0xcc/0x200
[ 156.131973] ? ring_buffer_unlock_commit+0x23/0x130
[ 156.131982] dma_fence_init+0x92/0xb0
[ 156.131993] amdgpu_fence_emit+0x10d/0x2b0 [amdgpu]
[ 156.132302] amdgpu_ib_schedule+0x2f9/0x580 [amdgpu]
[ 156.132586] amdgpu_job_run+0xed/0x220 [amdgpu]
v2: fix mismatch warning between the prototype and function name (Ray, kernel test robot)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-17 12:47:28 -05:00
..
2021-03-10 00:01:34 -05:00
2021-10-13 14:14:35 -04:00
2021-04-09 16:46:26 -04:00
2021-07-23 10:08:00 -04:00
2021-08-24 15:35:50 -04:00
2021-08-24 15:35:33 -04:00
2021-08-24 15:35:33 -04:00
2021-03-23 22:59:28 -04:00
2021-05-10 18:06:42 -04:00
2020-10-15 10:46:16 -07:00
2020-10-15 10:46:16 -07:00
2021-08-24 15:35:33 -04:00
2021-08-24 15:35:33 -04:00
2021-08-11 17:19:54 -04:00
2021-08-11 17:19:54 -04:00
2021-12-01 17:08:00 -05:00
2021-10-04 15:23:02 -04:00
2021-11-05 14:12:45 -04:00
2021-11-24 15:14:36 -05:00
2021-11-24 15:14:36 -05:00
2021-08-30 14:59:33 -04:00
2021-08-06 11:33:50 -04:00
2020-09-15 17:52:43 -04:00
2021-04-09 16:45:12 -04:00
2021-03-26 15:53:21 +01:00
2021-09-29 17:30:00 -04:00
2021-09-29 17:30:00 -04:00
2020-10-27 11:56:42 -04:00
2021-11-17 23:03:08 -05:00
2021-09-14 09:25:30 +02:00
2020-11-13 17:29:46 -05:00
2021-09-01 16:55:11 -04:00
2021-09-01 16:55:11 -04:00
2021-10-07 11:55:46 -04:00
2021-10-05 12:22:36 -04:00
2021-12-17 12:47:28 -05:00
2021-09-28 09:30:06 -04:00
2021-12-01 17:00:55 -05:00
2021-10-04 15:22:58 -04:00
2021-10-04 09:34:55 -04:00
2021-04-09 16:36:40 -04:00
2021-07-21 11:58:28 +10:00
2021-05-26 20:56:23 +02:00
2020-07-01 01:59:07 -04:00
2021-11-02 16:47:49 -07:00
2021-07-08 15:18:14 -04:00
2021-07-01 00:24:41 -04:00
2020-08-24 13:06:06 -04:00
2021-08-09 15:44:50 -04:00
2021-08-31 14:20:40 -04:00
2021-05-05 09:26:53 +02:00
2021-12-17 12:47:28 -05:00
2021-07-01 00:24:40 -04:00
2020-09-29 16:11:50 -04:00
2021-06-07 14:57:32 -04:00
2020-10-26 13:27:00 -04:00
2021-10-08 13:22:13 -04:00
2021-06-18 17:12:47 -04:00
2021-11-05 11:13:19 +01:00
2020-09-25 09:19:42 +02:00
2021-10-05 10:55:07 -04:00
2021-09-01 16:55:11 -04:00
2021-06-04 16:03:24 -04:00
2021-10-08 13:22:13 -04:00
2021-06-04 16:03:12 -04:00
2021-08-30 14:59:33 -04:00
2021-08-16 15:35:55 -04:00
2021-05-10 18:06:43 -04:00
2021-08-11 17:19:54 -04:00
2021-09-14 15:56:49 -04:00
2021-06-10 11:28:09 +10:00
2020-09-17 19:21:16 +02:00
2021-11-24 15:09:46 -05:00
2021-03-23 23:30:23 -04:00
2021-09-01 11:26:46 -07:00
2021-08-10 20:00:44 +02:00
2021-10-08 13:22:13 -04:00
2021-08-16 15:16:58 -04:00
2021-08-25 18:15:10 -04:00
2020-07-01 01:59:19 -04:00
2021-11-03 12:22:07 -04:00
2021-09-23 16:34:43 -04:00
2021-09-23 16:34:43 -04:00
2020-07-01 01:59:11 -04:00
2021-08-16 15:35:55 -04:00
2021-05-10 18:11:44 -04:00
2021-07-01 00:05:41 -04:00
2021-07-01 00:05:41 -04:00
2021-05-19 22:30:03 -04:00
2021-08-16 15:35:55 -04:00
2021-07-23 10:09:40 -04:00
2021-11-05 14:12:45 -04:00
2021-10-07 11:55:46 -04:00
2021-08-24 15:35:25 -04:00
2021-08-24 15:35:25 -04:00
2021-04-15 16:32:45 -04:00
2020-10-07 14:44:33 -04:00
2021-06-21 15:24:29 +02:00
2021-10-28 14:26:12 -04:00
2021-09-23 15:17:28 -04:00
2021-08-18 18:22:53 -04:00
2020-08-14 16:22:40 -04:00
2021-10-28 14:26:12 -04:00
2021-09-23 15:17:28 -04:00
2021-10-13 14:14:48 -04:00
2021-09-28 09:30:07 -04:00
2021-08-02 16:53:17 -04:00
2021-04-09 16:46:26 -04:00
2021-04-09 16:46:32 -04:00
2021-09-14 16:21:15 -04:00
2021-12-17 12:47:28 -05:00
2019-12-03 11:57:00 -05:00
2021-07-23 10:07:59 -04:00
2020-11-02 15:34:29 -05:00
2021-09-01 16:55:11 -04:00
2020-08-18 18:20:26 -04:00
2021-08-16 15:35:55 -04:00
2021-03-05 15:12:23 -05:00
2021-08-18 18:22:53 -04:00
2021-01-13 23:58:14 -05:00
2021-04-28 23:35:49 -04:00
2021-06-22 11:05:04 +02:00
2020-07-01 01:59:22 -04:00
2021-04-09 16:45:12 -04:00
2021-07-03 11:13:22 -07:00
2021-11-04 08:21:47 -07:00
2021-10-13 22:20:13 -04:00
2021-10-28 14:26:12 -04:00
2021-08-16 15:18:04 -04:00
2021-08-16 15:35:55 -04:00
2021-09-28 09:30:06 -04:00
2021-09-01 16:55:11 -04:00
2021-10-08 13:22:13 -04:00
2021-09-14 15:59:58 -04:00
2021-10-08 13:22:13 -04:00
2021-09-01 16:55:11 -04:00
2021-12-01 16:58:11 -05:00
2021-10-21 23:38:46 -04:00
2020-11-02 15:34:29 -05:00
2021-10-28 14:26:12 -04:00
2021-05-19 22:29:58 -04:00
2021-12-01 16:58:52 -05:00
2021-08-05 21:17:58 -04:00
2021-06-04 16:02:38 -04:00
2021-06-15 17:25:42 -04:00
2021-10-08 13:22:13 -04:00
2021-08-24 15:36:50 -04:00
2021-08-30 14:59:33 -04:00
2021-11-17 23:04:57 -05:00
2021-07-23 10:07:59 -04:00
2021-10-28 14:26:12 -04:00
2021-10-21 23:38:16 -04:00
2020-08-24 13:06:05 -04:00
2021-10-04 15:23:01 -04:00
2021-10-04 15:23:01 -04:00
2020-07-01 01:59:07 -04:00
2021-06-01 22:55:39 -04:00
2021-06-01 22:55:39 -04:00
2021-08-24 15:35:25 -04:00
2021-04-27 18:43:42 -04:00
2020-11-16 15:56:35 -05:00
2020-11-02 15:35:53 -05:00
2021-05-19 23:50:27 -04:00
2021-05-21 10:32:14 -04:00
2021-08-05 21:17:58 -04:00
2020-01-14 10:18:08 -05:00
2020-07-02 12:02:50 -04:00
2021-05-19 23:50:27 -04:00
2021-05-21 10:32:15 -04:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2021-04-09 16:36:40 -04:00
2020-11-02 15:34:31 -05:00
2021-09-28 09:30:06 -04:00
2020-10-07 14:44:33 -04:00
2021-02-24 09:28:55 -05:00
2021-08-05 21:17:59 -04:00
2021-11-05 14:12:29 -04:00
2020-11-13 17:29:47 -05:00
2021-11-05 14:12:29 -04:00
2021-12-14 17:49:50 -05:00
2020-09-30 13:50:06 -04:00
2021-10-28 14:26:13 -04:00
2021-04-23 17:15:21 -04:00
2021-04-20 21:35:45 -04:00
2021-04-09 16:51:22 -04:00
2021-11-24 15:09:09 -05:00
2021-12-14 17:50:36 -05:00
2020-11-17 14:07:18 -05:00
2021-11-03 12:22:07 -04:00
2020-10-16 14:44:32 -04:00
2021-12-14 17:50:36 -05:00
2020-09-30 13:50:13 -04:00
2021-12-14 17:50:36 -05:00
2020-09-30 13:50:13 -04:00
2021-10-28 14:27:00 -04:00
2021-06-04 06:13:57 +10:00
2021-05-19 23:50:27 -04:00
2021-12-14 17:56:53 -05:00
2020-08-26 16:40:18 -04:00
2021-10-04 15:23:01 -04:00
2021-10-04 15:23:01 -04:00
2021-05-10 18:06:43 -04:00
2021-06-30 00:18:23 -04:00
2021-01-05 11:32:55 -05:00
2021-05-19 23:50:27 -04:00
2021-04-09 16:44:56 -04:00
2019-11-19 10:12:49 -05:00
2021-10-04 15:23:02 -04:00
2021-10-04 15:23:02 -04:00
2021-10-04 15:23:02 -04:00
2021-03-23 22:53:34 -04:00
2021-06-04 16:03:17 -04:00
2020-07-01 01:59:09 -04:00
2021-02-18 16:43:09 -05:00
2021-10-20 11:43:57 -04:00
2021-09-23 16:34:43 -04:00
2021-08-24 15:36:18 -04:00
2020-07-01 01:59:11 -04:00
2021-04-09 16:44:56 -04:00
2021-12-14 17:56:53 -05:00
2021-04-09 16:51:19 -04:00
2021-12-14 17:50:36 -05:00
2021-04-09 16:51:19 -04:00
2021-12-14 17:50:36 -05:00
2020-08-14 16:22:40 -04:00
2021-12-14 17:50:36 -05:00
2020-10-05 15:15:27 -04:00
2021-12-14 17:50:36 -05:00
2021-04-09 16:51:19 -04:00
2021-08-18 18:22:25 -04:00
2020-03-06 14:34:42 -05:00
2020-07-15 12:45:05 -04:00
2021-08-30 14:59:33 -04:00
2021-08-30 14:59:33 -04:00
2021-08-16 15:17:57 -04:00
2021-08-16 15:17:57 -04:00
2020-04-01 14:44:43 -04:00
2021-11-24 15:13:10 -05:00
2020-04-28 15:58:12 -04:00
2021-11-24 15:02:25 -05:00
2021-10-13 14:14:34 -04:00
2021-11-24 15:02:25 -05:00
2021-11-24 15:02:25 -05:00
2021-11-24 15:02:25 -05:00
2020-10-05 15:15:27 -04:00
2021-11-24 15:14:03 -05:00
2021-10-22 10:11:41 -04:00
2021-12-01 16:58:11 -05:00
2021-10-20 11:43:57 -04:00
2020-05-14 16:42:43 -04:00
2021-06-11 16:05:33 -04:00
2021-07-23 10:08:00 -04:00
2021-10-28 14:26:12 -04:00
2021-07-23 10:08:01 -04:00
2021-07-23 10:08:01 -04:00
2021-10-28 14:26:12 -04:00
2021-10-28 14:26:12 -04:00
2021-10-04 15:23:01 -04:00
2021-03-23 22:51:54 -04:00
2020-06-03 13:52:04 -04:00
2021-05-21 10:32:18 -04:00
2021-04-09 16:44:56 -04:00
2021-10-04 15:23:01 -04:00
2021-04-20 21:45:17 -04:00
2021-03-23 22:55:31 -04:00
2021-10-04 15:23:01 -04:00
2020-06-03 13:52:04 -04:00
2021-10-04 15:23:01 -04:00
2020-06-03 13:52:04 -04:00
2021-05-21 10:32:14 -04:00
2020-07-02 12:02:50 -04:00
2021-05-19 23:50:27 -04:00
2021-08-05 21:17:58 -04:00
2020-07-02 12:02:50 -04:00
2021-07-08 15:12:51 -04:00
2020-07-21 15:37:49 -04:00
2020-11-13 17:29:45 -05:00
2020-11-13 00:13:16 -05:00
2021-02-09 15:28:36 -05:00
2021-02-09 15:28:21 -05:00
2021-06-30 00:18:22 -04:00
2020-11-13 00:13:22 -05:00
2021-05-21 10:32:20 -04:00
2021-03-23 22:52:38 -04:00
2021-07-23 10:07:59 -04:00
2021-11-24 15:02:25 -05:00
2021-10-20 11:43:57 -04:00
2020-05-14 16:42:43 -04:00
2020-08-14 16:22:39 -04:00
2021-10-19 17:32:52 -04:00
2021-03-23 23:27:41 -04:00
2021-08-18 18:22:24 -04:00
2021-05-19 23:50:27 -04:00
2021-04-09 16:51:11 -04:00
2021-04-09 16:51:11 -04:00
2021-09-28 09:30:06 -04:00
2021-08-05 21:17:58 -04:00
2021-06-18 17:11:40 -04:00
2021-04-09 16:51:11 -04:00
2021-09-23 15:17:29 -04:00
2020-07-01 01:59:24 -04:00
2021-09-23 15:17:29 -04:00
2021-09-23 15:17:29 -04:00
2021-11-09 17:06:15 -05:00
2021-09-23 15:17:29 -04:00
2021-09-23 15:17:29 -04:00
2021-09-23 15:17:29 -04:00
2021-10-08 13:22:13 -04:00
2021-10-21 23:38:46 -04:00
2020-10-14 15:27:50 -04:00
2021-10-21 23:38:53 -04:00
2020-01-27 16:46:44 -05:00
2021-10-21 23:38:46 -04:00
2021-03-23 22:53:17 -04:00
2021-10-21 23:38:57 -04:00
2020-07-01 01:59:09 -04:00
2021-05-22 07:17:05 +02:00
2021-05-19 23:50:27 -04:00
2020-12-23 15:05:35 -05:00
2021-08-30 14:59:33 -04:00
2020-07-02 12:02:50 -04:00
2020-07-02 12:02:50 -04:00