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:
87ef920
)
drm/radeon: this VRAM vs aperture test is wrong, just remove it.
author
Dave Airlie
<airlied@itt42.(none)>
Thu, 18 Jun 2009 08:08:33 +0000
(18:08 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 18 Jun 2009 23:03:48 +0000
(09:03 +1000)
Its quite valid to have VRAM < aperture size.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/r100.c
b/drivers/gpu/drm/radeon/r100.c
index 5225f5be7ea7be8053956b6c56d7c7fea16f1e64..8f41f701f0b7db8d9d65f2613a71cb54542b4270 100644
(file)
--- a/
drivers/gpu/drm/radeon/r100.c
+++ b/
drivers/gpu/drm/radeon/r100.c
@@
-1267,12
+1267,6
@@
void r100_vram_info(struct radeon_device *rdev)
rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0);
rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0);
- if (rdev->mc.aper_size > rdev->mc.vram_size) {
- /* Why does some hw doesn't have CONFIG_MEMSIZE properly
- * setup ? */
- rdev->mc.vram_size = rdev->mc.aper_size;
- WREG32(RADEON_CONFIG_MEMSIZE, rdev->mc.vram_size);
- }
}