drm/radeon/kms: generate the safe register tables.
authorDave Airlie <airlied@redhat.com>
Fri, 21 Aug 2009 03:21:01 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Aug 2009 04:20:38 +0000 (14:20 +1000)
commit50f153036c9d9e4ae1768d5ca9c2ad4184f7a0b7
treef9e4946bd45ead837fa298713c77ac51374dd8e3
parent759e4f83f418f4001e724042b4c0e408d615d9ec
drm/radeon/kms: generate the safe register tables.

Previously we just made these offline and included them,
but no reason we can't generate them at build time.

TODO: add rs690 + r100/r200 when done.
should we do rs480/rs690 no tcl version?

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/mkregtable.c [new file with mode: 0644]
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/reg_srcs/r300 [new file with mode: 0644]
drivers/gpu/drm/radeon/reg_srcs/rv515 [new file with mode: 0644]
drivers/gpu/drm/radeon/rv515.c