diff options
author | Zack Rusin <zackr@vmware.com> | 2021-06-15 14:23:34 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2021-06-16 14:27:17 -0400 |
commit | c2aaa37dc18fb7191a0fd829a7a943f61c2821de (patch) | |
tree | 84961e3f529fdc766bf93c1f9b4cb52a72b27ce3 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | ebc9ac7c3dfe85e7e29af896c7fd1095129fd72c (diff) |
drm/vmwgfx: Fix a 64bit regression on svga3
Register accesses are always 4bytes, accidently this was changed to
a void pointer whwqich badly breaks 64bit archs when running on top
of svga3.
Fixes: 2cd80dbd3551 ("drm/vmwgfx: Add basic support for SVGA3")
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210615182336.995192-3-zackr@vmware.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 0dd5a3e06f5f..356f82c26f59 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -492,7 +492,7 @@ struct vmw_private { resource_size_t vram_start; resource_size_t vram_size; resource_size_t max_primary_mem; - void __iomem *rmmio; + u32 __iomem *rmmio; u32 *fifo_mem; resource_size_t fifo_mem_size; uint32_t fb_max_width; |