]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Use for_each_remote_tile rather than manual check
authorMatthew Brost <matthew.brost@intel.com>
Fri, 16 Aug 2024 04:02:08 +0000 (21:02 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 16 Aug 2024 16:31:18 +0000 (09:31 -0700)
commitdb3461a7743817ad7c73553902231b096616813a
tree861f94663070f4078c2d447ea220dae92909eba7
parent5a891a0e69f134f53cc91b409f38e5ea1cafaf0a
drm/xe: Use for_each_remote_tile rather than manual check

Replace for_each_tile plus a check against primary tile with
for_each_remote_tile in tiles_fini. The latter macro does this for us.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240816040208.62695-1-matthew.brost@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_mmio.c