diff options
author | Felix Kuehling <[email protected]> | 2021-09-10 15:18:20 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-17 16:58:03 -0500 |
commit | b5f57384805a34f497edb8b04d694a8a1b3d81d4 (patch) | |
tree | 35a69d3354562a7c775ec0cdd1e7c17878fb63eb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 087451f372bf76d971184caa258807b7c35aac8f (diff) |
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