aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mga/mga_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/mga/mga_drv.h')
-rw-r--r--drivers/gpu/drm/mga/mga_drv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/mga/mga_drv.h b/drivers/gpu/drm/mga/mga_drv.h
index 88257c276eb9..3d264f288237 100644
--- a/drivers/gpu/drm/mga/mga_drv.h
+++ b/drivers/gpu/drm/mga/mga_drv.h
@@ -113,8 +113,8 @@ typedef struct drm_mga_private {
113 * \sa drm_mga_private_t::mmio 113 * \sa drm_mga_private_t::mmio
114 */ 114 */
115 /*@{ */ 115 /*@{ */
116 u32 mmio_base; /**< Bus address of base of MMIO. */ 116 resource_size_t mmio_base; /**< Bus address of base of MMIO. */
117 u32 mmio_size; /**< Size of the MMIO region. */ 117 resource_size_t mmio_size; /**< Size of the MMIO region. */
118 /*@} */ 118 /*@} */
119 119
120 u32 clear_cmd; 120 u32 clear_cmd;
@@ -317,8 +317,8 @@ do { \
317 DRM_INFO( "\n" ); \ 317 DRM_INFO( "\n" ); \
318 DRM_INFO( " tail=0x%06x head=0x%06lx\n", \ 318 DRM_INFO( " tail=0x%06x head=0x%06lx\n", \
319 dev_priv->prim.tail, \ 319 dev_priv->prim.tail, \
320 MGA_READ( MGA_PRIMADDRESS ) - \ 320 (unsigned long)(MGA_READ(MGA_PRIMADDRESS) - \
321 dev_priv->primary->offset ); \ 321 dev_priv->primary->offset)); \
322 } \ 322 } \
323 if ( !test_bit( 0, &dev_priv->prim.wrapped ) ) { \ 323 if ( !test_bit( 0, &dev_priv->prim.wrapped ) ) { \
324 if ( dev_priv->prim.space < \ 324 if ( dev_priv->prim.space < \