mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
drm: Fix misleading documentation of drm_gem_cma_create()
The backing memory does not necessarily have the writecombine attribute set, since commitcf8ccbc72d
("drm: Add support for GEM buffers backed by non-coherent memory"). Fixes:cf8ccbc72d
("drm: Add support for GEM buffers backed by non-coherent memory") Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210601095405.8975-1-paul@crapouillou.net
This commit is contained in:
parent
2e290c8d8d
commit
9450129ed9
@ -104,8 +104,7 @@ error:
|
||||
* @size: size of the object to allocate
|
||||
*
|
||||
* This function creates a CMA GEM object and allocates a contiguous chunk of
|
||||
* memory as backing store. The backing memory has the writecombine attribute
|
||||
* set.
|
||||
* memory as backing store.
|
||||
*
|
||||
* Returns:
|
||||
* A struct drm_gem_cma_object * on success or an ERR_PTR()-encoded negative
|
||||
|
Loading…
Reference in New Issue
Block a user