intel: add alignment helper for aux map

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23198>
This commit is contained in:
Lionel Landwerlin
2023-05-23 10:10:21 +03:00
committed by Marge Bot
parent b772499a09
commit 195fbffac8
2 changed files with 15 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ intel_aux_map_init(void *driver_ctx,
struct intel_mapped_pinned_buffer_alloc *buffer_alloc,
const struct intel_device_info *devinfo);
uint32_t
intel_aux_map_get_alignment(struct intel_aux_map_context *ctx);
void
intel_aux_map_finish(struct intel_aux_map_context *ctx);