Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Revert "Add support to query tiling mode."
Browse files Browse the repository at this point in the history
This reverts commit 311ab3c.

Jira: None
Test: Video playback should be PASS
Signed-off-by: Kishore Kadiyala <[email protected]>
  • Loading branch information
Kishore409 authored and kalyankondapally committed Jan 8, 2018
1 parent b01460f commit 7b767e1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion cros_gralloc/cros_gralloc_driver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t>(descriptor->use_flags >> 32);
hnd->use_flags[1] = static_cast<uint32_t>(descriptor->use_flags);
hnd->pixel_stride = drv_bo_get_stride_in_pixels(bo);
Expand Down
1 change: 0 additions & 1 deletion cros_gralloc/cros_gralloc_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7b767e1

Please sign in to comment.