From: Andrea Arcangeli Date: Thu, 6 Apr 2017 23:23:45 +0000 (+0200) Subject: i915: initialize the free_list of the fencing atomic_helper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=400c19d9f85c58913956eb5ca9705c9bdd4b8fe6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git i915: initialize the free_list of the fencing atomic_helper Just in case the llist model changes and NULL isn't valid initialization. Signed-off-by: Andrea Arcangeli Link: http://patchwork.freedesktop.org/patch/msgid/20170406232347.988-4-aarcange@redhat.com Reviewed-by: Chris Wilson Signed-off-by: Chris Wilson --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 26e871a4c30c..b60ba164f567 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -14992,6 +14992,7 @@ int intel_modeset_init(struct drm_device *dev) dev->mode_config.funcs = &intel_mode_funcs; + init_llist_head(&dev_priv->atomic_helper.free_list); INIT_WORK(&dev_priv->atomic_helper.free_work, intel_atomic_helper_free_state_worker);