commit | d18ee06b4889bf7da412069ef60baeaaca3ac6f4 | [log] [tgz] |
---|---|---|
author | Thomas Zimmermann <tzimmermann@suse.de> | Tue Jun 09 11:08:19 2020 +0200 |
committer | Thomas Zimmermann <tzimmermann@suse.de> | Wed Jun 10 10:16:43 2020 +0200 |
tree | 0a8b690ca1695f40320f8349b344214aa993f59c | |
parent | ad0f449bebc79b01583c711684fefcdc9620320a [diff] |
drm/shmem-helper: Add .gem_create_object helper that sets map_cached flag The helper drm_gem_shmem_create_object_cached() allocates an GEM SHMEM object and sets the map_cached flag. Useful for drivers that want cached mappings. v3: * style fixes Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200609090820.20256-2-tzimmermann@suse.de