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

commit c71721324c 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>
This commit is contained in:
Alex Deucher 2012-10-19 13:27:04 -04:00 committed by Greg Kroah-Hartman
parent 8357dde8b7
commit 1c1e115433

View file

@ -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;
}
}