drm/xe: correct the assertion for number of PTEs
authorFei Yang <fei.yang@intel.com>
Thu, 25 Jan 2024 06:52:45 +0000 (22:52 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Sat, 27 Jan 2024 02:29:05 +0000 (18:29 -0800)
commit348769d1cbfab409b9ac21c653dd4db609760175
treec7013536ab4a43a2a30a89ff909873ddcbd6a6ad
parentd688b86a290ecb9ca1a413f01da056be4b7a4914
drm/xe: correct the assertion for number of PTEs

While one MI_STORE_DATA_IMM can take no more than 0x1fe qwords,
the size of the pgtable can be 512 entries.

Fixes: 43d48379c939 ("drm/xe: correct the calculation of remaining size")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Fei Yang <fei.yang@intel.com>
Tested-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240125065245.1204731-2-fei.yang@intel.com
drivers/gpu/drm/xe/xe_migrate.c