projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed10f95
)
drm/radeon/kms: mmio base/size should be resource_size_t.
author
Dave Airlie
<airlied@redhat.com>
Mon, 29 Jun 2009 08:29:12 +0000
(18:29 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 15 Jul 2009 07:13:03 +0000
(17:13 +1000)
Unsigned long is incorrect for 64-bit resources on 32-bit hw.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon.h
b/drivers/gpu/drm/radeon/radeon.h
index d61f2fc61df53e959b083ce5f07aa2a3b6771d27..e7662ba9abfb41233ecf82786e0ad042bb643d54 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon.h
+++ b/
drivers/gpu/drm/radeon/radeon.h
@@
-594,8
+594,8
@@
struct radeon_device {
struct radeon_object *fbdev_robj;
struct radeon_framebuffer *fbdev_rfb;
/* Register mmio */
-
unsigned long
rmmio_base;
-
unsigned long
rmmio_size;
+
resource_size_t
rmmio_base;
+
resource_size_t
rmmio_size;
void *rmmio;
radeon_rreg_t mm_rreg;
radeon_wreg_t mm_wreg;