[PATCH 0/2] Fix mips and refactor LRC tables

Lucas De Marchi lucas.demarchi at intel.com
Thu Mar 21 22:17:24 UTC 2024


First patch is a straightforward fix the build for mips. This is tested
with gcc 12 with a defconfig + CONFIG_DRM_XE*.

Second patch is a tentative to improve it by moving code around so we
can use ARRAY_SIZE() and avoid the sentinel (that has been a source of
bugs already in early platform support AFAIR). Maybe it will probably
need to be split and resent later though. This one is untested.

Lucas De Marchi (2):
  drm/xe: Fix END redefinition
  drm/xe: Let set_offsets() get the per-platform offsets

 drivers/gpu/drm/xe/xe_lrc.c | 204 ++++++++++++++++++------------------
 1 file changed, 103 insertions(+), 101 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list