summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen_cs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-10-19 13:27:04 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-10-23 10:23:50 -0400
commitc71721324c612f7f040657ce9917d87f530f9784 (patch)
treeadd10c3f1cb24c27d57c78254526c0d26df8b52a /drivers/gpu/drm/radeon/evergreen_cs.c
parent614499b4d844dcceae5ae2f1e53a2963789a8933 (diff)
downloadblackbird-op-linux-c71721324c612f7f040657ce9917d87f530f9784.tar.gz
blackbird-op-linux-c71721324c612f7f040657ce9917d87f530f9784.zip
drm/radeon: add error output if VM CS fails on cayman
So we know why the CS was rejected. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_cs.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen_cs.c1
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 573ed1bc6cf7..30271b641913 100644
--- a/drivers/gpu/drm/radeon/evergreen_cs.c
+++ b/drivers/gpu/drm/radeon/evergreen_cs.c
@@ -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;
}
}
OpenPOWER on IntegriCloud