drm/nouveau/dispnv50: add missed nv50_outp_release in nv50_msto_disable
Subsystems (3)
PATCH v2 1/1 drm/nouveau/dispnv50: add missed nv50_outp_release in nv50_msto_disable
nv50_msto_disable() does not call nv50_outp_release() to match nv50_outp_acquire() like other disable().
Add the missed call to fix it.
Signed-off-by Chuhong Yuan <[email protected]>
---
Changes in v2:
- Fix the subject prefix.
drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/nouveau/dispnv50/disp.c +3 -1
@@ -862,8 +862,10 @@ nv50_msto_disable(struct drm_encoder *encoder) mstm->outp->update (mstm->outp, msto->head->base.index,NULL ,0 ,0 ); mstm->modified = true; -if (!--mstm->links) +if (!--mstm->links) { mstm->disabled = true; +nv50_outp_release (mstm->outp); + } msto->disabled = true; }
Signature · 1 line
2.24.0