From 58c1b1088bdffe38f2f80fff4bd07708aa22e0c7 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 8 Jul 2016 13:59:05 -0700 Subject: [PATCH] isl: Get rid of tiling_get_extent It was unused Reviewed-by: Chad Versace --- 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 77b570df3cd..72b681ed215 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 ef862282a2a..985b605c181 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.30.2