Skip to content
Commit 5c972394 authored by Eric Anholt's avatar Eric Anholt
Browse files

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



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: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit a8812101ce0faa865c1b75e461d5f05d8a43b9e3)
parent ff2d0b76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment