drm/radeon/kms: stop putting VRAM at 0 in MC space on r600s.
authorDave Airlie <airlied@linux.ie>
Tue, 3 Nov 2009 04:54:36 +0000 (14:54 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Nov 2009 02:12:44 +0000 (12:12 +1000)
commit4d357abb895ec51f1cbdebb1fbbf4d4576900a2e
treed97f2d4ba0ca341d8ac8815a46ccb05e2679df11
parent8a9832e89ff1bc7a039c8f966f07101570be3d5e
drm/radeon/kms: stop putting VRAM at 0 in MC space on r600s.

The Lenovo W500 laptop hangs inside an SMI on brightness changes,
I thought it just needed the VGA disable but it turned out to require
slightly more work, setting the MC locations up just like the IGP
chip requirements seems to make it all happy again and I can boot
and play with brightness.

We should probably just do this for all chips and give up the VRAM
at 0x0 idea, it never seems to buy us anything but pain.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c