diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-11 09:59:22 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-09-14 09:12:24 +0200 |
commit | d88656f475d9eba9b23fa71ab59b225459776d6f (patch) | |
tree | ccfdcb8b8ea83ddbe6354a002271e685a3751f42 /drivers/gpu/drm/drm_scatter.c | |
parent | drm: xlnx: remove defined but not used 'scaling_factors_666' (diff) | |
download | linux-d88656f475d9eba9b23fa71ab59b225459776d6f.tar.xz linux-d88656f475d9eba9b23fa71ab59b225459776d6f.zip |
drm/vboxvideo: Use drm_gem_vram_vmap() interfaces
VRAM helpers support ref counting for pin and vmap operations, no need
to avoid these operations by employing the internal kmap interface. Just
use drm_gem_vram_vmap() and let it handle the details.
Also unexport the kmap interfaces from VRAM helpers. Vboxvideo was the
last user of these internal functions.
v2:
* fixed a comma in commit description
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200911075922.19317-1-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/drm_scatter.c')
0 files changed, 0 insertions, 0 deletions