From patchwork Wed Feb 13 10:01:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 2134981 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3DEB3E00C6 for ; Wed, 13 Feb 2013 10:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933407Ab3BMKB2 (ORCPT ); Wed, 13 Feb 2013 05:01:28 -0500 Received: from mail-da0-f49.google.com ([209.85.210.49]:65015 "EHLO mail-da0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933344Ab3BMKB1 (ORCPT ); Wed, 13 Feb 2013 05:01:27 -0500 Received: by mail-da0-f49.google.com with SMTP id t11so485966daj.36 for ; Wed, 13 Feb 2013 02:01:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=M4NRQ93LM+m3mh1TMjDS5rOMy9/9SW8Jva4Zk6+oHtM=; b=DE+Tzbo2e6ChvkxsMMiVkONFrULN4mhdldyALA+uxO9nEESOYzSE5+UQALyICqri3o QnLzc75okPW1NDTQpVhth0GciHAXV0NsV5BqAPiUQvwuYWgvsJ6HZhTdp7nMkMkvbr3n Mj4Vwn03ElvrVYyanP+dLr7cyXHO7W0pGT9Invwjklq9TvJFnGP5UUheypPYcpBrvUhg TIipg2b3EksbkKtGcEJrdFgDm8cuxNO142/rKEYDu1UuyVq40a5GqWWK7cmvcann7Haj KF+XjTvQj6WqNq+bZw97d3bXqhea/94QbBEHCHxUK6F83xnxAaEA2sXEWBrMHswI8k4w hMdA== X-Received: by 10.66.76.37 with SMTP id h5mr61873241paw.33.1360749686221; Wed, 13 Feb 2013 02:01:26 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id o5sm82268652pay.5.2013.02.13.02.01.20 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 02:01:25 -0800 (PST) From: Vikas Sajjan To: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org, kgene.kim@samsung.com, inki.dae@samsung.com, l.krishna@samsung.com, joshi@samsung.com, aditya.ps@samsung.com, tom.gall@linaro.org, patches@linaro.org, linux-samsung-soc@vger.kernel.org, ragesh.r@linaro.org, jesse.barker@linaro.org, robdclark@gmail.com, sumit.semwal@linaro.org Subject: [RFC v2 1/3] video: display: Adding frame related ops to MIPI DSI video source struct Date: Wed, 13 Feb 2013 15:31:05 +0530 Message-Id: <1360749667-12028-2-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360749667-12028-1-git-send-email-vikas.sajjan@linaro.org> References: <1360749667-12028-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQnKA+HqjB71evfWfZSr3+TMnuebP2cheMYtcSqXhRdLEbccKhd3tKUbp5BCOJ7Ji1Q755JI Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Adds the frame related ops to MIPI DSI video source struct Signed-off-by: Vikas Sajjan --- include/video/display.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/video/display.h b/include/video/display.h index b639fd0..fb2f437 100644 --- a/include/video/display.h +++ b/include/video/display.h @@ -117,6 +117,12 @@ struct dsi_video_source_ops { void (*enable_hs)(struct video_source *src, bool enable); + /* frame related */ + int (*get_frame_done)(struct video_source *src); + int (*clear_frame_done)(struct video_source *src); + int (*set_early_blank_mode)(struct video_source *src, int power); + int (*set_blank_mode)(struct video_source *src, int power); + /* data transfer */ int (*dcs_write)(struct video_source *src, int channel, u8 *data, size_t len);