diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-17 16:38:33 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-20 14:32:25 +0000 |
commit | 944a36d472be642d0d082d2480fe2b40046602a9 (patch) | |
tree | 57a2b7a932fb454c5d230bb75e7921c8da28ab32 /drivers/gpu/drm/lib | |
parent | 8d8c386c38692c1183b2c0ecffb84de91b8b32b0 (diff) | |
download | blackbird-obmc-linux-944a36d472be642d0d082d2480fe2b40046602a9.tar.gz blackbird-obmc-linux-944a36d472be642d0d082d2480fe2b40046602a9.zip |
drm/i915: Assert that the request->tail is always qword aligned
The hardware requires that the tail pointer only advance in qword units,
so assert that the value we write is aligned to qwords, and similarly
enforce this restriction onto the request->tail.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170217163833.731-1-chris@chris-wilson.co.uk
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'drivers/gpu/drm/lib')
0 files changed, 0 insertions, 0 deletions