]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Keep all defaults in single header
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 21 Jan 2026 21:42:12 +0000 (22:42 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 3 Feb 2026 10:58:26 +0000 (11:58 +0100)
commit44f44d43f991825c856903bed01390c26c21e489
tree93b2a41517a037e4af88e4fdf5c64f3ee056fabc
parent0bc2c2e1a388fa4d94d2fca1a40d3619f923870f
drm/xe: Keep all defaults in single header

We already have most of Xe defaults defined in xe_module.c,
where we use them for the modparam initializations, but some
were defined elsewhere, which breaks the consistency.

Introduce xe_defaults.h file, that will act as a placeholder
for all our default values, and can be used from other places.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20260121214218.2817-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_defaults.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_module.c