]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon/kms: Fix AGP support for R600/RV770 family (v2)
authorJerome Glisse <jglisse@redhat.com>
Tue, 6 Oct 2009 17:04:30 +0000 (19:04 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Oct 2009 23:40:04 +0000 (09:40 +1000)
commit1a029b768f9d4a001501bd18d6ba08297ae912fd
tree0ac1643be0d57e919a619c1e2c5a9edc8e7e4f16
parentb574f251f787c5b163da5ea345525569e51775bc
drm/radeon/kms: Fix AGP support for R600/RV770 family (v2)

For AGP to work unmapped access must cover VRAM & AGP as
AGP is treated like VRAM by the GPU (ie physical address).
This patch properly setup the virtual memory system aperture
to cover AGP if AGP is enabled. It seems that there is memory
corruption after resume when using AGP (RV770 seems unaffected
thought). Version 2 just fix merge issue with updated AGP
fallback patch.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/rv770.c