aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-18 20:33:44 -0400
committerDave Airlie <airlied@redhat.com>2010-03-30 23:11:35 -0400
commit97f23b3d85a4d734a8584dade3a34579931c8f8d (patch)
tree863d7dfd484323e60897b8a955627dc60737acc9
parenta084e6ee6e64a76f1a9665d527203cdab7d6048f (diff)
drm/radeon/kms: don't print error on -ERESTARTSYS.
We can get this if the user moves the mouse when we are waiting to move some stuff around in the validate. Don't fail. Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c
index 70ba02ed7723..dd190f9315d3 100644
--- a/drivers/gpu/drm/radeon/radeon_cs.c
+++ b/drivers/gpu/drm/radeon/radeon_cs.c
@@ -243,7 +243,8 @@ int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
243 } 243 }
244 r = radeon_cs_parser_relocs(&parser); 244 r = radeon_cs_parser_relocs(&parser);
245 if (r) { 245 if (r) {
246 DRM_ERROR("Failed to parse relocation !\n"); 246 if (r != -ERESTARTSYS)
247 DRM_ERROR("Failed to parse relocation %d!\n", r);
247 radeon_cs_parser_fini(&parser, r); 248 radeon_cs_parser_fini(&parser, r);
248 mutex_unlock(&rdev->cs_mutex); 249 mutex_unlock(&rdev->cs_mutex);
249 return r; 250 return r;