drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3)
commitca6ffc64cba0cdd0a2b3fcad0e1d19edcf277ccc
authorJerome Glisse <jglisse@redhat.com>
Thu, 1 Oct 2009 08:20:52 +0000 (1 10:20 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2009 22:51:46 +0000 (2 08:51 +1000)
tree261529acbc21be0d7824770aca8e002f9765cc71
parentf0ed1f655aa0375e2abba84cc4e8e6c853d48555
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 [copied from drivers/gpu/drm/radeon/r420d.h with 56% similarity]
drivers/gpu/drm/radeon/rv350d.h [new file with mode: 0644]