diff options
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2016-11-24 14:47:49 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-25 07:01:11 +0000 |
commit | 4c266edb4c98e929ea8871525fa2c7bd2483e05f (patch) | |
tree | e5719abf356ee68040adc95461b3933a6533dfdd /drivers/gpu/drm/i915/i915_gem_timeline.h | |
parent | 60abfbb86a8d51576f90c5adcbb4f547a2952782 (diff) | |
download | op-kernel-dev-4c266edb4c98e929ea8871525fa2c7bd2483e05f.zip op-kernel-dev-4c266edb4c98e929ea8871525fa2c7bd2483e05f.tar.gz |
drm/i915: Rename i915_gem_timeline.next_seqno to .seqno
Rename i915_gem_timeline member 'next_seqno' into 'seqno' as
the variable is pre-increment. We've already had two bugs due
to the confusing name, second is fixed as follow-up patch.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161124144750.2610-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_timeline.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_timeline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_timeline.h b/drivers/gpu/drm/i915/i915_gem_timeline.h index 98d99a6..f2e51f4 100644 --- a/drivers/gpu/drm/i915/i915_gem_timeline.h +++ b/drivers/gpu/drm/i915/i915_gem_timeline.h @@ -56,7 +56,7 @@ struct intel_timeline { struct i915_gem_timeline { struct list_head link; - atomic_t next_seqno; + atomic_t seqno; struct drm_i915_private *i915; const char *name; |