Re: [PATCH v4 7/8] drm/vram-helper: Remove BO device from public interface

2020-01-07 Thread Gerd Hoffmann
On Mon, Jan 06, 2020 at 01:57:44PM +0100, Thomas Zimmermann wrote: > 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 t

[PATCH v4 7/8] drm/vram-helper: Remove BO device from public interface

2020-01-06 Thread Thomas Zimmermann
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