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

From: Eric Anholt
Date: Tue Dec 15 2015 - 13:22:32 EST


Daniel Vetter <daniel@xxxxxxxx> 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@xxxxxxxxxx>
>
> Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
>
> Since vc4 landed already I'll pull this into drm-misc.

Sounds good to me. Thanks!

Attachment: signature.asc
Description: PGP signature