diff options
| author | Felix Kuehling <[email protected]> | 2021-09-10 19:18:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-11-17 21:58:03 +0000 |
| commit | b5f57384805a34f497edb8b04d694a8a1b3d81d4 (patch) | |
| tree | 35a69d3354562a7c775ec0cdd1e7c17878fb63eb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: use generic fb helpers instead of setting up AMD own's. (diff) | |
| download | kernel-b5f57384805a34f497edb8b04d694a8a1b3d81d4.tar.gz kernel-b5f57384805a34f497edb8b04d694a8a1b3d81d4.zip | |
drm/amdkfd: Add sysfs bitfields and enums to uAPI
These bits are de-facto part of the uAPI, so declare them in a uAPI header.
The corresponding bit-fields and enums in user mode are defined in
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/blob/master/include/hsakmttypes.h
HSA_CAP_... -> HSA_CAPABILITY
HSA_MEM_HEAP_TYPE_... -> HSA_HEAPTYPE
HSA_MEM_FLAGS_... -> HSA_MEMORYPROPERTY
HSA_CACHE_TYPE_... -> HsaCacheType
HSA_IOLINK_TYPE_... -> HSA_IOLINKTYPE
HSA_IOLINK_FLAGS_... -> HSA_LINKPROPERTY
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Jonathan Kim <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
