summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-18 16:02:33 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-18 16:02:33 +0200
commitc4fad4c96168a3dfabaa8a7e97758fefd014c8a7 (patch)
treefc99929797b17fb75d510b73d1edbfcd7abf255e /linux-core
parentf613022ceef1814cb734bb3375f01962fd3bcf10 (diff)
More verbose error reporting in some cases.
Add a buffer object waitIdle user-space function. Fix some names and minor glitches.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_fence.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/drm_fence.c b/linux-core/drm_fence.c
index 5d051d4a..41fe62a8 100644
--- a/linux-core/drm_fence.c
+++ b/linux-core/drm_fence.c
@@ -207,7 +207,8 @@ int drm_fence_object_flush(drm_device_t * dev,
unsigned long flags;
if (type & ~fence->type) {
- DRM_ERROR("Flush trying to extend fence type\n");
+ DRM_ERROR("Flush trying to extend fence type, "
+ "0x%x, 0x%x\n", type, fence->type);
return -EINVAL;
}
@@ -269,7 +270,8 @@ int drm_fence_object_wait(drm_device_t * dev, drm_fence_object_t * fence,
int signaled;
if (mask & ~fence->type) {
- DRM_ERROR("Wait trying to extend fence type\n");
+ DRM_ERROR("Wait trying to extend fence type"
+ " 0x%08x 0x%08x\n", mask, fence->type);
return -EINVAL;
}