diff options
author | Paul Cercueil <paul@crapouillou.net> | 2021-06-01 12:54:05 +0300 |
---|---|---|
committer | Paul Cercueil <paul@crapouillou.net> | 2021-06-01 19:27:20 +0300 |
commit | 9450129ed944b3c31c440f5422147103828c2b99 (patch) | |
tree | 6ec019bed8ece47913849edc94cbe04b87121212 /drivers | |
parent | 2e290c8d8d29278b9a20e2765ab8f6df02f2e707 (diff) | |
download | linux-9450129ed944b3c31c440f5422147103828c2b99.tar.xz |
drm: Fix misleading documentation of drm_gem_cma_create()
The backing memory does not necessarily have the writecombine attribute
set, since commit cf8ccbc72d61 ("drm: Add support for GEM buffers backed
by non-coherent memory").
Fixes: cf8ccbc72d61 ("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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_gem_cma_helper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index 4a24af2c5c43..d53388199f34 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -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 |