From patchwork Thu Feb 21 08:24:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15010 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 E3AF02429C for ; Thu, 21 Feb 2013 08:24:10 +0000 (UTC) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by fiordland.canonical.com (Postfix) with ESMTP id 33153A19BC4 for ; Thu, 21 Feb 2013 08:24:10 +0000 (UTC) Received: by mail-ve0-f180.google.com with SMTP id jx10so7805777veb.11 for ; Thu, 21 Feb 2013 00:24:09 -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:from:to:date:message-id:x-mailer:in-reply-to :references:cc:subject:x-beenthere:x-mailman-version:precedence :list-id:list-unsubscribe:list-archive:list-post:list-help :list-subscribe:mime-version:content-type:content-transfer-encoding :sender:errors-to:x-gm-message-state; bh=EScUec/GfaPVwwr3uadD7MbFKGlblWF6+q2DxBAuoUk=; b=YRgCkqlagF+p6uo/7+LMkOiWD+r906sQ+edkxD1ZsxuUanSp9S2/8rgMZHsIn3A1dC o9UM89U2ADj0BJxISXNtquUvnQIx7cBFDodBM/Z2z2rG3gICln7M87pRfTukaEMR58e5 kSdStpm9L2cv8WlnOvKgKsGXZW/KYIzLINdgqZUUJ5zrIkK2YAKs/4tdhNYTYWdlW14p YTgGwBcLWyUNvD8FS/jAXyFD68UKZ/UvzTkfn1HQQxzS9K6/0QmQAxKqTsL/y5GHKEUY ryV9yIisTdRUkaIeDPMcFRfZiuLkTVZ4dpVhfGzYrR2sd/zULhuRasByIUEs4Ih+3GO1 WNLA== X-Received: by 10.52.177.163 with SMTP id cr3mr26228817vdc.94.1361435049554; Thu, 21 Feb 2013 00:24:09 -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.58.145.101 with SMTP id st5csp4751veb; Thu, 21 Feb 2013 00:24:08 -0800 (PST) X-Received: by 10.14.205.68 with SMTP id i44mr78069344eeo.25.1361435046359; Thu, 21 Feb 2013 00:24:06 -0800 (PST) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id g1si51609592eem.193.2013.02.21.00.24.03; Thu, 21 Feb 2013 00:24:06 -0800 (PST) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U8RRd-0005Gn-Iw; Thu, 21 Feb 2013 08:23:57 +0000 Received: from perceval.ideasonboard.com ([95.142.166.194]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U8RRb-0005Gi-Um for linaro-mm-sig@lists.linaro.org; Thu, 21 Feb 2013 08:23:56 +0000 Received: from avalon.nomadix.com (unknown [69.38.217.2]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BCF173598B; Thu, 21 Feb 2013 09:23:47 +0100 (CET) From: Laurent Pinchart To: linaro-mm-sig@lists.linaro.org Date: Thu, 21 Feb 2013 09:24:02 +0100 Message-Id: <1361435042-32481-1-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <5123BC5B.7000104@arm.com> References: <5123BC5B.7000104@arm.com> Cc: Jesse Barker Subject: Re: [Linaro-mm-sig] Reminder: CDF BoF at ELC on Thursday X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQm9YeSR3IGdoMsXNwyKcpY30b4o5xfOmm23kWnzfu11YOJC4zc7HlZkLfUZuKvSoeUU5gdg Hi Jesse, On Tuesday 19 February 2013 09:54:35 Jesse Barker wrote: > Hi all, > > Just a reminder of the BoF on Thursday at 4pm (pacific time) at ELC; in > particular, it looks like we'll be in the Mission room of the Parc 55 > Wyndham. Remember that you don't need to be registered for the > conference to attend the BoF, so Bay Area folks are encouraged to join > in. Also, if you know of colleagues that are coming to ELC and might > not be on this list, please forward this along so they can attend. > > Here's a rough agenda: > > - Aims, goals, and non-goals. > - CDFv3 overview. While not exactly CDFv3, the following patch should serve as a basis for the BoF discussions. It shows the general direction in which I'm going for v3. As I don't have the necessary hardware with me to test the new implementation, the real v3 will need to be postponed after the ELC. Please note that not all comments received on v2 (including those discussed during the FOSDEM meeting) have been taken into account yet, I'll smooth the rough edges down in the real v3. > - Considerations for Android. > - Future direction. > > In particular, I think it would be good to call out non-goals, > especially for the initial version of the framework so that we have a > basis that is genuinely useful to build upon. > > For reference, the thread on Laurent's report from the FOSDEM BoF > > http://lists.freedesktop.org/archives/dri-devel/2013-February/034576.html Signed-off-by: Laurent Pinchart --- drivers/video/Kconfig | 1 + drivers/video/Makefile | 1 + drivers/video/display/Kconfig | 4 + drivers/video/display/Makefile | 1 + drivers/video/display/display-core.c | 377 +++++++++++++++++++++++++++++++++++ include/video/display.h | 293 +++++++++++++++++++++++++++ 6 files changed, 677 insertions(+) create mode 100644 drivers/video/display/Kconfig create mode 100644 drivers/video/display/Makefile create mode 100644 drivers/video/display/display-core.c create mode 100644 include/video/display.h diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 807c7fa..62c3d1a 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2444,6 +2444,7 @@ source "drivers/video/omap/Kconfig" source "drivers/video/omap2/Kconfig" source "drivers/video/exynos/Kconfig" source "drivers/video/backlight/Kconfig" +source "drivers/video/display/Kconfig" if VT source "drivers/video/console/Kconfig" diff --git a/drivers/video/Makefile b/drivers/video/Makefile index f592f3b..4a091d4 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -14,6 +14,7 @@ fb-objs := $(fb-y) obj-$(CONFIG_VT) += console/ obj-$(CONFIG_LOGO) += logo/ obj-y += backlight/ +obj-y += display/ obj-$(CONFIG_EXYNOS_VIDEO) += exynos/ diff --git a/drivers/video/display/Kconfig b/drivers/video/display/Kconfig new file mode 100644 index 0000000..1d533e7 --- /dev/null +++ b/drivers/video/display/Kconfig @@ -0,0 +1,4 @@ +menuconfig DISPLAY_CORE + tristate "Display Core" + ---help--- + Support common display framework for graphics devices. diff --git a/drivers/video/display/Makefile b/drivers/video/display/Makefile new file mode 100644 index 0000000..bd93496 --- /dev/null +++ b/drivers/video/display/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_DISPLAY_CORE) += display-core.o diff --git a/drivers/video/display/display-core.c b/drivers/video/display/display-core.c new file mode 100644 index 0000000..7950e35 --- /dev/null +++ b/drivers/video/display/display-core.c @@ -0,0 +1,377 @@ +/* + * Display Core + * + * Copyright (C) 2012 Renesas Solutions Corp. + * + * Contacts: Laurent Pinchart + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include +#include +#include +#include + +#include