mdss: support for solid fill with color specified by HAL
This patch provides the support for filling the frame buffer with
any color specified by the HAL.
Change-Id: I9414764f858e309d35967430ef4e6f83d5e42e3e
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index 0efaa79..de31795 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -254,11 +254,19 @@
#define MDP_BLIT_REQ_VERSION 2
+struct color {
+ uint32_t r;
+ uint32_t g;
+ uint32_t b;
+ uint32_t alpha;
+};
+
struct mdp_blit_req {
struct mdp_img src;
struct mdp_img dst;
struct mdp_rect src_rect;
struct mdp_rect dst_rect;
+ struct color const_color;
uint32_t alpha;
uint32_t transp_mask;
uint32_t flags;