drm/radeon: dump full IB if we hit a packet error
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Feb 2015 15:15:10 +0000 (10:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Feb 2015 21:06:06 +0000 (16:06 -0500)
commite1b4e722f7b401bdf90f2ac397b89c20d096eb04
treef79a3c0befd2aa5fe86d545e02f84d5868b32bd2
parent951caa6acf7121f88a9e8e04ef75bd0ac323a033
drm/radeon: dump full IB if we hit a packet error

Dump the whole IB if we run into an invalid packet.
This makes things much easier to debug.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=89148

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/si.c