linux/drivers/gpu
Maarten Lankhorst 7d8ac0942c drm/xe: Fix bo leak in intel_fb_bo_framebuffer_init
commit 652ead9b74 upstream.

Add a unreference bo in the error path, to prevent leaking a bo ref.

Return 0 on success to clarify the success path.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: 44e694958b ("drm/xe/display: Implement display support")
Cc: <stable@vger.kernel.org> # v6.8+
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404090302.68422-1-maarten.lankhorst@linux.intel.com
(cherry picked from commit a2f3d731be)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-27 17:13:03 +02:00
..
drm drm/xe: Fix bo leak in intel_fb_bo_framebuffer_init 2024-04-27 17:13:03 +02:00
host1x gpu: host1x: Skip reset assert on Tegra186 2024-02-22 18:48:06 +01:00
ipu-v3
trace
vga
Makefile