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

Gerd Hoffmann kraxel at redhat.com
Tue Jan 7 09:09:47 UTC 2020


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 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 at suse.de>
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Acked-by: Sam Ravnborg <sam at ravnborg.org>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the dri-devel mailing list