Joel Fernandes
ba110db8e1
gpu: Move DRM buddy allocator one level up (part two)
...
Move the DRM buddy allocator one level up so that it can be used by GPU
drivers (example, nova-core) that have usecases other than DRM (such as
VFIO vGPU support). Modify the API, structures and Kconfigs to use
"gpu_buddy" terminology. Adapt the drivers and tests to use the new API.
The commit cannot be split due to bisectability, however no functional
change is intended. Verified by running K-UNIT tests and build tested
various configurations.
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
[airlied: I've split this into two so git can find copies easier.
I've also just nuked drm_random library, that stuff needs to be done
elsewhere and only the buddy tests seem to be using it].
Signed-off-by: Dave Airlie <airlied@redhat.com >
2026-02-06 11:38:35 +10:00
..
2025-10-13 14:14:33 -04:00
2025-12-02 11:02:07 -05:00
2026-01-05 16:59:58 -05:00
2025-12-08 14:13:25 -05:00
2025-09-23 10:35:54 -04:00
2025-09-23 10:35:54 -04:00
2025-09-23 10:35:54 -04:00
2026-01-05 16:59:56 -05:00
2025-09-23 10:35:54 -04:00
2026-01-14 14:28:59 -05:00
2026-01-20 17:15:46 -05:00
2026-01-14 14:28:59 -05:00
2025-09-15 16:52:50 -04:00
2026-01-05 16:59:58 -05:00
2026-01-05 16:59:58 -05:00
2026-01-05 16:59:55 -05:00
2025-10-28 09:55:16 -04:00
2026-01-27 18:08:29 -05:00
2025-10-13 14:14:36 -04:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 13:56:33 -05:00
2025-10-28 11:02:36 -04:00
2025-12-08 13:56:30 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-15 14:49:33 +10:00
2026-01-28 12:44:28 +10:00
2026-01-20 17:17:23 -05:00
2025-10-13 14:14:36 -04:00
2026-01-14 14:51:36 -05:00
2025-10-28 09:56:14 -04:00
2026-02-05 10:33:06 +01:00
2025-12-16 13:27:13 -05:00
2025-12-08 13:56:38 -05:00
2026-01-14 15:07:43 -05:00
2025-09-09 16:18:34 -04:00
2026-01-21 14:55:56 -05:00
2026-01-05 16:59:55 -05:00
2026-01-14 14:57:34 -05:00
2025-11-11 21:54:17 -05:00
2026-01-10 14:21:52 -05:00
2025-09-02 15:34:00 -04:00
2026-01-29 12:26:55 -05:00
2026-01-05 16:59:54 -05:00
2026-01-27 18:09:04 -05:00
2025-12-08 14:14:38 -05:00
2026-01-08 11:42:53 -05:00
2025-11-04 11:33:54 -05:00
2025-11-04 11:33:54 -05:00
2025-11-04 11:33:53 -05:00
2025-10-13 14:14:36 -04:00
2025-09-16 17:47:22 -04:00
2026-01-28 16:21:45 -05:00
2025-11-14 11:27:56 -05:00
2025-09-25 15:39:00 -04:00
2025-09-15 16:51:18 -04:00
2026-01-05 16:59:55 -05:00
2025-12-16 13:27:10 -05:00
2025-12-16 13:27:10 -05:00
2026-01-05 16:59:55 -05:00
2025-12-16 13:27:42 -05:00
2026-01-05 17:29:51 -05:00
2026-01-05 17:29:51 -05:00
2026-02-05 11:02:56 +01:00
2026-01-20 17:25:53 -05:00
2025-10-13 14:14:15 -04:00
2025-09-09 16:18:08 -04:00
2026-01-05 17:34:48 -05:00
2026-01-27 18:02:06 -05:00
2026-01-27 18:02:06 -05:00
2025-10-28 09:56:14 -04:00
2026-02-05 10:33:06 +01:00
2026-01-10 14:21:35 -05:00
2025-09-15 16:51:53 -04:00
2026-01-08 11:43:09 -05:00
2026-01-05 16:59:57 -05:00
2025-10-28 11:31:45 -04:00
2026-01-27 18:13:24 -05:00
2025-11-06 10:02:15 -05:00
2026-02-06 11:38:35 +10:00
2025-11-04 11:53:59 -05:00
2026-02-06 11:38:35 +10:00
2025-09-05 17:38:38 -04:00
2025-09-05 17:38:38 -04:00
2026-01-21 14:27:45 -05:00
2026-01-21 14:27:45 -05:00
2025-12-08 13:56:31 -05:00
2026-01-05 16:59:57 -05:00
2025-12-10 17:38:26 -05:00
2025-10-28 11:31:45 -04:00
2025-12-08 13:56:31 -05:00
2026-01-10 14:21:35 -05:00
2026-01-08 11:42:53 -05:00
2025-12-08 13:56:31 -05:00
2025-12-08 13:56:31 -05:00
2025-11-14 11:28:15 -05:00
2025-11-06 09:58:31 -05:00
2026-01-20 17:16:12 -05:00
2025-09-05 17:38:38 -04:00
2026-01-29 12:26:15 -05:00
2026-01-20 17:16:12 -05:00
2025-09-15 16:55:41 -04:00
2026-01-05 16:59:55 -05:00
2025-11-11 21:54:18 -05:00
2025-11-11 21:54:18 -05:00
2026-01-05 16:59:57 -05:00
2025-10-20 18:25:58 -04:00
2026-01-10 14:06:33 -05:00
2026-01-05 16:59:57 -05:00
2026-01-05 16:59:55 -05:00
2025-09-01 10:49:31 +05:30
2025-12-08 13:56:35 -05:00
2025-09-01 10:49:31 +05:30
2026-01-14 15:06:51 -05:00
2025-12-08 13:56:30 -05:00
2026-01-05 16:59:55 -05:00
2026-02-06 11:38:35 +10:00
2026-02-06 11:38:35 +10:00
2025-12-10 17:39:33 -05:00
2025-12-08 13:56:30 -05:00
2025-11-14 11:27:29 -05:00
2025-09-15 16:52:31 -04:00
2026-01-29 12:26:26 -05:00
2025-12-08 13:56:34 -05:00
2025-12-08 13:56:30 -05:00
2026-01-05 16:59:54 -05:00
2025-09-05 17:38:40 -04:00
2026-01-05 16:59:55 -05:00
2025-12-02 11:02:06 -05:00
2026-01-05 16:59:55 -05:00
2025-10-28 11:03:04 -04:00
2025-12-02 11:02:06 -05:00
2025-12-02 09:20:22 +01:00
2025-12-02 09:20:22 +01:00
2025-12-02 09:20:22 +01:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 17:00:00 -05:00
2026-01-05 16:59:55 -05:00
2026-01-29 12:27:10 -05:00
2026-01-29 12:27:29 -05:00
2026-01-29 12:27:37 -05:00
2025-12-08 14:12:01 -05:00
2026-01-29 12:26:55 -05:00
2025-12-10 17:37:59 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:26:47 -05:00
2025-12-08 13:56:35 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-14 14:51:36 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:56 -05:00
2025-12-10 17:39:27 -05:00
2025-12-02 11:02:06 -05:00
2025-09-05 16:00:15 -04:00
2025-09-05 16:00:15 -04:00
2025-12-08 13:56:32 -05:00
2026-01-05 16:27:34 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 14:27:21 -05:00
2026-01-05 17:29:51 -05:00
2025-09-15 16:52:52 -04:00
2026-01-05 16:59:55 -05:00
2025-09-09 16:18:08 -04:00
2025-09-09 16:18:08 -04:00
2026-01-05 16:59:55 -05:00
2026-01-21 14:17:48 -05:00
2025-09-09 16:18:08 -04:00
2026-01-05 16:59:55 -05:00
2025-09-09 16:18:08 -04:00
2026-01-21 14:18:09 -05:00
2026-01-05 16:59:57 -05:00
2026-01-05 16:59:57 -05:00
2025-11-14 11:28:29 -05:00
2026-01-08 11:41:34 -05:00
2026-01-29 12:26:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:56 -05:00
2025-12-08 13:56:39 -05:00
2026-01-05 16:27:50 -05:00
2025-12-16 13:28:06 -05:00
2025-12-08 13:56:34 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 13:56:33 -05:00
2026-01-05 16:27:42 -05:00
2025-10-28 09:47:45 -04:00
2026-01-05 16:27:42 -05:00
2025-12-08 13:56:42 -05:00
2025-09-05 17:38:38 -04:00
2025-12-08 13:56:31 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 13:56:31 -05:00
2025-12-08 13:56:31 -05:00
2026-01-05 16:59:57 -05:00
2026-01-05 16:59:57 -05:00
2025-11-04 11:33:54 -05:00
2026-01-27 18:02:06 -05:00
2026-01-27 18:02:06 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 13:56:38 -05:00
2026-01-27 18:02:06 -05:00
2025-12-10 17:38:02 -05:00
2026-01-05 16:59:55 -05:00
2025-12-02 11:02:06 -05:00
2026-01-05 16:59:55 -05:00
2025-11-11 21:54:18 -05:00
2026-01-05 16:59:55 -05:00
2026-01-08 11:41:34 -05:00
2026-01-08 11:41:34 -05:00
2025-12-08 13:56:31 -05:00
2025-12-08 13:56:31 -05:00
2025-12-08 13:56:42 -05:00
2026-01-28 16:21:31 -05:00
2025-12-08 13:56:42 -05:00
2026-01-05 16:59:57 -05:00
2026-01-05 16:59:57 -05:00
2025-12-10 17:37:56 -05:00
2025-12-02 11:02:06 -05:00
2026-01-05 16:59:55 -05:00
2025-11-06 09:58:31 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2025-11-11 21:54:18 -05:00
2025-11-11 21:54:18 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2026-01-05 16:59:55 -05:00
2025-12-08 13:56:30 -05:00
2026-01-05 16:59:56 -05:00
2025-09-15 16:51:25 -04:00
2025-12-08 13:56:30 -05:00
2026-01-27 18:12:10 -05:00
2025-12-10 18:05:49 -05:00
2025-12-08 13:56:30 -05:00
2025-09-15 16:51:25 -04:00
2026-01-21 14:18:09 -05:00
2025-12-08 13:56:42 -05:00