[Intel-gfx] [PATCH 1/2] drm/i915/error: Use yesno() to report iommu enable status
Arun Siluvery
arun.siluvery at linux.intel.com
Thu Aug 11 16:09:00 UTC 2016
Signed-off-by: Arun Siluvery <arun.siluvery at linux.intel.com>
---
drivers/gpu/drm/i915/i915_gpu_error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
index eecb870..3209f6a 100644
--- a/drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/drivers/gpu/drm/i915/i915_gpu_error.c
@@ -363,7 +363,7 @@ int i915_error_state_to_str(struct drm_i915_error_state_buf *m,
err_printf(m, "PCI Subsystem: %04x:%04x\n",
dev->pdev->subsystem_vendor,
dev->pdev->subsystem_device);
- err_printf(m, "IOMMU enabled?: %d\n", error->iommu);
+ err_printf(m, "IOMMU enabled?: %s\n", yesno(error->iommu == 1));
if (HAS_CSR(dev)) {
struct intel_csr *csr = &dev_priv->csr;
--
1.9.1
More information about the Intel-gfx
mailing list