Re: [PATCH 06/10] drm/msm: fix vram leak on bind errors

2023-03-24 Thread Dmitry Baryshkov
On Mon, 6 Mar 2023 at 12:09, Johan Hovold wrote: > > Make sure to release the VRAM buffer also in a case a subcomponent fails > to bind. > > Fixes: d863f0c7b536 ("drm/msm: Call msm_init_vram before binding the gpu") > Cc: sta...@vger.kernel.org # 5.11 > Cc: Craig Tatlor > Signed-off-by: Joha

[PATCH 06/10] drm/msm: fix vram leak on bind errors

2023-03-06 Thread Johan Hovold
Make sure to release the VRAM buffer also in a case a subcomponent fails to bind. Fixes: d863f0c7b536 ("drm/msm: Call msm_init_vram before binding the gpu") Cc: sta...@vger.kernel.org # 5.11 Cc: Craig Tatlor Signed-off-by: Johan Hovold --- drivers/gpu/drm/msm/msm_drv.c | 26 +++