1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/i915/gem
Vidya Srinivas 43e2b37e2a drm/i915/dpt: Make DPT object unshrinkable
In some scenarios, the DPT object gets shrunk but
the actual framebuffer did not and thus its still
there on the DPT's vm->bound_list. Then it tries to
rewrite the PTEs via a stale CPU mapping. This causes panic.

Cc: stable@vger.kernel.org
Reported-by: Shawn Lee <shawn.c.lee@intel.com>
Fixes: 0dc987b699 ("drm/i915/display: Add smem fallback allocation for dpt")
Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
[vsyrjala: Add TODO comment]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240520165634.1162470-1-vidya.srinivas@intel.com
(cherry picked from commit 51064d471c)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2024-05-29 11:35:43 +03:00
..
selftests drm/i915/selftests: Set always_coherent to false when reading from CPU 2024-05-29 11:35:32 +03:00
i915_gem_busy.c
i915_gem_clflush.c drm/i915: add minimal i915_gem_object_frontbuffer.h 2023-08-31 18:41:34 +03:00
i915_gem_clflush.h
i915_gem_context.c drm/i915/guc: Use context hints for GT frequency 2024-03-07 10:25:06 -08:00
i915_gem_context.h
i915_gem_context_types.h drm/i915/guc: Use context hints for GT frequency 2024-03-07 10:25:06 -08:00
i915_gem_create.c drm/i915: Replace several IS_METEORLAKE with proper IP version checks 2023-08-21 16:57:36 -07:00
i915_gem_create.h
i915_gem_dmabuf.c drm: Don't assert held reservation lock for dma-buf mmapping 2023-06-21 20:22:20 +03:00
i915_gem_dmabuf.h
i915_gem_domain.c drm/i915: add minimal i915_gem_object_frontbuffer.h 2023-08-31 18:41:34 +03:00
i915_gem_domain.h
i915_gem_execbuffer.c Revert "drm/i915: Remove extra multi-gt pm-references" 2024-05-29 11:35:08 +03:00
i915_gem_internal.c mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-01-08 15:27:15 -08:00
i915_gem_internal.h
i915_gem_ioctls.h
i915_gem_lmem.c drm/i915/gem: Flush lmem contents after construction 2023-03-23 12:25:50 +01:00
i915_gem_lmem.h
i915_gem_mman.c vfs-6.7.misc 2023-10-30 09:14:19 -10:00
i915_gem_mman.h drm/i915: Add a function to mmap framebuffer obj 2023-04-06 18:20:35 +02:00
i915_gem_object.c drm/i915: Use kmap_local_page() in gem/i915_gem_object.c 2023-12-15 09:34:27 +00:00
i915_gem_object.h drm/i915/dpt: Make DPT object unshrinkable 2024-05-29 11:35:43 +03:00
i915_gem_object_frontbuffer.h drm/i915/display: Move releasing gem object away from fb tracking 2023-10-23 09:06:10 +03:00
i915_gem_object_types.h drm/i915: Drop dead code for pvc 2024-03-22 14:14:56 -07:00
i915_gem_pages.c fix missing vmalloc.h includes 2024-04-25 20:55:49 -07:00
i915_gem_phys.c drm/i915: Use memcpy_[from/to]_page() in gem/i915_gem_pyhs.c 2023-12-15 09:34:28 +00:00
i915_gem_pm.c drm/i915/guc: Close deregister-context race against CT-loss 2024-01-09 09:33:08 -08:00
i915_gem_pm.h
i915_gem_region.c drm/i915: Use struct resource for memory region IO as well 2024-02-07 01:58:40 +02:00
i915_gem_region.h drm/i915/gem: fix function pointer member kernel-doc 2023-05-05 11:28:33 +03:00
i915_gem_shmem.c drm/i915/gem: Replace dev_priv with i915 2024-03-28 20:41:04 +01:00
i915_gem_shrinker.c Many singleton patches against the MM code. The patch series which are 2023-11-02 19:38:47 -10:00
i915_gem_shrinker.h
i915_gem_stolen.c drm/i915: Rename the DSM/GSM registers 2024-02-07 01:59:01 +02:00
i915_gem_stolen.h drm/i915/gem: Replace dev_priv with i915 2024-03-28 20:41:04 +01:00
i915_gem_throttle.c
i915_gem_tiling.c drm/i915/gem: Replace dev_priv with i915 2024-03-28 20:41:04 +01:00
i915_gem_tiling.h
i915_gem_ttm.c drm/i915: fix applying placement flag 2024-03-04 11:09:32 +01:00
i915_gem_ttm.h drm/i915/ttm: fix i915_ttm_to_gem() kernel-doc 2023-05-05 11:29:01 +03:00
i915_gem_ttm_move.c drm/i915: use pat_index instead of cache_level 2023-05-11 17:38:55 +02:00
i915_gem_ttm_move.h
i915_gem_ttm_pm.c Merge tag 'drm-intel-gt-next-2023-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2023-04-06 14:21:00 +02:00
i915_gem_ttm_pm.h
i915_gem_userptr.c drm/i915/gem: Replace dev_priv with i915 2024-03-28 20:41:04 +01:00
i915_gem_wait.c drm/i915: Avoid -Wconstant-logical-operand in nsecs_to_jiffies_timeout() 2023-07-27 13:01:28 -03:00
i915_gemfs.c
i915_gemfs.h