[PATCH v6 08/11] drm/xe/configfs: Keep default device config settings together
Lucas De Marchi
lucas.demarchi at intel.com
Tue Aug 5 13:28:23 UTC 2025
On Thu, Jul 31, 2025 at 09:33:36PM +0200, Michal Wajdeczko wrote:
>For easier maintenance add a placeholder where we can keep all
>default device configuration settings in one place.
>
>Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Reviewed-by: John Harrison <John.C.Harrison at Intel.com>
>---
> drivers/gpu/drm/xe/xe_configfs.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_configfs.c b/drivers/gpu/drm/xe/xe_configfs.c
>index 7ad9fc65e21d..150e7f2becc8 100644
>--- a/drivers/gpu/drm/xe/xe_configfs.c
>+++ b/drivers/gpu/drm/xe/xe_configfs.c
>@@ -97,6 +97,16 @@ struct xe_config_group_device {
> struct mutex lock;
> };
>
>+static struct xe_config_device device_defaults = {
any reason why this would not be const?
Lucas De Marchi
More information about the Intel-xe
mailing list