[PATCH v4 8/8] drm/vram-helper: Support struct drm_driver.gem_create_object
Gerd Hoffmann
kraxel at redhat.com
Tue Jan 7 09:11:06 UTC 2020
On Mon, Jan 06, 2020 at 01:57:45PM +0100, Thomas Zimmermann wrote:
> Drivers that what to allocate VRAM GEM objects with additional fields
> can now do this by implementing struct drm_driver.gem_create_object.
>
> v3:
> * separately check allocation failure in if/else branches
> before upcast to gbo
> v2:
> * only cast to gbo within if branch; set gbo directly
> in else branch
>
> 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