summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorChih-Wei Huang <[email protected]>2017-09-10 01:17:25 +0800
committerRob Herring <[email protected]>2017-09-11 09:35:23 -0500
commitaf726a1e2ca30a7cbd95319ad24aab8d9c6a855e (patch)
tree252b081324707256432ea408cb0811f6109317af /src/amd
parenta2a326e8f877e7b4774dddc78a99c321036511ba (diff)
Android: fix undeclared identifier 'gfx9d_reg_table'
Since commit 552aaa11 the compiler complains: external/mesa/src/amd/common/ac_debug.c:124:51: error: use of undeclared identifier 'gfx9d_reg_table'; did you mean 'sid_reg_table'? reg = find_register(gfx9d_reg_table, ARRAY_SIZE(gfx9d_reg_table), offset); ^~~~~~~~~~~~~~~ sid_reg_table It's because the commit ef97cc0c ("radeonsi/gfx9: add IB parser support") add gfx9d.h as a recipe of sid_tables.h. But the corresponding Android.mk was not updated. However, it's not spotted since gfx9d_reg_table is not really used until commit 552aaa11 was landed. Fixes: 552aaa11 (ac/debug: take ASIC generation into account when printing registers) Signed-off-by: Chih-Wei Huang <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/Android.common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/Android.common.mk b/src/amd/Android.common.mk
index 4e2d0f9c2ff..4ef7f176e92 100644
--- a/src/amd/Android.common.mk
+++ b/src/amd/Android.common.mk
@@ -44,7 +44,7 @@ LOCAL_GENERATED_SOURCES := $(addprefix $(intermediates)/, $(AMD_GENERATED_FILES)
$(LOCAL_GENERATED_SOURCES): PRIVATE_PYTHON := $(MESA_PYTHON2)
$(LOCAL_GENERATED_SOURCES): PRIVATE_CUSTOM_TOOL = $(PRIVATE_PYTHON) $^ > $@
-$(intermediates)/common/sid_tables.h: $(LOCAL_PATH)/common/sid_tables.py $(MESA_TOP)/src/amd/common/sid.h
+$(intermediates)/common/sid_tables.h: $(LOCAL_PATH)/common/sid_tables.py $(LOCAL_PATH)/common/sid.h $(LOCAL_PATH)/common/gfx9d.h
$(transform-generated-source)
LOCAL_C_INCLUDES := \