Victor Skvortsov
25a90a1103
drm/amdgpu: Separate vf2pf work item init from virt data exchange
...
[ Upstream commit 892deb48269c65376f3eeb5b4c032ff2c2979bd7 ]
We want to be able to call virt data exchange conditionally
after gmc sw init to reserve bad pages as early as possible.
Since this is a conditional call, we will need
to call it again unconditionally later in the init sequence.
Refactor the data exchange function so it can be
called multiple times without re-initializing the work item.
v2: Cleaned up the code. Kept the original call to init_exchange_data()
inside early init to initialize the work item, afterwards call
exchange_data() when needed.
Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com >
Reviewed By: Shaoyun.liu <Shaoyun.liu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-09-28 11:11:37 +02:00
..
2021-07-23 10:08:00 -04:00
2022-05-25 09:57:28 +02:00
2021-08-24 15:35:33 -04:00
2021-08-24 15:35:33 -04: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
2022-08-17 14:23:05 +02:00
2022-07-07 17:53:23 +02:00
2021-09-16 09:56:24 -04:00
2021-08-30 14:59:33 -04:00
2021-08-06 11:33:50 -04:00
2021-11-18 19:16:27 +01:00
2021-11-18 19:16:27 +01:00
2022-04-08 14:23:25 +02:00
2022-06-09 10:23:24 +02:00
2022-05-12 12:30:21 +02:00
2021-11-06 14:13:31 +01:00
2022-09-28 11:11:37 +02:00
2022-01-05 12:42:38 +01:00
2022-03-16 14:23:41 +01:00
2022-01-11 15:35:17 +01:00
2022-06-09 10:23:21 +02:00
2021-07-08 15:18:14 -04:00
2021-07-01 00:24:41 -04:00
2022-08-17 14:22:54 +02:00
2021-08-31 14:20:40 -04:00
2022-01-11 15:35:19 +01:00
2021-07-01 00:24:40 -04:00
2021-08-24 15:35:41 -04:00
2021-11-18 19:17:08 +01:00
2022-04-13 20:59:14 +02:00
2021-09-16 09:56:24 -04:00
2021-08-30 14:59:33 -04:00
2021-08-16 15:35:55 -04:00
2021-08-11 17:19:54 -04:00
2021-08-16 15:16:58 -04:00
2021-12-01 09:04:42 +01:00
2022-07-07 17:53:23 +02:00
2021-08-10 20:00:44 +02:00
2021-08-16 15:16:58 -04:00
2021-08-16 15:16:58 -04:00
2021-08-25 18:15:10 -04:00
2022-04-08 14:22:48 +02:00
2021-08-24 15:36:18 -04:00
2021-08-24 15:36:18 -04:00
2021-08-16 15:35:55 -04:00
2021-07-01 00:05:41 -04:00
2021-07-01 00:05:41 -04:00
2021-08-16 15:35:55 -04:00
2021-07-23 10:09:40 -04:00
2022-08-17 14:22:54 +02:00
2022-05-12 12:30:21 +02:00
2021-08-24 15:35:25 -04:00
2021-08-24 15:35:25 -04:00
2022-09-20 12:39:45 +02:00
2021-08-18 18:22:53 -04:00
2021-08-18 18:22:53 -04:00
2021-09-16 09:56:24 -04:00
2021-09-16 09:56:24 -04:00
2021-08-16 15:35:55 -04:00
2021-08-24 15:36:18 -04:00
2021-08-02 16:53:17 -04:00
2021-09-14 16:21:15 -04:00
2021-08-16 15:16:58 -04:00
2021-07-23 10:07:59 -04:00
2021-08-16 15:35:55 -04:00
2021-08-18 18:22:53 -04:00
2021-07-03 11:13:22 -07:00
2022-05-12 12:30:21 +02:00
2022-05-12 12:30:21 +02:00
2022-06-09 10:22:35 +02:00
2021-08-16 15:18:04 -04:00
2021-08-16 15:35:55 -04:00
2021-08-25 18:15:10 -04:00
2021-08-25 18:15:10 -04:00
2021-08-25 18:15:10 -04:00
2022-09-28 11:11:37 +02:00
2022-09-28 11:11:37 +02:00
2022-03-08 19:12:37 +01:00
2021-08-05 21:17:58 -04:00
2022-03-08 19:12:52 +01:00
2021-08-24 15:36:50 -04:00
2021-08-30 14:59:33 -04:00
2022-09-15 11:30:01 +02:00
2021-07-23 10:07:59 -04:00
2022-09-05 10:30:11 +02:00
2021-06-30 00:18:22 -04:00
2021-08-24 15:35:25 -04:00
2022-07-12 16:35:06 +02:00
2021-07-23 10:08:00 -04:00
2021-08-05 21:17:59 -04:00
2021-08-05 21:17:59 -04:00
2021-08-05 21:17:59 -04:00
2022-09-15 11:30:01 +02:00
2021-08-09 15:44:47 -04:00
2021-12-01 09:04:56 +01:00
2021-12-22 09:32:49 +01:00
2021-08-18 18:22:46 -04:00
2021-12-22 09:32:49 +01:00
2021-12-22 09:32:49 +01:00
2021-11-18 19:16:43 +01:00
2022-04-20 09:34:14 +02:00
2022-04-20 09:34:14 +02:00
2022-09-05 10:30:11 +02:00
2022-09-05 10:30:11 +02:00
2021-06-30 00:18:23 -04:00
2021-08-24 15:36:18 -04:00
2021-08-24 15:36:18 -04:00
2021-08-24 15:36:18 -04:00
2022-09-15 11:30:02 +02:00
2021-12-22 09:32:49 +01:00
2021-12-22 09:32:49 +01:00
2021-12-22 09:32:49 +01:00
2021-12-22 09:32:49 +01:00
2021-08-18 18:22:25 -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
2022-09-23 14:15:49 +02:00
2022-09-23 14:15:49 +02:00
2022-09-23 14:15:49 +02:00
2022-07-12 16:35:06 +02:00
2021-07-23 10:08:00 -04:00
2022-04-20 09:34:14 +02:00
2021-07-23 10:08:00 -04:00
2021-08-16 15:18:04 -04:00
2021-07-23 10:08:01 -04:00
2021-07-23 10:08:01 -04:00
2021-08-16 15:18:04 -04:00
2021-08-16 15:18:04 -04:00
2021-07-28 22:15:44 -04:00
2022-09-23 14:15:49 +02:00
2022-06-09 10:22:34 +02:00
2022-06-09 10:22:34 +02:00
2022-07-12 16:35:06 +02:00
2021-07-08 15:12:51 -04:00
2021-06-30 00:18:22 -04:00
2021-07-23 10:07:59 -04:00
2022-09-23 14:15:49 +02:00
2021-08-18 18:22:24 -04:00
2021-08-05 21:17:58 -04:00
2021-08-05 21:17:58 -04:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:17:12 +01:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:16:24 +01:00
2021-11-18 19:16:24 +01:00
2022-01-05 12:42:38 +01:00
2021-11-18 19:16:11 +01:00
2021-11-18 19:16:11 +01:00
2022-07-12 16:35:04 +02:00
2022-09-23 14:15:49 +02:00
2022-09-23 14:15:49 +02:00
2022-07-12 16:35:06 +02:00