[PATCH v3 2/2] drm/xe: Clear GGTT in xe_bo_restore_kernel

Matthew Auld matthew.auld at intel.com
Wed Nov 13 12:55:35 UTC 2024


On 06/11/2024 18:35, Matthew Brost wrote:
> Part of what xe_bo_restore_kernel does, is restore BO's GGTT mappings
> which may have been lost during a power state change. Missing is
> restoring the GGTT entries without BO mappings to a known state (e.g.,
> scratch pages). Update xe_bo_restore_kernel to clear the entire GGTT
> before restoring BO's GGTT mappings.
> 
> v2:
>   - Include missing local change of tile and id variable (CI)
> v3:
>   - Fixed kernel doc (CI)
> 
> Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> Cc: <stable at vger.kernel.org> # v6.8+
Reviewed-by: Matthew Auld <matthew.auld at intel.com>



More information about the Intel-xe mailing list