]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3)
authorJerome Glisse <jglisse@redhat.com>
Thu, 1 Oct 2009 08:20:52 +0000 (10:20 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2009 22:51:46 +0000 (08:51 +1000)
commit4da10f94a8d5e13d4be424bae105c93edac14644
tree261529acbc21be0d7824770aca8e002f9765cc71
parent2b142dbd8ea2415c9f9ab413a80906e534344128
drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3)

Also cleanup register specific to RS400/RS480. This patch also fix
legacy VGA register used to disable VGA access we were programming
wrong register. Now we should properly disable VGA on r100 up to
rs400 asics. Note that RS400/RS480 resume is broken, it hangs the
computer while reprogramming dynamic clock, doesn't work either
without that patch. We need to spend more time investigating this
issue. Version 2 of the patch remove dead code that was left
commented out in the previous version. Version 3 correct the
placement on IGP of the VRAM inside GPU address space to match the
stollen RAM placement of IGP.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r100d.h
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r300d.h
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r420d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rs400d.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv350d.h [new file with mode: 0644]