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

Thomas Hellström thomas.hellstrom at linux.intel.com
Wed Oct 5 14:31:04 UTC 2022


On 10/5/22 15:32, Matthew Auld wrote:
> Hi Thomas,

Thanks for reviewing, Matt.

/Thomas


>
> On 05/10/2022 13:11, 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.
>> Fix this by clearing the vma resource state before repopulating.
>> The state will subsequently be restored by the bind_vma operation.
>>
>> Fixes: 39a2bd34c933 ("drm/i915: Use the vma resource as argument for 
>> gtt binding / unbinding")
>> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
>> Link: 
>> https://patchwork.freedesktop.org/patch/msgid/20220912121957.31310-1-thomas.hellstrom@linux.intel.com
>> Cc: Matthew Auld <matthew.auld at intel.com>
>> Cc: intel-gfx at lists.freedesktop.org
>> Cc: <stable at vger.kernel.org> # v5.18+
>> Reported-and-tested-by: Kevin Boulain <kevinboulain at gmail.com>
>> Tested-by: David de Sousa <davidesousa at gmail.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
>


More information about the Intel-gfx mailing list