Re: [PATCH] drm/noveau: fix reference count leak in nv50_disp_atomic_commit

2020-06-18 Thread Lyude Paul
On Sat, 2020-06-13 at 20:29 -0500, Aditya Pakki wrote: > nv50_disp_atomic_commit() calls calls pm_runtime_get_sync and in turn > increments the reference count. In case of failure, decrement the > ref count before returning the error. > > Signed-off-by: Aditya Pakki > --- > drivers/gpu/drm/nouve

[PATCH] drm/noveau: fix reference count leak in nv50_disp_atomic_commit

2020-06-15 Thread Aditya Pakki
nv50_disp_atomic_commit() calls calls pm_runtime_get_sync and in turn increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet