fix warning on machines where sizeof(drm_addr_t) != 4 (Randy Dunlap)
parent
285b1cdc39
commit
1d5bf7a7de
|
@ -903,8 +903,8 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
|
||||||
|
|
||||||
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
|
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
|
||||||
entry->busaddr[page_ofs]);
|
entry->busaddr[page_ofs]);
|
||||||
DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
|
DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
|
||||||
entry->busaddr[page_ofs],
|
(unsigned long) entry->busaddr[page_ofs],
|
||||||
entry->handle + tmp_ofs );
|
entry->handle + tmp_ofs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -903,8 +903,8 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
|
||||||
|
|
||||||
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
|
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
|
||||||
entry->busaddr[page_ofs]);
|
entry->busaddr[page_ofs]);
|
||||||
DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
|
DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
|
||||||
entry->busaddr[page_ofs],
|
(unsigned long) entry->busaddr[page_ofs],
|
||||||
entry->handle + tmp_ofs );
|
entry->handle + tmp_ofs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue