OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb92830
)
drm/vmwgfx: Fix a 64bit regression on svga3
author
Zack Rusin
<zackr@vmware.com>
Tue, 15 Jun 2021 18:23:34 +0000
(14:23 -0400)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 2 Aug 2021 19:00:37 +0000
(21:00 +0200)
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
(cherry picked from commit
87360168759879d68550b0c052bbcc2a0339ff74
)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index
d1cef3b
..
5652d98
100644
(file)
--- 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 prim_bb_mem;
-
void
__iomem *rmmio;
+
u32
__iomem *rmmio;
u32 *fifo_mem;
resource_size_t fifo_mem_size;
uint32_t fb_max_width;