[PATCH v6 5/9] drm/xe/vf: Rebase HWSP of all contexts after migration

Michał Winiarski michal.winiarski at intel.com
Wed Jul 16 13:59:49 UTC 2025


On Fri, Jul 04, 2025 at 11:02:24PM +0200, Tomasz Lis wrote:
> All contexts require an update due to GGTT range shift, as that
> affects their HWSP.
> 
> The HW status page of a context contains GGTT references, which
> need to be shifted to a new range (or re-computed using the
> previously updated vma nodes). The references include ring start
> address and indirect state address.
> 
> v2: move some functions to better matched files
> v3: Add missing kerneldocs
> v4: Style fix
> 
> Signed-off-by: Tomasz Lis <tomasz.lis at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Michal Winiarski <michal.winiarski at intel.com>
> Acked-by: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

Thanks,
-Michał

> ---
>  drivers/gpu/drm/xe/xe_exec_queue.c | 13 +++++++++++++
>  drivers/gpu/drm/xe/xe_exec_queue.h |  2 ++
>  drivers/gpu/drm/xe/xe_guc_submit.c | 16 ++++++++++++++++
>  drivers/gpu/drm/xe/xe_guc_submit.h |  2 ++
>  drivers/gpu/drm/xe/xe_lrc.c        | 17 +++++++++++++++++
>  drivers/gpu/drm/xe/xe_lrc.h        |  1 +
>  drivers/gpu/drm/xe/xe_sriov_vf.c   |  1 +
>  7 files changed, 52 insertions(+)


More information about the Intel-xe mailing list