]> 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)
commit23a35038b14b1b3a892fd6e0f70ef6a88f32f1b9
treedcb78680b82d33210b3d496c6491bad3215366f4
parentcff1d58e93e3637509a5aa23c640bc184652b80f
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