Re: [Intel-gfx] [PATCH] drm/i915: Fix display problems after resume

2022-09-12 Thread Ville Syrjälä
On Mon, Sep 12, 2022 at 02:48:54PM +0200, Thomas Hellström wrote: > On Mon, 2022-09-12 at 15:43 +0300, Ville Syrjälä wrote: > > On Mon, Sep 12, 2022 at 02:19:57PM +0200, Thomas Hellström wrote: > > > Commit 39a2bd34c933 ("drm/i915: Use the vma resource as argument > > > for gtt > > > binding / unbi

Re: [Intel-gfx] [PATCH] drm/i915: Fix display problems after resume

2022-09-12 Thread Thomas Hellström
On Mon, 2022-09-12 at 15:43 +0300, Ville Syrjälä wrote: > On Mon, Sep 12, 2022 at 02:19:57PM +0200, Thomas Hellström wrote: > > Commit 39a2bd34c933 ("drm/i915: Use the vma resource as argument > > for gtt > > binding / unbinding") introduced a regression that due to the vma > > resource > > trackin

Re: [Intel-gfx] [PATCH] drm/i915: Fix display problems after resume

2022-09-12 Thread Ville Syrjälä
On Mon, Sep 12, 2022 at 02:19:57PM +0200, Thomas Hellström wrote: > Commit 39a2bd34c933 ("drm/i915: Use the vma resource as argument for gtt > binding / unbinding") introduced a regression that due to the vma resource > tracking of the binding state, dpt ptes were not correctly repopulated. Doesn'

[PATCH] drm/i915: Fix display problems after resume

2022-09-12 Thread Thomas Hellström
Commit 39a2bd34c933 ("drm/i915: Use the vma resource as argument for gtt binding / unbinding") introduced a regression that due to the vma resource tracking of the binding state, dpt ptes were not correctly repopulated. Fix this by clearing the vma resource state before repopulating. The state will