intel/common: Drop unused gen_aux_map_add_image

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6486>
This commit is contained in:
Nanley Chery 2020-07-27 11:52:59 -07:00 committed by Marge Bot
parent 82720852bd
commit 80a8bb590a
2 changed files with 0 additions and 14 deletions

View 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

View file

@ -101,11 +101,6 @@ gen_aux_map_add_mapping(struct gen_aux_map_context *ctx, uint64_t address,
uint64_t aux_address, uint64_t main_size_B,
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);