linux/drivers/gpu/drm/hisilicon/hibmc
Thomas Zimmermann a4d46a8e26 drm/vram-helper: Remove BO device from public interface
TTM is an implementation detail of the VRAM helpers and therefore
shouldn't be exposed to the callers. There's only one correct value
for the BO device anyway, which is the one stored in the DRM device.

So remove struct ttm_bo_device from the VRAM-helper interface and
use the device's VRAM manager unconditionally. The GEM initializer
function fails if the VRAM manager has not been initialized.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106125745.13797-8-tzimmermann@suse.de
2020-01-07 11:53:19 +01:00
..
hibmc_drm_de.c drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic code 2020-01-06 13:46:02 +01:00
hibmc_drm_drv.c drm/hisilicon/hibmc: Export VRAM MM information to debugfs 2020-01-06 13:46:03 +01:00
hibmc_drm_drv.h drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic helpers 2020-01-06 13:46:03 +01:00
hibmc_drm_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
hibmc_drm_vdac.c drm/hisilicon: drop use of drmP.h 2019-07-15 18:11:31 +02:00
hibmc_ttm.c drm/vram-helper: Remove BO device from public interface 2020-01-07 11:53:19 +01:00
Kconfig Merge drm/drm-next into drm-misc-next 2019-10-03 16:38:50 +02:00
Makefile drm/hisilicon/hibmc: Switch to generic fbdev emulation 2020-01-06 13:45:38 +01:00