]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/guc: Cleanup GuC log buffer macros and helpers
authorZhanjun Dong <zhanjun.dong@intel.com>
Wed, 5 Nov 2025 23:31:43 +0000 (18:31 -0500)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 24 Nov 2025 18:50:07 +0000 (10:50 -0800)
commitf4c8298cf5f5c2458f700546456601f3ca9b282b
tree75d26b64b4b1098ee222363eb77db8475937f455
parent5a062505aa0ed5f9124c22f07da6ba58950475b2
drm/xe/guc: Cleanup GuC log buffer macros and helpers

Cleanup GuC log buffer macros and helpers, add Xe style macro prefix.
Update buffer type values to align with the GuC specification
Update buffer offset calculation.
Remove helper functions, replaced with macros.

Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patch.msgid.link/20251105233143.1168759-1-zhanjun.dong@intel.com
drivers/gpu/drm/xe/abi/guc_log_abi.h
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_guc_capture.c
drivers/gpu/drm/xe/xe_guc_fwif.h
drivers/gpu/drm/xe/xe_guc_log.c
drivers/gpu/drm/xe/xe_guc_log.h