aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/Makefile
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-08-20 23:21:01 -0400
committerDave Airlie <airlied@redhat.com>2009-08-21 00:20:38 -0400
commit50f153036c9d9e4ae1768d5ca9c2ad4184f7a0b7 (patch)
treef9e4946bd45ead837fa298713c77ac51374dd8e3 /drivers/gpu/drm/radeon/Makefile
parent759e4f83f418f4001e724042b4c0e408d615d9ec (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/Makefile')
-rw-r--r--drivers/gpu/drm/radeon/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/Makefile b/drivers/gpu/drm/radeon/Makefile
index 013d38059943..8e1771889b4d 100644
--- a/drivers/gpu/drm/radeon/Makefile
+++ b/drivers/gpu/drm/radeon/Makefile
@@ -6,6 +6,21 @@ ccflags-y := -Iinclude/drm
6radeon-y := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o \ 6radeon-y := radeon_drv.o radeon_cp.o radeon_state.o radeon_mem.o \
7 radeon_irq.o r300_cmdbuf.o r600_cp.o 7 radeon_irq.o r300_cmdbuf.o r600_cp.o
8 8
9hostprogs-y := mkregtable
10
11quiet_cmd_mkregtable = MKREGTABLE $@
12 cmd_mkregtable = $(obj)/mkregtable $< > $@
13
14$(obj)/rv515_reg_safe.h: $(src)/reg_srcs/rv515 $(obj)/mkregtable
15 $(call if_changed,mkregtable)
16
17$(obj)/r300_reg_safe.h: $(src)/reg_srcs/r300 $(obj)/mkregtable
18 $(call if_changed,mkregtable)
19
20$(obj)/rv515.o: $(obj)/rv515_reg_safe.h
21
22$(obj)/r300.o: $(obj)/r300_reg_safe.h
23
9radeon-$(CONFIG_DRM_RADEON_KMS) += radeon_device.o radeon_kms.o \ 24radeon-$(CONFIG_DRM_RADEON_KMS) += radeon_device.o radeon_kms.o \
10 radeon_atombios.o radeon_agp.o atombios_crtc.o radeon_combios.o \ 25 radeon_atombios.o radeon_agp.o atombios_crtc.o radeon_combios.o \
11 atom.o radeon_fence.o radeon_ttm.o radeon_object.o radeon_gart.o \ 26 atom.o radeon_fence.o radeon_ttm.o radeon_object.o radeon_gart.o \