[PATCH v3] drm/xe: Normalize default param values

Lucas De Marchi lucas.demarchi at intel.com
Fri Jul 11 21:51:26 UTC 2025


On Fri, Jul 11, 2025 at 12:23:36PM -0700, John Harrison wrote:
>On 6/26/2025 2:25 PM, Lucas De Marchi wrote:
>>Document xe module params with the default values following a similar
>>
>>strategy for all of them:
>>
>>
>>
>>	1) Define a DEFAULT_* macro with the default value. When the
>>
>>	   value can't be directly stringified, also define a *_STR
>>
>>	   variant
>>
>>	2) Use __stringify() or the _STR variant to make sure the
>>
>>	   default value shows up in the param description
>>
>>
>>
>>This allows us to show the correct default according to the
>>
>>configuration. max_vfs for example was wrongly documented for
>>
>>CONFIG_DRM_XE_DEBUG and svm_notifier_size didn't have its default
>>
>>documented.
>>
>>
>>
>>Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
>Reviewed-by: John Harrison <John.C.Harrison at Intel.com>

I split the patch between drm-xe-next and topic/xe-for-CI. I didn't
realize before the max_vfs was a patch in topic/xe-for-CI only.

Applied, thanks.
Lucas De Marchi


More information about the Intel-xe mailing list