disp: msm: sde: add support for 4k aligned memory pools

Add support for HDR memory pool blocks aligned to a 4k page
address. This feature must be enabled by setting the
corresponding feature bit for supported targets.

Change-Id: I696ffb6ce3b607741f26496d40e2296c4c5bdb4b
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Steve Cohen
2019-09-20 18:40:38 -04:00
committed by Gerrit - the friendly Code Review server
parent bfbb5f63e7
commit 3f4a79d45a
4 changed files with 44 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _SDE_HWIO_H
@@ -57,6 +57,11 @@
#define DP_DHDR_MEM_POOL_0_NUM_BYTES 0x47c
#define DP_DHDR_MEM_POOL_1_NUM_BYTES 0x480
#define DP_DHDR_MEM_POOL_0_DATA_4K 0x1004
#define DP_DHDR_MEM_POOL_1_DATA_4K 0x2004
#define DP_DHDR_MEM_POOL_0_NUM_BYTES_4K 0x100c
#define DP_DHDR_MEM_POOL_1_NUM_BYTES_4K 0x200c
/* SDE_SCALER_QSEED3 */
#define QSEED3_COEF_LUT_OFF 0x100
#define QSEED3_FILTERS 5