diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-10-29 20:00:59 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-02 12:11:24 +0100 |
commit | 1c80be48c70a2198f7cf04a546b3805b92293ac6 (patch) | |
tree | f461d1be64e4b53aaef85d85e2a08788ec9aba92 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) |
drm/vc4: bo: Add a managed action to cleanup the cache
The BO cache needs to be cleaned up using vc4_bo_cache_destroy, but it's
not used consistently (vc4_drv's bind calls it in its error path, but
doesn't in unbind), and we can make that automatic through a managed
action. Let's remove the requirement to call vc4_bo_cache_destroy.
Fixes: c826a6e10644 ("drm/vc4: Add a BO cache.")
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20201029190104.2181730-1-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions