[RFC 0/1] DRM: allow to use mmuless devices

Benjamin Gaignard benjamin.gaignard at linaro.org
Wed Nov 30 11:21:23 UTC 2016


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



More information about the dri-devel mailing list