disp: msm: sde: add support for ppb size programming

MDSS 10.0 onwards, hw supports programming of pingpong
latency buffer size based on the resolution of display.
In prior targets full size of the latency buffer is used.
This change adds required support in sde driver to program
the pingpong buffer size based on systems recommended
latency lines requirement and the display resolution.

Change-Id: I172b19e5b397eb86190de57fed36f24cd67d2207
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
这个提交包含在:
Prabhanjan Kandula
2022-12-29 12:41:28 -08:00
父节点 f6284fb3fa
当前提交 a2f3cba8ca
修改 10 个文件,包含 223 行新增6 行删除

查看文件

@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef _SDE_HWIO_H
@@ -33,6 +34,7 @@
#define PPB0_CONFIG 0x334
#define PPB1_CNTL 0x338
#define PPB1_CONFIG 0x33C
#define PPB_FIFO_SIZE 0x350
#define PPB2_CNTL 0x370
#define PPB3_CNTL 0x374
#define HW_EVENTS_CTL 0x37C