]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/gpu/drm/i915/intel_ringbuffer.c
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)
commit010018638659fbe8332c470e94750daf6ef4ab14
tree01c2c92d0ea010d94c963d1636d8cb68d22e8480
parente6ba9992de6c63fe86c028b4876338e1cb7dac34
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