]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix an error handling in 'intel_framebuffer_init()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Sep 2017 08:56:42 +0000 (10:56 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Sep 2017 10:52:00 +0000 (13:52 +0300)
commit2edcdc5283e68cc5733002fe537c6e97b636b74e
tree5f5cfebad8720c9fa597554e47660eebdba18884
parent604e806074f8f7c5031aeb6d14bb2dbea4d14305
drm/i915: Fix an error handling in 'intel_framebuffer_init()'

We should go through the error handling path to decrease the
'framebuffer_references' as done everywhere else in this function.

Fixes: 97a64a810c90 ("drm/i915: Add render decompression support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170910085642.13673-1-christophe.jaillet@wanadoo.fr
drivers/gpu/drm/i915/intel_display.c