[PATCH] drm/radeon/kms: give better user feedback if a VM CS fails

alexdeucher at gmail.com alexdeucher at gmail.com
Tue Feb 7 14:25:22 PST 2012


From: Alex Deucher <alexander.deucher at amd.com>

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/radeon/radeon_cs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c
index 435a3d9..22e0afe 100644
--- a/drivers/gpu/drm/radeon/radeon_cs.c
+++ b/drivers/gpu/drm/radeon/radeon_cs.c
@@ -413,6 +413,7 @@ static int radeon_cs_ib_vm_chunk(struct radeon_device *rdev,
 	}
 	r = radeon_ring_ib_parse(rdev, parser->ring, parser->ib);
 	if (r) {
+		DRM_ERROR("Invalid VM CS\n");
 		return r;
 	}
 
-- 
1.7.7.5



More information about the dri-devel mailing list