Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e694b79a authored by Prashant Beniwal's avatar Prashant Beniwal Committed by Gerrit - the friendly Code Review server
Browse files

disp: uapi: drm: Add new blend type for CAC



Change adds new blend type for CAC to perform
blending operation on layer color components.

Change-Id: I194e1a7953dd5828fc9ae374aa6b6f7f1bf0eb37
Signed-off-by: default avatarGovinda Rao K S <quic_gkarikur@quicinc.com>
Signed-off-by: default avatarPrashant Beniwal <quic_pbeniw@quicinc.com>
parent a85aa0c7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
 * Copyright (c) 2017-2018, 2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 */

#ifndef _SDE_DRM_H_
@@ -53,6 +54,8 @@
 *                                  alpha pre-multiplied. Apply
 *                                  pre-multiplication. If fg plane alpha is
 *                                  less than 0xff, apply modulation as well.
 * @SDE_DRM_BLEND_OP_LAYER_COLOR:   Blend_op type for layer color component,
 *                                  apply a constant blend operation.
 * @SDE_DRM_BLEND_OP_MAX:           Used to track maximum blend operation
 *                                  possible by mdp.
 */
@@ -60,7 +63,8 @@
#define SDE_DRM_BLEND_OP_OPAQUE         1
#define SDE_DRM_BLEND_OP_PREMULTIPLIED  2
#define SDE_DRM_BLEND_OP_COVERAGE       3
#define SDE_DRM_BLEND_OP_MAX            4
#define SDE_DRM_BLEND_OP_LAYER_COLOR    4
#define SDE_DRM_BLEND_OP_MAX            5

/**
 * Bit masks for "src_config" property