diff options
author | Dave Airlie <airlied@redhat.com> | 2008-11-03 09:47:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-03 09:47:14 +1000 |
commit | 13d9acd3110a32d94434311821362900a9463cf4 (patch) | |
tree | d595e6014b416a0a75b9a0443a7a32a0c181ef5c | |
parent | 31b8a640db9b55638bf9967f0d78ec665fa8839f (diff) |
radeon: add more debugging
-rw-r--r-- | linux-core/radeon_gem_proc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linux-core/radeon_gem_proc.c b/linux-core/radeon_gem_proc.c index d3b467b1..04f5a5fc 100644 --- a/linux-core/radeon_gem_proc.c +++ b/linux-core/radeon_gem_proc.c @@ -84,10 +84,13 @@ static int radeon_interrupt_info(char *buf, char **start, off_t offset, } DRM_PROC_PRINT("Interrupts received: %d\n", atomic_read(&dev_priv->irq_received)); - DRM_PROC_PRINT("Current sequence: %d\n", - READ_BREADCRUMB(dev_priv)); + DRM_PROC_PRINT("Current sequence: %d %d\n", + READ_BREADCRUMB(dev_priv), RADEON_READ(RADEON_SCRATCH_REG3)); DRM_PROC_PRINT("Counter sequence: %d\n", dev_priv->counter); + if (dev_priv->chip_family >= CHIP_R300) + DRM_PROC_PRINT("CS: %d\n", + GET_SCRATCH(6)); if (len > request + offset) |