]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Pack fault type and level into a u8
authorMatthew Brost <matthew.brost@intel.com>
Thu, 12 Feb 2026 20:42:26 +0000 (12:42 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 13 Feb 2026 20:03:39 +0000 (12:03 -0800)
commit68be2bfe4bcd70932a3dcb2eb20398933b5f454f
tree5ca632f1d048baf293dc1fb25ac021625c541daf
parent2882094e0db192c431db14aab09cc08d18dcd059
drm/xe: Pack fault type and level into a u8

Pack the fault type and level fields into a single u8 to save space in
struct xe_pagefault. This also makes future extensions easier.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260212204227.2764054-2-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_pagefault.c
drivers/gpu/drm/xe/xe_pagefault.c
drivers/gpu/drm/xe/xe_pagefault_types.h