diff options
| author | Geoffrey McRae <geoffrey.mcrae@amd.com> | 2025-07-08 06:53:40 +0300 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-12 21:14:54 +0300 | 
| commit | 57af162bfc8c05332a28c4d458d246cc46d2746d (patch) | |
| tree | 48769a7a2c82bfcf062ab8651e8d172eafd2959d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | 065e23170a1e09bc9104b761183e59562a029619 (diff) | |
| download | linux-57af162bfc8c05332a28c4d458d246cc46d2746d.tar.xz | |
drm/amdkfd: return -ENOTTY for unsupported IOCTLs
Some kfd ioctls may not be available depending on the kernel version the
user is running, as such we need to report -ENOTTY so userland can
determine the cause of the ioctl failure.
Signed-off-by: Geoffrey McRae <geoffrey.mcrae@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
