mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 19:30:11 +01:00
Fix cpu_to_le32 same as kernel not sure it is correct for ppc
This commit is contained in:
parent
fb22dfbfc1
commit
b84daa8f32
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info *gart_info)
|
|||
|
||||
for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) {
|
||||
if (gart_info->is_pcie)
|
||||
*pci_gart = (cpu_to_le32(page_base)>>8) | 0xc;
|
||||
*pci_gart = cpu_to_le32((page_base>>8) | 0xc);
|
||||
else
|
||||
*pci_gart = cpu_to_le32(page_base);
|
||||
pci_gart++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue