]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Suppress printing of mode when running in non-sriov mode
authorSatyanarayana K V P <satyanarayana.k.v.p@intel.com>
Thu, 16 Jan 2025 05:56:17 +0000 (11:26 +0530)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Sat, 18 Jan 2025 23:39:45 +0000 (00:39 +0100)
commit173baa1b2dc44e3551d9414f4919a48fe5da4880
tree8b035bd5cfe090e1c64656522d3c5b48a78fbc87
parent238f96315ada9e2183b04df90c9714b1da68455c
drm/xe: Suppress printing of mode when running in non-sriov mode

The xe_sriov_probe_early() function prints the sriov pf/vf mode on
driver probe. When running in non-sriov mode, the below debug message
is seen.

"Running in none mode".

This print does not convey any information. This commit suppresses this
debug message and shows only when running in PF/VF mode.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: MichaƂ Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250116055617.20611-1-satyanarayana.k.v.p@intel.com
drivers/gpu/drm/xe/xe_sriov.c