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>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
#include <linux/iopoll.h>
|
||||
@@ -33,11 +33,6 @@
|
||||
#define PP_DCE_DATA_IN_SWAP 0x0ac
|
||||
#define PP_DCE_DATA_OUT_SWAP 0x0c8
|
||||
|
||||
#define DITHER_DEPTH_MAP_INDEX 9
|
||||
static u32 dither_depth_map[DITHER_DEPTH_MAP_INDEX] = {
|
||||
0, 0, 0, 0, 0, 1, 2, 3, 3
|
||||
};
|
||||
|
||||
#define DITHER_VER_MAJOR_1 1
|
||||
/* supports LUMA Dither */
|
||||
#define DITHER_VER_MAJOR_2 2
|
||||
|
Reference in New Issue
Block a user