]> git.baikalelectronics.ru Git - kernel.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)
commitbe1dd29cf98d8067b3215093cce564853740ef94
treedcb78680b82d33210b3d496c6491bad3215366f4
parent1165bb0c8ee5b2b8f816289fd5a12e83327ceabd
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