]> Git Repo - linux.git/commit
drm/i915: Fix display problems after resume
authorThomas Hellström <[email protected]>
Wed, 5 Oct 2022 12:11:59 +0000 (14:11 +0200)
committerTvrtko Ursulin <[email protected]>
Tue, 11 Oct 2022 13:55:32 +0000 (14:55 +0100)
commit6c482c62a635aa4f534d2439fbf8afa37452b986
tree1b895f20cc17e5cee3477f5ce65bd5ad8cae3cc7
parentc5e595e752b3a1c68cca57c3559521237332fbec
drm/i915: Fix display problems after resume

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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Cc: Matthew Auld <[email protected]>
Cc: [email protected]
Cc: <[email protected]> # v5.18+
Reported-and-tested-by: Kevin Boulain <[email protected]>
Tested-by: David de Sousa <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit bc2472538c0d1cce334ffc9e97df0614cd2b1469)
Signed-off-by: Tvrtko Ursulin <[email protected]>
drivers/gpu/drm/i915/gt/intel_ggtt.c
This page took 0.060502 seconds and 4 git commands to generate.