[Mesa-dev] [PATCH 01/14] isl: Get rid of tiling_get_extent
Jason Ekstrand
jason at jlekstrand.net
Sat Jul 9 19:17:18 UTC 2016
It was unused
---
src/intel/isl/isl.c | 11 -----------
src/intel/isl/isl.h | 6 ------
2 files changed, 17 deletions(-)
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 77b570d..72b681e 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -166,17 +166,6 @@ isl_tiling_get_info(const struct isl_device *dev,
return true;
}
-void
-isl_tiling_get_extent(const struct isl_device *dev,
- enum isl_tiling tiling,
- uint32_t format_block_size,
- struct isl_extent2d *e)
-{
- struct isl_tile_info tile_info;
- isl_tiling_get_info(dev, tiling, format_block_size, &tile_info);
- *e = isl_extent2d(tile_info.width, tile_info.height);
-}
-
/**
* @param[out] tiling is set only on success
*/
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index ef86228..985b605 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1003,12 +1003,6 @@ isl_tiling_get_info(const struct isl_device *dev,
enum isl_tiling tiling,
uint32_t format_block_size,
struct isl_tile_info *info);
-
-void
-isl_tiling_get_extent(const struct isl_device *dev,
- enum isl_tiling tiling,
- uint32_t format_block_size,
- struct isl_extent2d *e);
bool
isl_surf_choose_tiling(const struct isl_device *dev,
const struct isl_surf_init_info *restrict info,
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list