[PATCH] drm: Use the driver's gem_object_free function from CMA helpers.

Eric Anholt eric at anholt.net
Tue Dec 15 10:22:25 PST 2015


Daniel Vetter <daniel at ffwll.ch> writes:

> On Mon, Dec 14, 2015 at 04:26:26PM -0800, Eric Anholt wrote:
>> VC4 wraps the CMA objects in its own structures, so it needs to do its
>> own teardown (waiting for GPU to finish, updating bo_stats tracking).
>> The other CMA drivers are using drm_gem_cma_free_object as their
>> gem_free_object, so this should be a no-op for them.
>> 
>> Signed-off-by: Eric Anholt <eric at anholt.net>
>
> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> Since vc4 landed already I'll pull this into drm-misc.

Sounds good to me.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151215/6e379ba9/attachment.sig>


More information about the dri-devel mailing list