]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: respect TOM on rs100->rs480 IGP variants.
authorDave Airlie <airlied@redhat.com>
Thu, 9 Jul 2009 05:04:18 +0000 (15:04 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:07 +0000 (17:13 +1000)
commit5c5df06fd21cddf342fffc0cf6d638d83fd6ff94
treeb6358e40dc857b0917d7d76d8a90ff999f2860d8
parent6def60a16ef2449d671dbeee581e55358a95a464
drm/radeon/kms: respect TOM on rs100->rs480 IGP variants.

Normally we are free to place VRAM where we want in the GPUs
memory address space, however on IGP chips the VRAM is actual RAM,
and no special translation or aperture is used inside the GPU MC.

So when you move the VRAM aperture away from the TOM register,
you actually move it into main memory and can trash things quite badly.

This commit makes the code respect the TOM location for MC_FB_LOCATION.

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