diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2017-04-07 01:23:45 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-04-07 11:26:52 +0100 |
commit | 400c19d9f85c58913956eb5ca9705c9bdd4b8fe6 (patch) | |
tree | 873682ba3d62b51863b6139fda0dde3840c6c707 /drivers/gpu/drm/i915/intel_display.c | |
parent | cbb60b4b987c8a57533dca0f66887ed14a9498e5 (diff) | |
download | op-kernel-dev-400c19d9f85c58913956eb5ca9705c9bdd4b8fe6.zip op-kernel-dev-400c19d9f85c58913956eb5ca9705c9bdd4b8fe6.tar.gz |
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 <aarcange@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170406232347.988-4-aarcange@redhat.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 26e871a..b60ba16 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); |