[Intel-xe] [PATCH 3/3] drm/xe: Print virtualization mode during probe
Matt Roper
matthew.d.roper at intel.com
Wed Nov 22 19:49:35 UTC 2023
On Wed, Nov 15, 2023 at 08:38:04AM +0100, Michal Wajdeczko wrote:
> We already print some basic information about the device, add
> virtualization information, until we expose that elsewhere.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 3030b223e4a0..cb762c11dd0f 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -736,6 +736,10 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> xe_step_name(xe->info.step.display),
> xe_step_name(xe->info.step.basedie));
>
> + drm_dbg(&xe->drm, "SR-IOV support: %s (mode: %s)\n",
> + str_yes_no(xe_device_has_sriov(xe)),
> + xe_sriov_mode_to_string(xe_device_sriov_mode(xe)));
> +
> err = xe_device_probe(xe);
> if (err)
> goto err_pci_disable;
> --
> 2.25.1
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
More information about the Intel-xe
mailing list