commit | 50cbc132460d448fd24b561883f7cff21d77f147 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Dec 14 16:26:26 2015 -0800 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Dec 15 10:23:44 2015 +0100 |
tree | b82ee85df9fa865f316d740a3f425e1c054be243 | |
parent | 6cecdf7a161d2b909dc7c8979176bbc4f0669968 [diff] |
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: Eric Anholt <eric@anholt.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>