Commit 9450129e authored by Paul Cercueil's avatar Paul Cercueil

drm: Fix misleading documentation of drm_gem_cma_create()

The backing memory does not necessarily have the writecombine attribute
set, since commit cf8ccbc7 ("drm: Add support for GEM buffers backed
by non-coherent memory").

Fixes: cf8ccbc7 ("drm: Add support for GEM buffers backed by non-coherent memory")
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210601095405.8975-1-paul@crapouillou.net
parent 2e290c8d
...@@ -104,8 +104,7 @@ __drm_gem_cma_create(struct drm_device *drm, size_t size, bool private) ...@@ -104,8 +104,7 @@ __drm_gem_cma_create(struct drm_device *drm, size_t size, bool private)
* @size: size of the object to allocate * @size: size of the object to allocate
* *
* This function creates a CMA GEM object and allocates a contiguous chunk of * This function creates a CMA GEM object and allocates a contiguous chunk of
* memory as backing store. The backing memory has the writecombine attribute * memory as backing store.
* set.
* *
* Returns: * Returns:
* A struct drm_gem_cma_object * on success or an ERR_PTR()-encoded negative * A struct drm_gem_cma_object * on success or an ERR_PTR()-encoded negative
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment