]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/guc: Clean up of GuC 'CTL' defines
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 4 Sep 2025 19:57:50 +0000 (12:57 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 5 Sep 2025 20:31:32 +0000 (13:31 -0700)
commit0b05857dc11c97635e3cc80b231019307ec9d704
treeddfc48fea05458220250661af8d916ae8afa2bd0
parent6fc957185e1691bb6dfa4193698a229db537c2a2
drm/xe/guc: Clean up of GuC 'CTL' defines

All the field generation for the CTL defines (used for GuC init data)
were hand-rolled rather than using FIELD_PREP/REG_GENMASK/BIT macros.

Also, there were a bunch of macros defined for verbosity settings that
were never used.

So fix that all up.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250904195752.3846138-2-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_guc_fwif.h