linux-stable/drivers/gpu/drm/ast
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/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Replace struct ast_fbdev with generic framebuffer emulation 2019-07-09 10:25:12 +02:00
ast_dp501.c drm/ast: drop use of drmP.h 2019-07-15 18:11:31 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Don't include <drm/drm_pci.h> 2019-12-05 08:44:09 +01:00
ast_drv.h drm/ast: Store primary-plane format in struct ast_crtc_state 2019-12-10 14:28:43 +01:00
ast_main.c drm/ast: Enable atomic modesetting 2019-11-08 11:04:51 +01:00
ast_mode.c drm/vram-helper: Remove BO device from public interface 2020-01-07 11:53:19 +01:00
ast_post.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/vram: Have VRAM MM call GEM VRAM functions directly 2019-09-12 19:54:42 +02:00