Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Eric Anholt <eric@anholt.net> Fixes: 2146136 ("drm/vc4: Add an interface for capturing the GPU state after a hang.") (cherry picked from commit def9652)
- Loading branch information