nvhost_vic: Fix device closure

Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation.

Also cleans up some of the surrounding code.
This commit is contained in:
ameerj 2021-04-24 19:22:09 -04:00
parent 4c8c5ad1b6
commit 75e0d16caa
4 changed files with 11 additions and 15 deletions

View file

@ -324,8 +324,8 @@ public:
/// Push GPU command buffer entries to be processed
void PushCommandBuffer(Tegra::ChCommandHeaderList& entries);
/// Frees the CDMAPusher to free up resources
void ClearCommandBuffer();
/// Frees the CDMAPusher instance to free up resources
void ClearCdmaInstance();
/// Swap buffers (render frame)
void SwapBuffers(const Tegra::FramebufferConfig* framebuffer);