Skip to contentSkip to conversation

drm/radeon: add error output if VM CS fails on cayman

PATCH New [email protected] 1 participant 1 message Oct 19, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon: add error output if VM CS fails on cayman

From: Alex Deucher <[email protected]>

So we know why the CS was rejected.

---
 drivers/gpu/drm/radeon/evergreen_cs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/evergreen_cs.c +1 -0
index 573ed1b..30271b64 100644
@@ -2829,6 +2829,7 @@ static bool evergreen_vm_reg_valid(u32 reg)
 	case CAYMAN_SQ_EX_ALLOC_TABLE_SLOTS:
 		return true;
 	default:
+		DRM_ERROR("Invalid register 0x%x in CS\n", reg);
 		return false;
 	}
 }
Signature · 1 line
1.7.7.5