From: Kishore Kadiyala Date: Mon, 8 Jan 2018 08:06:09 +0000 (+0530) Subject: Revert "Add support to query tiling mode." X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-minigbm.git;a=commitdiff_plain;h=7b767e105fa63154c19cb92f16f3b447ebb485ee Revert "Add support to query tiling mode." This reverts commit 311ab3c38550652b52c559722460c9bb6284d6fa. Jira: None Test: Video playback should be PASS Signed-off-by: Kishore Kadiyala --- diff --git a/cros_gralloc/cros_gralloc_driver.cc b/cros_gralloc/cros_gralloc_driver.cc index 615cb61..28857c2 100644 --- a/cros_gralloc/cros_gralloc_driver.cc +++ b/cros_gralloc/cros_gralloc_driver.cc @@ -141,7 +141,6 @@ int32_t cros_gralloc_driver::allocate(const struct cros_gralloc_buffer_descripto hnd->width = drv_bo_get_width(bo); hnd->height = drv_bo_get_height(bo); hnd->format = drv_bo_get_format(bo); - hnd->tiling_mode = drv_bo_get_stride_or_tiling(bo); hnd->use_flags[0] = static_cast(descriptor->use_flags >> 32); hnd->use_flags[1] = static_cast(descriptor->use_flags); hnd->pixel_stride = drv_bo_get_stride_in_pixels(bo); diff --git a/cros_gralloc/cros_gralloc_handle.h b/cros_gralloc/cros_gralloc_handle.h index 4759599..36b56a4 100644 --- a/cros_gralloc/cros_gralloc_handle.h +++ b/cros_gralloc/cros_gralloc_handle.h @@ -27,7 +27,6 @@ struct cros_gralloc_handle { uint32_t width; uint32_t height; uint32_t format; /* DRM format */ - uint32_t tiling_mode; uint32_t use_flags[2]; /* Buffer creation flags */ uint32_t magic; uint32_t pixel_stride;