disp: msm: add cwb dither support
Add cwb dither support. Catalog: Read dtsi value of cwb dither in pp parse part. Wb: Install blob property for cwb dither. Wb hw: Adds a new wb ops function to program cwb dither hardware. CRTC: To ensure that userspace can check whether cwb dither is supported, added "has_cwb_dither" to sde kms info. PingPong: In order to reuse dither's map array, move dither_depth_map array to pp header file. Change-Id: I77e6a052a00b7c649452103145e5d7b4c8deb3a2 Signed-off-by: Yuchao Ma <yuchaom@codeaurora.org>
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SDE_HW_PINGPONG_H
|
||||
@@ -15,6 +15,11 @@
|
||||
struct sde_hw_pingpong;
|
||||
struct sde_hw_merge_3d;
|
||||
|
||||
#define DITHER_DEPTH_MAP_INDEX 9
|
||||
static u32 dither_depth_map[DITHER_DEPTH_MAP_INDEX] = {
|
||||
0, 0, 0, 0, 0, 1, 2, 3, 3
|
||||
};
|
||||
|
||||
struct sde_hw_dsc_cfg {
|
||||
u8 enable;
|
||||
};
|
||||
|
新增問題並參考
封鎖使用者