aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_gart.c
diff options
context:
space:
mode:
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;