commit | 55a9785d125a4dd33678795ccba0ed61a6e8540c | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jun 19 13:59:46 2015 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 22 16:13:23 2015 +0200 |
tree | cb5c454822a3eeb2fba7909839ad31e5412da019 | |
parent | 77a0d1cab489eb2b6ebd54234df4262f4840d498 [diff] |
drm/i915: Enforce execobject.alignment to be a power-of-two Internal requirement for the alignment is that it must be a power-of-two, so enforce rejection at the user interface to execbuffer (which allows the caller to specify a stricter-than-expected alignment criterion). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>