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

Commit 3d5efad9 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

drm: fix drm PCIGART



PCI Express support broke PCIGART

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent b3a83639
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -205,7 +205,8 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info * gart_info)
			if (gart_info->is_pcie)
				*pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc;
			else
				*pci_gart++ = cpu_to_le32(page_base);
				*pci_gart = cpu_to_le32(page_base);
			*pci_gart++;
			page_base += ATI_PCIGART_PAGE_SIZE;
		}
	}