[PATCH v2 0/1] drm/xe: correct the calculation of remaining size

fei.yang at intel.com fei.yang at intel.com
Tue Jan 16 20:04:23 UTC 2024


From: Fei Yang <fei.yang at intel.com>

Fix a bug in function write_pgtable where, in case the number of
PTEs is more than the maximum of one MI_STORE_DATA_IMM can take,
the caclulation of remaining size is wrong.
Also update the dword length calculation for MI_STORE_DATA_IMM
according to specification.

Cc: Matthew Brost <matthew.brost at intel.com>
Signed-off-by: Fei Yang <fei.yang at intel.com>

Fei Yang (1):
  drm/xe: correct the calculation of remaining size

 drivers/gpu/drm/xe/instructions/xe_mi_commands.h | 2 +-
 drivers/gpu/drm/xe/xe_migrate.c                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list