|
@@ -1,6 +1,6 @@
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
/*
|
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
|
|
*/
|
|
|
|
|
@@ -4630,7 +4630,7 @@ void reg_dmav2_setup_dspp_3d_gamutv43(struct sde_hw_dspp *ctx, void *cfg)
|
|
|
if (len % transfer_size_bytes)
|
|
|
len = len + (transfer_size_bytes - len % transfer_size_bytes);
|
|
|
|
|
|
- data = kvzalloc(len, GFP_KERNEL);
|
|
|
+ data = vzalloc(len);
|
|
|
if (!data)
|
|
|
return;
|
|
|
|
|
@@ -4706,7 +4706,7 @@ void reg_dmav2_setup_dspp_3d_gamutv43(struct sde_hw_dspp *ctx, void *cfg)
|
|
|
_perform_sbdma_kickoff(ctx, hw_cfg, dma_ops, blk, GAMUT);
|
|
|
|
|
|
exit:
|
|
|
- kvfree(data);
|
|
|
+ vfree(data);
|
|
|
}
|
|
|
|
|
|
void reg_dmav2_setup_vig_gamutv61(struct sde_hw_pipe *ctx, void *cfg)
|