disp: msm: sde: add demura v2 support

Add support for demura v2 by adding demura blocks
2 and 3 for pineapple target.

Change-Id: I9e6107480ab44853ca49e6396787378c5c70557a
Signed-off-by: Mitika Dodiya <quic_mdodiya@quicinc.com>
This commit is contained in:
Mitika Dodiya
2022-07-25 23:24:57 +05:30
committed by Gerrit - the friendly Code Review server
parent 571d51727b
commit c9298e3712
10 changed files with 293 additions and 74 deletions

View File

@@ -639,6 +639,12 @@ struct drm_msm_spr_udc_cfg {
#define CFG0_PARAM2_LEN 256
#define CFG5_PARAM01_LEN 4
#define CFG3_PARAM01_LEN 4
#define DEMURA_FLAG_0 (1 << 0)
#define DEMURA_FLAG_1 (1 << 1)
#define DEMURA_FLAG_2 (3 << 2)
#define DEMURA_PRECISION_0 (0 << 2)
#define DEMURA_PRECISION_1 (1 << 2)
#define DEMURA_PRECISION_2 (2 << 2)
struct drm_msm_dem_cfg {
__u64 flags;