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: 2140571 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id A618F3FCFC for ; Thu, 14 Feb 2013 07:18:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B585E684E for ; Wed, 13 Feb 2013 23:18:16 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EE30E65F6 for ; Wed, 13 Feb 2013 02:01:26 -0800 (PST) Received: by mail-pa0-f41.google.com with SMTP id fb11so629138pad.0 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=PdQ3904/oVeM1NT8LjnYZhiqJwN7gWD/tM2eZTevFuhIlrpsfn0fzznAY1vPKJZPXT NBl4UkOuqf9l+aazOnZ3ZnaUIvtgIRfmvIWb1b7Ei5JllEXJl5NlcjVyqhNa0EApUoQY zaYrGmDyRyhqez3esrVoSHKWvj3N7JhSmv6N5Gd9WoWFsGJzDtm2jmwT9FikXbqY3QHL DV71wsHnfFEj25qmNqSIa2vfPT8tYzBUKcLeAfXTX0CghhAC9SISdTFQiayHFxa6Bnj2 9gqizXqTRey7FHNMxih3jM0QZb8MPJvYzhsldYRd2yhK52BRZwQONjh3P5YZB37Fdc29 RlNg== 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 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: ALoCoQlgrSTlovU6cb5BkqFcLarRbvBjaEhMDF5fd32xkECZe0oDrdDqCL1bI22uhb2PRC7B0yuT X-Mailman-Approved-At: Wed, 13 Feb 2013 22:49:46 -0800 Cc: kgene.kim@samsung.com, tom.gall@linaro.org, patches@linaro.org, l.krishna@samsung.com, joshi@samsung.com, aditya.ps@samsung.com, jesse.barker@linaro.org, ragesh.r@linaro.org, linux-samsung-soc@vger.kernel.org, sumit.semwal@linaro.org, linux-media@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.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);