diff options
author | Dave Airlie <airlied@redhat.com> | 2009-03-12 19:35:32 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 00:24:21 -0400 |
commit | 06f0a488c1b642d3cd7769da66600e5148c3fad8 (patch) | |
tree | d2be55edb1a7e32cd3e89f1469b5db049c0e308d /drivers/gpu/drm/radeon/r600_cp.c | |
parent | 03efb8853c35aff51c7b901bf412f32765fe0fd9 (diff) |
drm/radeon: r600 ptes are 64-bit, cleanup cleanup function.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_cp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cp.c b/drivers/gpu/drm/radeon/r600_cp.c index 490f35396cbb..76eb0d5ab570 100644 --- a/drivers/gpu/drm/radeon/r600_cp.c +++ b/drivers/gpu/drm/radeon/r600_cp.c | |||
@@ -125,7 +125,7 @@ void r600_page_table_cleanup(struct drm_device *dev, struct drm_ati_pcigart_info | |||
125 | return; | 125 | return; |
126 | 126 | ||
127 | if (gart_info->bus_addr) { | 127 | if (gart_info->bus_addr) { |
128 | max_pages = (gart_info->table_size / sizeof(u32)); | 128 | max_pages = (gart_info->table_size / sizeof(u64)); |
129 | pages = (entry->pages <= max_pages) | 129 | pages = (entry->pages <= max_pages) |
130 | ? entry->pages : max_pages; | 130 | ? entry->pages : max_pages; |
131 | 131 | ||