]> Git Repo - linux.git/commitdiff
drm/amdgpu: lower CS errors to debug severity
authorChristian König <[email protected]>
Thu, 9 Nov 2023 09:14:14 +0000 (10:14 +0100)
committerAlex Deucher <[email protected]>
Thu, 9 Nov 2023 22:00:17 +0000 (17:00 -0500)
Otherwise userspace can spam the logs by using incorrect input values.

Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c

index 0245de81cabdd0e911e662ee19d1dd2ba063cb49..1e35e9c06b09586fb050ee3c9b0dc06fc8800f47 100644 (file)
@@ -1414,7 +1414,7 @@ int amdgpu_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
                if (r == -ENOMEM)
                        DRM_ERROR("Not enough memory for command submission!\n");
                else if (r != -ERESTARTSYS && r != -EAGAIN)
-                       DRM_ERROR("Failed to process the buffer list %d!\n", r);
+                       DRM_DEBUG("Failed to process the buffer list %d!\n", r);
                goto error_fini;
        }
 
This page took 0.058989 seconds and 4 git commands to generate.