summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl.c11
-rw-r--r--src/intel/isl/isl.h6
2 files changed, 0 insertions, 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,