drm/radeon: add error output if VM CS fails on cayman
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Oct 2012 17:27:04 +0000 (13:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Oct 2012 14:23:50 +0000 (10:23 -0400)
So we know why the CS was rejected.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/evergreen_cs.c

index 573ed1bc6cf7d36ffd1a3385cc05350fd7a3d3a0..30271b641913f3eeee72dcdc7db7146217c86109 100644 (file)
@@ -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;
        }
 }