aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_gart.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-08-31 17:54:07 -0400
committerDave Airlie <airlied@redhat.com>2011-09-06 06:55:08 -0400
commitfcf4de5acf09889e3f0c131ebe385c983006d71b (patch)
treebe714bec3efe39f1b4952d372ed2f1090362e3b0 /drivers/gpu/drm/radeon/radeon_gart.c
parent2ae7b03c26948eddf7c0dd80e1f4eb09140f2698 (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/radeon_gart.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_gart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c
index a533f52fd163..fdc3a9a54bf8 100644
--- a/drivers/gpu/drm/radeon/radeon_gart.c
+++ b/drivers/gpu/drm/radeon/radeon_gart.c
@@ -142,7 +142,7 @@ void radeon_gart_unbind(struct radeon_device *rdev, unsigned offset,
142 u64 page_base; 142 u64 page_base;
143 143
144 if (!rdev->gart.ready) { 144 if (!rdev->gart.ready) {
145 WARN(1, "trying to unbind memory to unitialized GART !\n"); 145 WARN(1, "trying to unbind memory from uninitialized GART !\n");
146 return; 146 return;
147 } 147 }
148 t = offset / RADEON_GPU_PAGE_SIZE; 148 t = offset / RADEON_GPU_PAGE_SIZE;
@@ -174,7 +174,7 @@ int radeon_gart_bind(struct radeon_device *rdev, unsigned offset,
174 int i, j; 174 int i, j;
175 175
176 if (!rdev->gart.ready) { 176 if (!rdev->gart.ready) {
177 WARN(1, "trying to bind memory to unitialized GART !\n"); 177 WARN(1, "trying to bind memory to uninitialized GART !\n");
178 return -EINVAL; 178 return -EINVAL;
179 } 179 }
180 t = offset / RADEON_GPU_PAGE_SIZE; 180 t = offset / RADEON_GPU_PAGE_SIZE;