diff options
author | Dave Airlie <airlied@redhat.com> | 2009-03-13 10:54:21 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-13 10:54:21 -0400 |
commit | 06c0fea8bb0b78949285538be0bd4916323fc557 (patch) | |
tree | 048227329d56622d5dadd726f77328a9e518b550 | |
parent | 36d30bc75dabc39f69e5d5475c84aa4186fbbdbf (diff) |
drm/radeon: r600 ptes are 64-bit, cleanup cleanup function.
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | shared-core/r600_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/r600_cp.c b/shared-core/r600_cp.c index 89e0737e..ab4ee96f 100644 --- a/shared-core/r600_cp.c +++ b/shared-core/r600_cp.c @@ -441,7 +441,7 @@ void r600_page_table_cleanup(struct drm_device *dev, struct drm_ati_pcigart_info #endif if (gart_info->bus_addr) { #ifdef __linux__ - max_pages = (gart_info->table_size / sizeof(u32)); + max_pages = (gart_info->table_size / sizeof(u64)); pages = (entry->pages <= max_pages) ? entry->pages : max_pages; |