Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

drm/vc4: Free hang state before destroying BO cache.



The BO cache will complain if BOs are still allocated when we try to
destroy it (since freeing those BOs would try to hit the cache).  You
could hit this if you were to unload the module after a GPU hang.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Fixes: 21461365 ("drm/vc4: Add an interface for capturing the GPU state after a hang.")
parent 163195fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment