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 |
||
|---|---|---|
| .. | ||
| hgsmi_base.c | ||
| hgsmi_ch_setup.h | ||
| hgsmi_channels.h | ||
| hgsmi_defs.h | ||
| Kconfig | ||
| Makefile | ||
| modesetting.c | ||
| vbox_drv.c | ||
| vbox_drv.h | ||
| vbox_hgsmi.c | ||
| vbox_irq.c | ||
| vbox_main.c | ||
| vbox_mode.c | ||
| vbox_ttm.c | ||
| vboxvideo_guest.h | ||
| vboxvideo_vbe.h | ||
| vboxvideo.h | ||
| vbva_base.c | ||