remove warning about amdgpu userptr ioctl being unimplemented
authorjsg <jsg@openbsd.org>
Sat, 20 Feb 2021 21:50:04 +0000 (21:50 +0000)
committerjsg <jsg@openbsd.org>
Sat, 20 Feb 2021 21:50:04 +0000 (21:50 +0000)
matches radeon and i915
reported by Benjamin Baier

sys/dev/pci/drm/amd/amdgpu/amdgpu_gem.c

index 8032459..3ee5c57 100644 (file)
@@ -297,7 +297,6 @@ int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data,
 int amdgpu_gem_userptr_ioctl(struct drm_device *dev, void *data,
                             struct drm_file *filp)
 {
-       STUB();
        return -ENOSYS;
 #ifdef notyet
        struct ttm_operation_ctx ctx = { true, false };