projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2007d63
)
drm/radeon/kms: fix vram vs aper size check.
author
Dave Airlie
<airlied@redhat.com>
Thu, 9 Jul 2009 06:01:42 +0000
(16:01 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 15 Jul 2009 07:13:14 +0000
(17:13 +1000)
Fix this to be correct like the DDX code, looks like a typo
on transfer to the kernel.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index f97563db4e59550d68d8b54c5cfcebf56375a57f..332911267ebe1e3dd2e0b865099ce1d82b8a53b9 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_device.c
+++ b/
drivers/gpu/drm/radeon/radeon_device.c
@@
-552,7
+552,7
@@
int radeon_device_init(struct radeon_device *rdev,
* for RN50/M6/M7 - Novell bug 204882 ?
*/
if (rdev->mc.vram_size < rdev->mc.aper_size) {
- rdev->mc.
aper_size = rdev->mc.vram
_size;
+ rdev->mc.
vram_size = rdev->mc.aper
_size;
}
/* Add an MTRR for the VRAM */
rdev->mc.vram_mtrr = mtrr_add(rdev->mc.aper_base, rdev->mc.aper_size,