[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linaro-kernel
Subject:    [RFC 0/1] DRM: allow to use mmuless devices
From:       Benjamin Gaignard <benjamin.gaignard () linaro ! org>
Date:       2016-11-30 11:21:23
Message-ID: 1480504884-22638-1-git-send-email-benjamin.gaignard () linaro ! org
[Download RAW message or body]

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

_______________________________________________
linaro-kernel mailing list
linaro-kernel@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-kernel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic