summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-07-25 10:12:23 -0700
committerEric Anholt <eric@anholt.net>2007-07-25 10:12:23 -0700
commit9a4cc2e90595a41d3d3cb6a752e4b5a089a213d2 (patch)
treee0e42d8ac6cd976dc50a8d6b3859259ba6348371 /src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
parentd086f7ab2e38fc2b5398aed6823453ae53e5dcb8 (diff)
Add notes about bufmgr initialization failures.
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_bufmgr_ttm.c')
-rw-r--r--src/mesa/drivers/dri/common/dri_bufmgr_ttm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
index 4c3624382c..6e29199cd8 100644
--- a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
+++ b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
@@ -392,6 +392,7 @@ dri_bufmgr_ttm_init(int fd, unsigned int fence_type,
test_alloc = dri_bo_alloc((dri_bufmgr *)bufmgr_ttm, "test allocation",
4096, 4096, DRM_BO_FLAG_MEM_LOCAL | DRM_BO_FLAG_MEM_TT);
if (test_alloc == NULL) {
+ fprintf(stderr, "TTM test allocation failed\n");
_glthread_DESTROY_MUTEX(bufmgr_ttm->mutex);
free(bufmgr_ttm);
return NULL;