Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06f0a488 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/radeon: r600 ptes are 64-bit, cleanup cleanup function.



Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 03efb885
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;