Skip to content

Commit

Permalink
drm/radeon: r600 ptes are 64-bit, cleanup cleanup function.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Mar 13, 2009
1 parent 03efb88 commit 06f0a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/r600_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void r600_page_table_cleanup(struct drm_device *dev, struct drm_ati_pcigart_info
return;

if (gart_info->bus_addr) {
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;

Expand Down

0 comments on commit 06f0a48

Please sign in to comment.