From: Thierry Reding Subject: [RFC 0/2] Add DRM SoC framework Date: Fri, 6 Jul 2012 16:00:58 +0200 Message-ID: <1341583260-26459-1-git-send-email-thierry.reding@avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F3029ED7B for ; Fri, 6 Jul 2012 07:01:10 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Rob Clark List-Id: dri-devel@lists.freedesktop.org This series adds an initial framework that allows to register a graphics complex as found on many SoCs with the DRM/KMS subsystem. Patch 1 adds the actual framework and patch 2 implements a very rudimentary skeleton driver on top of it. It's really just to show off how to use the DRM/SoC API and of no use otherwise. The reason for implementing this is that the approach currently used by many SoC DRM drivers is to instantiate a dummy platform device for the DRM driver to bind against, which is somewhat of a kludge. The proposal in this series takes care of this implicitly and instantiates only what is really needed to make the DRM core happy. I fully realize that this may not be that much of an improvement over using the drm_platform_init()/drm_platform_exit() functions, but I'm still interested in what people think about it. Thierry Thierry Reding (2): drm: Add SoC framework drm: Add SoC skeleton driver drivers/gpu/drm/Kconfig | 6 ++ drivers/gpu/drm/Makefile | 3 + drivers/gpu/drm/drm_soc.c | 151 ++++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/soc/Kconfig | 13 ++++ drivers/gpu/drm/soc/Makefile | 6 ++ drivers/gpu/drm/soc/soc-drv.c | 166 ++++++++++++++++++++++++++++++++++++++++++ include/drm/drmP.h | 5 ++ 7 files changed, 350 insertions(+) create mode 100644 drivers/gpu/drm/drm_soc.c create mode 100644 drivers/gpu/drm/soc/Kconfig create mode 100644 drivers/gpu/drm/soc/Makefile create mode 100644 drivers/gpu/drm/soc/soc-drv.c -- 1.7.11.1