diff options
| author | Daniel Phillips <[email protected]> | 2022-05-30 15:21:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-06-15 01:38:40 +0000 |
| commit | 9731dd4cadc53251ef80b3655c8d841fed52fa3d (patch) | |
| tree | d2385079c1d0da89501f0e8cc3aacb33244d9479 /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
| parent | Revert "drm/amdgpu/gmc11: enable AGP aperture" (diff) | |
| download | kernel-9731dd4cadc53251ef80b3655c8d841fed52fa3d.tar.gz kernel-9731dd4cadc53251ef80b3655c8d841fed52fa3d.zip | |
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/[email protected]/msg75743.html
Signed-off-by: Daniel Phillips <[email protected]>
Signed-off-by: David Yat Sin <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
0 files changed, 0 insertions, 0 deletions
