]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/i915: Updating comments.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 30 Jun 2014 16:51:11 +0000 (09:51 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 20:02:49 +0000 (22:02 +0200)
commitddd4dbc6c16e4719841447348e6b5ec3541c8f68
treedcb78680b82d33210b3d496c6491bad3215366f4
parentf7b64236854b0862e9967090f227cf08d81c71f4
drm/i915: Updating comments.

ring index calculation table was out of date after other rings were added,
although the formula is flexible and scale when adding new rings.

So this patch just update the comments and add a brief explanation
why to use sync_seqno[ring index].

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_ringbuffer.h