[Intel-xe] [PATCH] drm/xe/display: Print display ip version
Rodrigo Vivi
rodrigo.vivi at intel.com
Wed Sep 6 18:39:21 UTC 2023
On Wed, Sep 06, 2023 at 11:34:00AM +0530, Balasubramani Vivekanandan wrote:
> Print display ip version during module load
Isn't this useful on i915 side as well?
>
> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 60f3474844e2..fc01544346d5 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -844,6 +844,11 @@ static int xe_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> str_yes_no(xe->info.enable_display),
> xe->info.dma_mask_size, xe->info.tile_count);
>
> + if (xe->info.enable_display)
> + drm_dbg(&xe->drm, "Display: %d.%02d\n",
> + xe->info.display_runtime.ip.ver,
> + xe->info.display_runtime.ip.rel);
> +
> drm_dbg(&xe->drm, "Stepping = (G:%s, M:%s, D:%s, B:%s)\n",
> xe_step_name(xe->info.step.graphics),
> xe_step_name(xe->info.step.media),
> --
> 2.25.1
>
More information about the Intel-xe
mailing list