diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-10-19 13:27:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-31 10:02:32 -0700 |
commit | 1c1e11543381f3ff0cee52b69903928ff881c0cb (patch) | |
tree | 2e1f6a5b1fde0f0f5c936e5fd8aa52102a56614f /drivers/gpu | |
parent | 8357dde8b780b426d398f9e3701fdc16f0856766 (diff) |
drm/radeon: add error output if VM CS fails on cayman
commit c71721324c612f7f040657ce9917d87f530f9784 upstream.
So we know why the CS was rejected.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen_cs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c index ea69daeffac..977b22d4f47 100644 --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -2775,6 +2775,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; } } |