diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-27 14:00:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-27 15:03:21 +0100 |
commit | a91fdf1293044535a13fb9a434101f363dbe7e3c (patch) | |
tree | b1bea71298c2cafada228aeefd912c9e44c2ad77 /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | 450362d3fe866b14304f309b5fffba0c33fbfbc3 (diff) | |
download | linux-a91fdf1293044535a13fb9a434101f363dbe7e3c.tar.bz2 |
drm/i915: Assert that the request->tail fits within the ring
In addition to being qword-aligned, the RING_TAIL offset must be within
the ring!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170327130009.4678-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions