]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Fix up vma alignment to be u64
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:22 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:52 +0000 (20:19 +0100)
commit2ffffd0f85ab90f38569c39ef0455824511e80e2
tree7b28ecf81fe9412f9397ddbe363b22b335fd1a1d
parente655bc35fdfdaae540136b524b574d2fb3ea9998
drm/i915: Fix up vma alignment to be u64

This is not the full fix, as we are required to percolate the u64 nature
down through the drm_mm stack, but this is required now to prevent
explosions due to mismatch between execbuf (eb_vma_misplaced) and vma
binding (i915_vma_misplaced) - and reduces the risk of spurious changes
as we adjust the vma interface in the next patches.

v2: long long casts not required for u64 printk (%llx)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-6-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c