diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-08-31 17:54:07 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-06 06:55:08 -0400 |
commit | fcf4de5acf09889e3f0c131ebe385c983006d71b (patch) | |
tree | be714bec3efe39f1b4952d372ed2f1090362e3b0 /drivers/gpu/drm/radeon/rs600.c | |
parent | 2ae7b03c26948eddf7c0dd80e1f4eb09140f2698 (diff) |
drm/radeon: Print gart initialization details on all chipsets
This was previously done for r300 only. Use %016llX instead of %08X for
printing the table address.
Also fix typos in gart warning messages.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rs600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rs600.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rs600.c b/drivers/gpu/drm/radeon/rs600.c index 4b5d0e6974a8..9320dd6404f6 100644 --- a/drivers/gpu/drm/radeon/rs600.c +++ b/drivers/gpu/drm/radeon/rs600.c | |||
@@ -484,6 +484,9 @@ static int rs600_gart_enable(struct radeon_device *rdev) | |||
484 | tmp = RREG32_MC(R_000009_MC_CNTL1); | 484 | tmp = RREG32_MC(R_000009_MC_CNTL1); |
485 | WREG32_MC(R_000009_MC_CNTL1, (tmp | S_000009_ENABLE_PAGE_TABLES(1))); | 485 | WREG32_MC(R_000009_MC_CNTL1, (tmp | S_000009_ENABLE_PAGE_TABLES(1))); |
486 | rs600_gart_tlb_flush(rdev); | 486 | rs600_gart_tlb_flush(rdev); |
487 | DRM_INFO("PCIE GART of %uM enabled (table at 0x%016llX).\n", | ||
488 | (unsigned)(rdev->mc.gtt_size >> 20), | ||
489 | (unsigned long long)rdev->gart.table_addr); | ||
487 | rdev->gart.ready = true; | 490 | rdev->gart.ready = true; |
488 | return 0; | 491 | return 0; |
489 | } | 492 | } |