video: tegra: nvmap: Update carveout name

Compression carveout is not correct carveout name as it will be used
by gpu even for non-compression usecases. Hence rename it to gpu
carveout.

Bug 3956637

Change-Id: I802b91d58d9ca120e34655c21f56c0da8c8cf677
Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2955536
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
This commit is contained in:
Ketan Patil
2023-08-11 15:27:43 +00:00
committed by mobile promotions
parent 3e51976226
commit 1c2599bcba
7 changed files with 48 additions and 48 deletions

View File

@@ -717,7 +717,7 @@ static void alloc_handle(struct nvmap_client *client,
void *cpu_addr;
if (h->pgalloc.pages &&
h->heap_type == NVMAP_HEAP_CARVEOUT_COMPRESSION) {
h->heap_type == NVMAP_HEAP_CARVEOUT_GPU) {
unsigned long page_count;
u32 granule_size = 0;
int i;