]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Return error from dbuf allocation failure
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 16 May 2020 19:09:40 +0000 (20:09 +0100)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 May 2020 17:54:20 +0000 (20:54 +0300)
commitcba597ac45170469a9a60c06d20d64b5af5dc48c
tree78df7e14b7fded94758a0e38bb7e34f43fdf75ba
parentb6a13a386e288495233245b31e0fb362b9331f17
drm/i915/display: Return error from dbuf allocation failure

drivers/gpu/drm/i915/intel_pm.c:5920 skl_ddb_add_affected_pipes() error: uninitialized symbol 'ret'.

Fixes: 3cf43cdc63fb ("drm/i915: Introduce proper dbuf state")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200516190940.12675-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_pm.c