]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: MC vram map needs to be >= pci aperture size
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 25 Oct 2010 23:44:00 +0000 (19:44 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Oct 2010 00:26:41 +0000 (10:26 +1000)
commitc41a3496b057eeb64afee74eabe49c83137bd043
tree07f0f80e625e4a60d3f8c3fba89f97ac01c75923
parentcd7da04c93d5487acbd22fe3e702dc26486f78ec
drm/radeon/kms: MC vram map needs to be >= pci aperture size

The vram map in the radeon memory controller needs to be
>= the pci aperture size.  Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28402

The problematic cards in the above bug have 64 MB of vram,
but the pci aperture is 128 MB and the MC vram map was only
64 MB.  This can lead to hangs.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c