intel/common: Drop unused gen_aux_map_add_image
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 27 Jul 2020 18:52:59 +0000 (11:52 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Sep 2020 20:02:03 +0000 (20:02 +0000)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6486>

src/intel/common/gen_aux_map.c
src/intel/common/gen_aux_map.h

index d84bc7b..23f4ba9 100644 (file)
@@ -466,15 +466,6 @@ gen_aux_map_add_mapping(struct gen_aux_map_context *ctx, uint64_t address,
       p_atomic_inc(&ctx->state_num);
 }
 
-void
-gen_aux_map_add_image(struct gen_aux_map_context *ctx,
-                      const struct isl_surf *isl_surf, uint64_t address,
-                      uint64_t aux_address)
-{
-   gen_aux_map_add_mapping(ctx, address, aux_address, isl_surf->size_B,
-                           gen_aux_map_format_bits_for_isl_surf(isl_surf));
-}
-
 /**
  * We mark the leaf entry as invalid, but we don't attempt to cleanup the
  * other levels of translation mappings. Since we attempt to re-use VMA
index 271d429..36bd638 100644 (file)
@@ -102,11 +102,6 @@ gen_aux_map_add_mapping(struct gen_aux_map_context *ctx, uint64_t address,
                         uint64_t format_bits);
 
 void
-gen_aux_map_add_image(struct gen_aux_map_context *ctx,
-                      const struct isl_surf *isl_surf, uint64_t address,
-                      uint64_t aux_address);
-
-void
 gen_aux_map_unmap_range(struct gen_aux_map_context *ctx, uint64_t address,
                         uint64_t size);