[PATCH 1/1] drm/i915/gt : Add logs to print phys_addr
Riana Tauro
riana.tauro at intel.com
Thu Sep 1 07:48:41 UTC 2022
Add logs to print phys_addr
Signed-off-by: Riana Tauro <riana.tauro at intel.com>
---
drivers/gpu/drm/i915/gt/intel_gt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c b/drivers/gpu/drm/i915/gt/intel_gt.c
index e4bac2431e41..b5da81bbd935 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt.c
+++ b/drivers/gpu/drm/i915/gt/intel_gt.c
@@ -832,7 +832,9 @@ int intel_gt_probe_all(struct drm_i915_private *i915)
int ret;
mmio_bar = GRAPHICS_VER(i915) == 2 ? GEN2_GTTMMADR_BAR : GTTMMADR_BAR;
+ drm_dbg(&i915->drm, "%s mmio_bar %d\n",__func__,mmio_bar);
phys_addr = pci_resource_start(pdev, mmio_bar);
+ drm_dbg(&i915->drm, "%s phys_addr %llu\n",__func__,phys_addr);
/*
* We always have at least one primary GT on any device
--
2.25.1
More information about the Intel-gfx-trybot
mailing list