Skip to content

Commit

Permalink
i915: initialize the free_list of the fencing atomic_helper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
aagit authored and ickle committed Apr 7, 2017
1 parent cbb60b4 commit 400c19d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 400c19d

Please sign in to comment.