Commit d5ac0cf9 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

drm: Also release the pipeline buffer when DrmOutput::releaseBuffers()

parent b82840d7
...@@ -76,6 +76,7 @@ void DrmOutput::teardown() ...@@ -76,6 +76,7 @@ void DrmOutput::teardown()
void DrmOutput::releaseBuffers() void DrmOutput::releaseBuffers()
{ {
m_pipeline->setPrimaryBuffer(nullptr);
m_crtc->setCurrent(nullptr); m_crtc->setCurrent(nullptr);
m_crtc->setNext(nullptr); m_crtc->setNext(nullptr);
m_primaryPlane->setCurrent(nullptr); m_primaryPlane->setCurrent(nullptr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment