summaryrefslogtreecommitdiff
path: root/src/gralloc/gralloc_mod.c
diff options
context:
space:
mode:
authorpfo <pfolinux@rdi-linux>2011-05-31 15:19:45 +0200
committerpfo <pfolinux@rdi-linux>2011-05-31 15:19:45 +0200
commitdf1458659d427f8664c59dc5a4622da15a18b640 (patch)
tree4c7962ee6bd4bdf7a0649521b6ec1dc787959f2b /src/gralloc/gralloc_mod.c
parent1b4213420775d128d952946bea5c85998790eb57 (diff)
Verbose output for radeon/drm
Diffstat (limited to 'src/gralloc/gralloc_mod.c')
-rw-r--r--src/gralloc/gralloc_mod.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gralloc/gralloc_mod.c b/src/gralloc/gralloc_mod.c
index bc0786eb3e..7f708616c8 100644
--- a/src/gralloc/gralloc_mod.c
+++ b/src/gralloc/gralloc_mod.c
@@ -138,18 +138,22 @@ drm_mod_alloc_gpu0(alloc_device_t *dev, int w, int h, int format, int usage,
struct drm_bo_t *bo;
int size, bpp, ret;
+ LOGE("PFO gralloc line : %d", __LINE__);
ret = drm_gem_drv_init(drm);
if (ret)
return ret;
+ LOGE("PFO gralloc line : %d", __LINE__);
bpp = drm_mod_get_bpp(format);
if (!bpp)
return -EINVAL;
+ LOGE("PFO gralloc line : %d", __LINE__);
bo = drm_gem_drv_alloc(drm, w, h, format, usage, stride);
if (!bo)
return -EINVAL;
- if (bo->usage & GRALLOC_USAGE_HW_FB) {
+ LOGE("PFO gralloc line : %d", __LINE__);
+ if (bo->usage & GRALLOC_USAGE_HW_FB) {
ret = drm_kms_add_fb(drm, bo);
if (ret) {
LOGE("failed to add fb");