RE: [PATCH 2/2] [RFC] drm/i915: Unbind the vma in suspend if it was bound

2024-11-26 Thread Srinivas, Vidya
> -Original Message- > From: Srinivas, Vidya > Sent: 25 November 2024 17:01 > To: Brian Geffon > Cc: intel-gfx@lists.freedesktop.org; Syrjala, Ville ; > ville.syrj...@linux.intel.com; Lee, Shawn C > Subject: RE: [PATCH 2/2] [RFC] drm/i915: Unbind the vma in susp

Re: [PATCH 2/2] [RFC] drm/i915: Unbind the vma in suspend if it was bound

2024-11-25 Thread Brian Geffon
On Mon, Nov 25, 2024 at 3:51 PM Vidya Srinivas wrote: > > In i915_ggtt_suspend_vm, if the vma was bound, the path > to unbind/evict is not hitting during suspend. This is > causing issues with DPT where DPT gets shrunk but the > framebuffer is still on the DPT's bound list. This > causes system re

RE: [PATCH 2/2] [RFC] drm/i915: Unbind the vma in suspend if it was bound

2024-11-25 Thread Srinivas, Vidya
> -Original Message- > From: Brian Geffon > Sent: 25 November 2024 16:54 > To: Srinivas, Vidya > Cc: intel-gfx@lists.freedesktop.org; Syrjala, Ville ; > ville.syrj...@linux.intel.com; Lee, Shawn C > Subject: Re: [PATCH 2/2] [RFC] drm/i915: Unbind the vma in susp

[PATCH 2/2] [RFC] drm/i915: Unbind the vma in suspend if it was bound

2024-11-24 Thread Vidya Srinivas
In i915_ggtt_suspend_vm, if the vma was bound, the path to unbind/evict is not hitting during suspend. This is causing issues with DPT where DPT gets shrunk but the framebuffer is still on the DPT's bound list. This causes system reboot in some scenarios of suspend/resume where it tries to rewrite