]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark elsps submitted when they are pushed to hw
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Mon, 6 Jul 2015 08:09:25 +0000 (11:09 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 14:51:43 +0000 (16:51 +0200)
commit737f99377f601f4cc3035d595b68c4b563e72996
treedcdd2d99f5e26a2852aa365fb2db33c662a38bc2
parent22b29b0d4ab80d183376c1b0049cd11e7895d52d
drm/i915: Mark elsps submitted when they are pushed to hw

Now when we have requests this deep on call chain, we can mark
the elsp being submitted when it actually is. Remove temp variable
and readjust commenting to more closely fit to the code.

v2: Avoid tmp variable and reduce number of writes (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lrc.c