linux/drivers/gpu/drm/i915/gem
Aravind Iddamsetty baaed8c929 drm/i915: Initialize the obj flags for shmem objects
commit 44e4c5684f upstream.

Obj flags for shmem objects is not being set correctly. Fixes in setting
BO_ALLOC_USER flag which applies to shmem objs as well.

v2: Add fixes tag (Tvrtko, Matt A)

Fixes: 13d29c8237 ("drm/i915/ehl: unconditionally flush the pages on acquire")
Cc: <stable@vger.kernel.org> # v5.15+
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
[tursulin: Grouped all tags together.]
Link: https://patchwork.freedesktop.org/patch/msgid/20230203135205.4051149-1-aravind.iddamsetty@intel.com
(cherry picked from commit bca0d1d3ce)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-14 19:11:56 +01:00
..
selftests drm/i915/selftests: Unwind hugepages to drop wakeref on error 2023-02-01 08:34:24 +01:00
i915_gem_busy.c
i915_gem_clflush.c
i915_gem_clflush.h
i915_gem_context_types.h
i915_gem_context.c drm/i915: Avoid potential vm use-after-free 2023-02-09 11:28:23 +01:00
i915_gem_context.h
i915_gem_create.c
i915_gem_create.h
i915_gem_dmabuf.c drm/i915/dmabuf: fix sg_table handling in map_dma_buf 2022-11-07 13:12:57 +00:00
i915_gem_dmabuf.h
i915_gem_domain.c
i915_gem_domain.h
i915_gem_execbuffer.c drm/i915: Move fd_install after last use of fence 2023-02-14 19:11:56 +01:00
i915_gem_internal.c drm/i915: stop abusing swiotlb_max_segment 2022-10-31 12:32:04 +00:00
i915_gem_internal.h
i915_gem_ioctls.h
i915_gem_lmem.c
i915_gem_lmem.h
i915_gem_mman.c drm/i915: Fix a memory leak with reused mmap_offset 2023-02-01 08:34:42 +01:00
i915_gem_mman.h
i915_gem_object_types.h drm/i915/ttm: consider CCS for backup objects 2023-01-07 11:12:03 +01:00
i915_gem_object.c drm/i915/ttm: consider CCS for backup objects 2023-01-07 11:12:03 +01:00
i915_gem_object.h drm/i915: allow control over the flags when migrating 2022-10-11 17:28:48 +01:00
i915_gem_pages.c
i915_gem_phys.c
i915_gem_pm.c drm/i915: Encapsulate lmem rpm stuff in intel_runtime_pm 2022-12-31 13:32:06 +01:00
i915_gem_pm.h
i915_gem_region.c
i915_gem_region.h
i915_gem_shmem.c drm/i915: Initialize the obj flags for shmem objects 2023-02-14 19:11:56 +01:00
i915_gem_shrinker.c
i915_gem_shrinker.h
i915_gem_stolen.c
i915_gem_stolen.h
i915_gem_throttle.c
i915_gem_tiling.c drm/i915: Fix potential bit_17 double-free 2023-02-09 11:28:24 +01:00
i915_gem_tiling.h
i915_gem_ttm_move.c drm/i915: Refactor ttm ghost obj detection 2022-12-31 13:32:06 +01:00
i915_gem_ttm_move.h
i915_gem_ttm_pm.c drm/i915/ttm: consider CCS for backup objects 2023-01-07 11:12:03 +01:00
i915_gem_ttm_pm.h
i915_gem_ttm.c drm/i915/dgfx: Grab wakeref at i915_ttm_unmap_virtual 2022-12-31 13:32:06 +01:00
i915_gem_ttm.h drm/i915: Refactor ttm ghost obj detection 2022-12-31 13:32:06 +01:00
i915_gem_userptr.c drm/i915/userptr: restore probe_range behaviour 2022-11-07 13:13:09 +00:00
i915_gem_userptr.h
i915_gem_wait.c
i915_gemfs.c
i915_gemfs.h