Files
linux/include/uapi/linux
Daniel Phillips 9731dd4cad drm/amdkfd: Add available memory ioctl
Add a new KFD ioctl to return the largest possible memory size that
can be allocated as a buffer object using
kfd_ioctl_alloc_memory_of_gpu. It attempts to use exactly the same
accept/reject criteria as that function so that allocating a new
buffer object of the size returned by this new ioctl is guaranteed to
succeed, barring races with other allocating tasks.

This IOCTL will be used by libhsakmt:
https://www.mail-archive.com/amd-gfx@lists.freedesktop.org/msg75743.html

Signed-off-by: Daniel Phillips <Daniel.Phillips@amd.com>
Signed-off-by: David Yat Sin <David.YatSin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-06-14 21:38:40 -04:00
..
2022-02-21 19:33:05 +00:00
2021-01-25 18:44:44 +01:00
2020-05-28 11:22:14 +02:00
2020-12-28 14:21:31 +00:00
2021-11-01 13:36:08 +00:00
2020-08-12 10:58:00 -07:00
2020-10-09 12:47:02 -06:00
2021-11-26 16:48:59 +01:00
2020-07-19 19:20:22 -07:00
2022-04-04 08:55:23 +02:00
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2020-07-13 15:32:56 -07:00
2021-02-26 09:41:03 -08:00
2021-03-10 09:34:06 +01:00
2020-08-18 15:44:44 +02:00
2022-03-08 22:06:11 -08:00
2021-10-14 23:06:28 +02:00
2021-07-06 10:37:46 -05:00
2022-03-18 13:09:17 +02:00
2021-03-10 09:34:06 +01:00
2021-01-07 16:17:32 +01:00
2021-09-16 14:36:26 +01:00
2020-10-23 11:55:28 -04:00
2021-06-12 13:16:45 -07:00
2020-07-13 15:32:56 -07:00