drm/msm: Fix the separate_gpu_kms parameter description
PATCH 1/1 drm/msm: Fix the separate_gpu_kms parameter description
The module parameter is separate_gpu_kms, but its MODULE_PARM_DESC() names separate_gpu_drm, so modinfo describes a parameter that does not exist and shows no description for the real one.
Use the parameter name in the description.
Fixes 217ed15bd399 ("drm/msm: enable separate binding of GPU and display devices")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- drivers/gpu/drm/msm/msm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/msm_drv.c +1 -1
@@ -55,7 +55,7 @@ MODULE_PARM_DESC(modeset, "Use kernel modesetting [KMS] (1=on (default), 0=disabmodule_param (modeset, bool,0600 );static bool separate_gpu_kms; -MODULE_PARM_DESC (separate_gpu_drm,"Use separate DRM device for the GPU (0=single DRM device for both GPU and display (default), 1=two DRM devices)" ); +MODULE_PARM_DESC (separate_gpu_kms,"Use separate DRM device for the GPU (0=single DRM device for both GPU and display (default), 1=two DRM devices)" );module_param (separate_gpu_kms, bool,0400 );DECLARE_FAULT_ATTR (fail_gem_alloc);
base-commit: 986c24e0fe44f844b44d365b71ce831947f50298
Signature · 1 line
2.53.0
Quoted 10 lines · Karl Mehltretter
The module parameter is
separate_gpu_kms, but itsMODULE_PARM_DESC()namesseparate_gpu_drm, so modinfo describes a parameter that does not exist and shows no description for the real one.Use the parameter name in the description.
Fixes 217ed15bd399 ("drm/msm: enable separate binding of GPU and display devices")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad