summaryrefslogtreecommitdiff
path: root/src/gralloc/gralloc_gem_radeon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gralloc/gralloc_gem_radeon.c')
-rw-r--r--src/gralloc/gralloc_gem_radeon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gralloc/gralloc_gem_radeon.c b/src/gralloc/gralloc_gem_radeon.c
index 469a1488a0..c7382e039d 100644
--- a/src/gralloc/gralloc_gem_radeon.c
+++ b/src/gralloc/gralloc_gem_radeon.c
@@ -72,10 +72,12 @@ eg_init_tile_config(struct radeon_info *info)
memset(&ginfo, 0, sizeof(ginfo));
ginfo.request = RADEON_INFO_TILING_CONFIG;
ginfo.value = (long) &val;
+ LOGE("PFO gralloc line : %d", __LINE__);
ret = drmCommandWriteRead(info->drm->fd, DRM_RADEON_INFO, &ginfo, sizeof(ginfo));
if (ret)
return ret;
+ LOGE("PFO gralloc line : %d", __LINE__);
info->tile_config = val;
switch (info->tile_config & 0xf) {
@@ -95,6 +97,7 @@ eg_init_tile_config(struct radeon_info *info)
return -EINVAL;
break;
}
+ LOGE("PFO gralloc line : %d", __LINE__);
info->num_banks = (info->tile_config & 0xf0) >> 4;
@@ -110,7 +113,8 @@ eg_init_tile_config(struct radeon_info *info)
break;
}
- info->have_tiling_info = 1;
+ LOGE("PFO gralloc line : %d", __LINE__);
+ info->have_tiling_info = 1;
info->allow_color_tiling = 0;
return 0;