]> git.karo-electronics.de Git - linux-beck.git/commit
drm: allow to use mmuless SoC
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 4 Jan 2017 09:12:57 +0000 (10:12 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Jan 2017 10:04:54 +0000 (11:04 +0100)
commit62a0d98a188cc4ebd8ea54b37d274ec20465e464
treebb649f5cc408727179380fce600adeba99b2ebbd
parent99c48e1e38f0aeaa107ad67c8d91f6c9d9d567a9
drm: allow to use mmuless SoC

Some SoC without MMU have display driver where a drm/kms driver
could be implemented.

Before doing such kind of thing drm/kms must allow to use mmuless devices.
This patch propose to remove MMU configuration flag and add a cma helper
function to help implementing mmuless display driver

version 4:
- add documentation about drm_gem_cma_get_unmapped_area()
- stub it MMU case

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
[danvet: Use recommended struct member references in kernel-doc.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483521177-21794-4-git-send-email-benjamin.gaignard@linaro.org
Documentation/gpu/drm-mm.rst
drivers/gpu/drm/Kconfig
drivers/gpu/drm/drm_gem_cma_helper.c
include/drm/drm_gem_cma_helper.h