dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/1] DRM: allow to use mmuless devices
@ 2016-11-30 11:21 Benjamin Gaignard
  2016-11-30 11:21 ` [RFC 1/1] drm: allow to use mmuless SoC Benjamin Gaignard
  0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Gaignard @ 2016-11-30 11:21 UTC (permalink / raw)
  To: dri-devel, airlied, daniel, robdclark, laurent.pinchart
  Cc: yannick.fertre, linaro-kernel, philippe.cornu

Hello,

The purpose of this RFC is to understand what is needed to allow to
write drm/kms drivers for devices without MMU.

There are some MCU platforms, like stm32f4, which don't have MMU
but have hardware display IP where is it possible to implement a
drm/kms driver.

Obviously that start by removing MMU configuration flag from Kconfig.
But while coding the driver for stm32f4 (on discovery board to have enough memory)
we have already identify few other pieces of code that need to be change.
We have been inspired by what already exist in v4l2 where using mmuless devices
is possible.

Since we have only use cma helpers we only have partial view of what could be
needed for other part of drm/kms framework.

Benjamin Gaignard (1):
  drm: allow to use mmuless SoC

 drivers/gpu/drm/Kconfig              |  4 +--
 drivers/gpu/drm/drm_fb_cma_helper.c  | 20 ++++++++++++
 drivers/gpu/drm/drm_gem_cma_helper.c | 62 ++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_vm.c             |  4 +++
 drivers/video/fbdev/core/fbmem.c     |  8 +++++
 include/drm/drm_gem_cma_helper.h     |  6 ++++
 6 files changed, 102 insertions(+), 2 deletions(-)

-- 
1.9.1

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-11-30 15:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 11:21 [RFC 0/1] DRM: allow to use mmuless devices Benjamin Gaignard
2016-11-30 11:21 ` [RFC 1/1] drm: allow to use mmuless SoC Benjamin Gaignard
2016-11-30 11:35   ` Laurent Pinchart
2016-11-30 12:35     ` Benjamin Gaignard
2016-11-30 13:52   ` Daniel Vetter
2016-11-30 15:08     ` Benjamin Gaignard
2016-11-30 15:19       ` Laurent Pinchart
2016-11-30 15:34         ` Benjamin Gaignard
2016-11-30 15:36           ` Laurent Pinchart
2016-11-30 15:56             ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).