[RFC 0/2] Add DRM SoC framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux