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: 14775 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A6C8723E0D for ; Wed, 13 Feb 2013 10:01:28 +0000 (UTC) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by fiordland.canonical.com (Postfix) with ESMTP id 618E1A18FD6 for ; Wed, 13 Feb 2013 10:01:28 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id n10so670444vcn.28 for ; Wed, 13 Feb 2013 02:01:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf: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=InAw8v2D3s1W+9VXd8SxyfxZch8s0w2+1FzXs0Xcv6REpnZsPJw3wHucyajHyUAYNf HWLtrwLTMV2qsIF6ZxXQEGHLh2to5MgpUr/kvSOpwWJW2IrYJDQqTzEx+2YhyYizzUeb e2G6/aObL4YnOfOjtJEfsVcKasE3eOuEAcyZkF0GC0mpvvpDG8irz7/TM6n6pKXNuV45 MfG0cXhq+4+sUIPmUfzdbIKwBfB8Yu3Z0kcXH48cntG0/PAOzBBHDRRy6EhnfQpNBgDM sAxQZtAg6zYmgaVVhbz5YMosfCPHvutxFw3v2YTgPjDLiRBLLklIO0HDgfz4NNTNUyny Cv3w== X-Received: by 10.52.33.167 with SMTP id s7mr19639431vdi.52.1360749687874; Wed, 13 Feb 2013 02:01:27 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.221.4.5 with SMTP id oa5csp185339vcb; Wed, 13 Feb 2013 02:01:27 -0800 (PST) X-Received: by 10.66.80.70 with SMTP id p6mr62367069pax.23.1360749686820; Wed, 13 Feb 2013 02:01:26 -0800 (PST) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id u2si2940690paw.299.2013.02.13.02.01.26 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Feb 2013 02:01:26 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.51 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.220.51; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.51 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) smtp.mail=vikas.sajjan@linaro.org Received: by mail-pa0-f51.google.com with SMTP id hz1so621325pad.10 for ; Wed, 13 Feb 2013 02:01:26 -0800 (PST) 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: ALoCoQkQ/F234BJKHxK/qfi9mGT80PRMM58dqrj4pnxIDkaENULCYXIj9TEiVFaRXOwWTvm9SKU3 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);