drm/radeon: Make IH ring overflow debugging output more useful
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 19 Sep 2014 03:22:07 +0000 (12:22 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Sep 2014 21:24:26 +0000 (17:24 -0400)
commit6cc2fda213d7a939e151ea1b5ec8033cce732c08
tree71a04731c793109399eb1b525f9f1ef15a884cb6
parent11bab0ae9991b165b542294806013d1e06fb3294
drm/radeon: Make IH ring overflow debugging output more useful

Use the same format for all ring indices, and fix the calculation of the
post-overflow RPTR.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/si.c