]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Poison the request before emitting commands
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Apr 2017 17:06:17 +0000 (18:06 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Apr 2017 14:34:24 +0000 (15:34 +0100)
commite9f18df80b7065e3cbbd81ef2cb807182ad1e896
tree01c2c92d0ea010d94c963d1636d8cb68d22e8480
parent00b0c4a235e5b76e8764f5e47fcf617b67bc030c
drm/i915: Poison the request before emitting commands

If we poison the request before we emit commands, it should be easier to
spot when we execute an uninitialised request.

References: https://bugs.freedesktop.org/show_bug.cgi?id=100144
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170423170619.7156-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_ringbuffer.c