linux/drivers/gpu/drm/i915/gem
Matthew Auld 1d61c5d711 drm/i915: be more solid in checking the alignment
The alignment is u64, and yet is_power_of_2() assumes unsigned long,
which might give different results between 32b and 64b kernel.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305203534.210466-1-matthew.auld@intel.com
Cc: stable@vger.kernel.org
(cherry picked from commit 2920516b2f)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2020-03-11 23:12:39 +02:00
..
selftests drm/i915/selftests: Fix return in assert_mmap_offset() 2020-03-02 12:11:07 +02:00
i915_gem_busy.c drm/i915: Align engine->uabi_class/instance with i915_drm.h 2020-01-21 09:25:20 +02:00
i915_gem_clflush.c
i915_gem_clflush.h
i915_gem_client_blt.c
i915_gem_client_blt.h
i915_gem_context_types.h
i915_gem_context.c drm/i915/gem: Require per-engine reset support for non-persistent contexts 2020-02-17 19:17:02 +02:00
i915_gem_context.h drm/i915/gtt: split up i915_gem_gtt 2020-01-07 19:27:36 +00:00
i915_gem_dmabuf.c
i915_gem_domain.c
i915_gem_execbuffer.c drm/i915: be more solid in checking the alignment 2020-03-11 23:12:39 +02:00
i915_gem_fence.c
i915_gem_internal.c
i915_gem_ioctls.h
i915_gem_lmem.c drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_lmem.h drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_mman.c drm/i915/gem: Tighten checks and acquiring the mmap object 2020-02-12 13:24:45 +02:00
i915_gem_mman.h
i915_gem_object_blt.c
i915_gem_object_blt.h
i915_gem_object_types.h drm/i915: Wean off drm_pci_alloc/drm_pci_free 2020-02-18 09:52:54 +02:00
i915_gem_object.c drm/i915/gem: Break up long lists of object reclaim 2020-03-02 10:24:34 +02:00
i915_gem_object.h drm/i915/gem: Tighten checks and acquiring the mmap object 2020-02-12 13:24:45 +02:00
i915_gem_pages.c drm/i915/gem: Support discontiguous lmem object maps 2020-01-03 11:26:01 +00:00
i915_gem_phys.c drm/i915: Wean off drm_pci_alloc/drm_pci_free 2020-02-18 09:52:54 +02:00
i915_gem_pm.c
i915_gem_pm.h
i915_gem_region.c
i915_gem_region.h
i915_gem_shmem.c
i915_gem_shrinker.c drm/i915: Avoid recursing onto active vma from the shrinker 2020-02-26 14:07:50 +02:00
i915_gem_shrinker.h
i915_gem_stolen.c
i915_gem_stolen.h
i915_gem_throttle.c
i915_gem_tiling.c
i915_gem_userptr.c drm pull for 5.6-rc1 2020-01-30 08:04:01 -08:00
i915_gem_wait.c
i915_gemfs.c
i915_gemfs.h