drm/vram-helper: Use drm_gem_ttm_dumb_map_offset()
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 8 Apr 2021 14:01:37 +0000 (16:01 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 11 Apr 2021 18:15:06 +0000 (20:15 +0200)
commitede0c69ceb3fa4e139ffd95083c2698880c25b6f
tree58f115fba3c4e5719ef68d6bd3ce9abebd041d31
parent5690e4863930801a17ef67d279bc5306f2cf6efb
drm/vram-helper: Use drm_gem_ttm_dumb_map_offset()

VRAM helpers now use drm_gem_ttm_dumb_map_offset() to implement
struct drm_driver.dumb_map_offset.

v2:
* update hibmc as well (kernel test robot)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210408140139.27731-3-tzimmermann@suse.de
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c
include/drm/drm_gem_vram_helper.h