isl: Get rid of tiling_get_extent
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 8 Jul 2016 20:59:05 +0000 (13:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Jul 2016 18:47:37 +0000 (11:47 -0700)
It was unused

Reviewed-by: Chad Versace <chad.versace@intel.com>
src/intel/isl/isl.c
src/intel/isl/isl.h

index 77b570df3cd547eb12a579f77e6085d30dc4af94..72b681ed215cbc8a478b115634a1e48094b3d2c0 100644 (file)
@@ -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
  */
index ef862282a2a8bc14a69b9cd7c19c77cd91f6f7d5..985b605c18164b538c3d422c64ddfda716958882 100644 (file)
@@ -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,