aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r100.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2009-10-14 00:34:41 -0400
committerDave Airlie <airlied@redhat.com>2009-10-15 18:49:23 -0400
commita77f171843d466d4af0d527bcb2d314fafa8afd7 (patch)
treeca184539d306a819d70ce93b44536fdb6980012a /drivers/gpu/drm/radeon/r100.c
parentdfdd646773941bb6b22c3898a26a109e57c872a2 (diff)
drm/radeon/kms: use RADEON_GPU_PAGE_SIZE instead of 4096
Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r100.c')
-rw-r--r--drivers/gpu/drm/radeon/r100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index 33198dd5706c..c22adff179a9 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -240,7 +240,7 @@ int r100_wb_init(struct radeon_device *rdev)
240 int r; 240 int r;
241 241
242 if (rdev->wb.wb_obj == NULL) { 242 if (rdev->wb.wb_obj == NULL) {
243 r = radeon_object_create(rdev, NULL, 4096, 243 r = radeon_object_create(rdev, NULL, RADEON_GPU_PAGE_SIZE,
244 true, 244 true,
245 RADEON_GEM_DOMAIN_GTT, 245 RADEON_GEM_DOMAIN_GTT,
246 false, &rdev->wb.wb_obj); 246 false, &rdev->wb.wb_obj);