linux_dsm_epyc7002/drivers/gpu/drm/mgag200
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
..
Kconfig drm/mgag200: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation 2019-07-09 10:25:47 +02:00
mgag200_cursor.c drm/vram-helper: Remove BO device from public interface 2020-01-07 11:53:19 +01:00
mgag200_drv.c drm/vram-helper: Remove BO device from public interface 2020-01-07 11:53:19 +01:00
mgag200_drv.h drm/mgag200: Add workaround for HW that does not support 'startadd' 2019-11-27 08:11:11 +01:00
mgag200_i2c.c drm/mgag200: Don't include <drm/drm_pci.h> 2019-12-05 08:44:19 +01:00
mgag200_main.c drm-misc-next for v5.6: 2019-12-17 13:57:54 +01:00
mgag200_mode.c drm/mgag200: Don't include <drm/drm_pci.h> 2019-12-05 08:44:19 +01:00
mgag200_reg.h
mgag200_ttm.c drm/mgag200: Don't include <drm/drm_pci.h> 2019-12-05 08:44:19 +01:00