Commit df85baa7 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: return an error in the userq IOCTL when DRM_AMDGPU_NAVI3X_USERQ=n



I'd swear this was already fixed, but I guess the patch never
landed.  Add it now.

Reviewed-by: default avatarPrike Liang <Prike.Liang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 2a060b3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ int amdgpu_userq_ioctl(struct drm_device *dev, void *data,
int amdgpu_userq_ioctl(struct drm_device *dev, void *data,
		       struct drm_file *filp)
{
	return 0;
	return -ENOTSUPP;
}
#endif