]> git.karo-electronics.de Git - karo-tx-linux.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)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:03 +0000 (23:40 +0100)
commitcde76274952b114223f4b36123ffa3450c5bbf8a
tree0c00c5d542991a17ed70ba32fcb3f608a930c6fb
parentbabbccf4d973c20eb79b5879a669106bd67b2f33
drm/radeon/kms: MC vram map needs to be >= pci aperture size

commit b7d8cce5b558e0c0aa6898c9865356481598b46d upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/gpu/drm/radeon/r100.c