applied to drm-misc-next
On Wed, Jan 17, 2024 at 8:14 PM Qiang Yu wrote:
>
> Reviewed-by: Qiang Yu
>
> On Wed, Jan 17, 2024 at 3:14 PM Zhipeng Lu wrote:
> >
> > When lima_vm_map_bo fails, the resources need to be deallocated, or
> > there will be memleaks.
> >
> > Fixes: 6aebc51d7aef ("drm/lima
Reviewed-by: Qiang Yu
On Wed, Jan 17, 2024 at 3:14 PM Zhipeng Lu wrote:
>
> When lima_vm_map_bo fails, the resources need to be deallocated, or
> there will be memleaks.
>
> Fixes: 6aebc51d7aef ("drm/lima: support heap buffer creation")
> Signed-off-by: Zhipeng Lu
> ---
> Changelog:
>
> v2: rea
When lima_vm_map_bo fails, the resources need to be deallocated, or
there will be memleaks.
Fixes: 6aebc51d7aef ("drm/lima: support heap buffer creation")
Signed-off-by: Zhipeng Lu
---
Changelog:
v2: rearrange the error-handling to ladder tags.
---
drivers/gpu/drm/lima/lima_gem.c | 23 +