summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorGeoffrey McRae <geoffrey.mcrae@amd.com>2025-07-08 06:53:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-08-12 21:14:54 +0300
commit57af162bfc8c05332a28c4d458d246cc46d2746d (patch)
tree48769a7a2c82bfcf062ab8651e8d172eafd2959d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent065e23170a1e09bc9104b761183e59562a029619 (diff)
downloadlinux-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