drm/xe: Change tile masks from u64 to u8
authorMatthew Brost <matthew.brost@intel.com>
Thu, 20 Jul 2023 04:00:51 +0000 (21:00 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:53 +0000 (11:37 -0500)
commit63412a5a6718771214900aec51fc9253b36efcc5
tree32b6c2ae3f8b89687524ad23bf5436e312bbdadb
parent3daf694ccf8afb936e3508c98738d52b13941397
drm/xe: Change tile masks from u64 to u8

This will save us a few bytes in the xe_vma structure.

v2: Use hweight8 rather than hweight_long (Rodrigo)

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm_types.h