OSDN Git Service

drm/i915/selftests: mix huge pages
authorMatthew Auld <matthew.auld@intel.com>
Fri, 6 Oct 2017 22:18:30 +0000 (23:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Oct 2017 09:12:03 +0000 (10:12 +0100)
commit7924d9d4dc9ffff32bf099db8c638e11e5457cd7
tree9bdc6cd0c859f2fde038e9d68c92329e180ed027
parent4049866f0913110bf7de597c1177de7a1cc459cb
drm/i915/selftests: mix huge pages

Try to mix sg page sizes for 4K, 64K and 2M pages.

v2: s/BIT(x) >> 12/BIT(x) >> PAGE_SHIFT/

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006145041.21673-19-matthew.auld@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006221833.32439-18-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/scatterlist.c