[Freedreno] [PATCH 06/10] drm/msm: fix vram leak on bind errors
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Fri Mar 24 22:06:21 UTC 2023
On Mon, 6 Mar 2023 at 12:09, Johan Hovold <johan+linaro at 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 at vger.kernel.org # 5.11
> Cc: Craig Tatlor <ctatlor97 at gmail.com>
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> ---
> drivers/gpu/drm/msm/msm_drv.c | 26 +++++++++++++++++++-------
> 1 file changed, 19 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list