Re: [PATCH 2/3] drm/vram-helper: Remove BO device from public interface

2019-12-13 Thread Daniel Vetter
On Wed, Dec 11, 2019 at 07:08:31PM +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 2/3] drm/vram-helper: Remove BO device from public interface

2019-12-11 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