[PATCH 1/1] Make page size consistent in migration
Matthew Brost
matthew.brost at intel.com
Mon Aug 18 03:04:12 UTC 2025
On Sat, Aug 16, 2025 at 11:24:46PM +0900, Simon Richter wrote:
You are going to need a commit message. Patch is correct though.
With a proper commit messgae:
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
> ---
> drivers/gpu/drm/xe/xe_migrate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_migrate.c b/drivers/gpu/drm/xe/xe_migrate.c
> index 836333c77a88..0c0864c8fd57 100644
> --- a/drivers/gpu/drm/xe/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/xe_migrate.c
> @@ -281,7 +281,7 @@ static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,
> }
>
> /* Write PDE's that point to our BO. */
> - for (i = 0; i < map_ofs / PAGE_SIZE; i++) {
> + for (i = 0; i < map_ofs / XE_PAGE_SIZE; i++) {
> entry = vm->pt_ops->pde_encode_bo(bo, (u64)i * XE_PAGE_SIZE);
>
> xe_map_wr(xe, &bo->vmap, map_ofs + XE_PAGE_SIZE +
> --
> 2.47.2
>
More information about the Intel-xe
mailing list