diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-10-29 17:00:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-21 11:22:13 +0300 |
commit | 877e75bc93ecb8d7c7eeeaa7304cd3d030e36a58 (patch) | |
tree | 80a9b45953688f713d0384be554391c3669daf24 /scripts/gdb/linux/utils.py | |
parent | 63f4972b9b22664a385f5623034a1ac64946743a (diff) | |
download | linux-877e75bc93ecb8d7c7eeeaa7304cd3d030e36a58.tar.xz |
drm/i915: Fix error handling for the NV12 fb dimensions check
commit f42f343887016330b321dd40eebc68c7292e4f1b upstream.
Let's not leak obj->framebuffer_references when we decide that
the framebuffer domensions are not suitable for NV12.
Cc: stable@vger.kernel.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Vidya Srinivas <vidya.srinivas@intel.com>
Fixes: e44134f2673c ("drm/i915: Add NV12 support to intel_framebuffer_init")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181029140031.11765-1-ville.syrjala@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
(cherry picked from commit 3b90946fcb6f13b65888c380461793a9dea9d1f4)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions