Messages in this thread | | | From | Dmitry Baryshkov <> | Date | Sat, 25 Mar 2023 00:06:21 +0200 | Subject | Re: [PATCH 06/10] drm/msm: fix vram leak on bind errors |
| |
On Mon, 6 Mar 2023 at 12:09, Johan Hovold <johan+linaro@kernel.org> 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: stable@vger.kernel.org # 5.11 > Cc: Craig Tatlor <ctatlor97@gmail.com> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- > drivers/gpu/drm/msm/msm_drv.c | 26 +++++++++++++++++++------- > 1 file changed, 19 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
-- With best wishes Dmitry
| |