[PATCH umr] add Kaveri family to SMC read/write
Tom St Denis
tom.stdenis at amd.com
Fri Jun 16 15:56:52 UTC 2017
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
src/lib/mmio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/mmio.c b/src/lib/mmio.c
index dfd9f0d33e5d..f0737c43913a 100644
--- a/src/lib/mmio.c
+++ b/src/lib/mmio.c
@@ -31,6 +31,7 @@ static uint32_t umr_smc_read(struct umr_asic *asic, uint64_t addr)
switch (asic->config.gfx.family) {
case 110: // SI
case 120: // CIK
+ case 125: // KV
case 130: // VI
umr_write_reg_by_name(asic, "mmSMC_IND_INDEX_1", addr);
return umr_read_reg_by_name(asic, "mmSMC_IND_DATA_1");
@@ -57,6 +58,7 @@ static uint32_t umr_smc_write(struct umr_asic *asic, uint64_t addr, uint32_t val
switch (asic->config.gfx.family) {
case 110: // SI
case 120: // CIK
+ case 125: // KV
case 130: // VI
umr_write_reg_by_name(asic, "mmSMC_IND_INDEX_1", addr);
return umr_write_reg_by_name(asic, "mmSMC_IND_DATA_1", value);
--
2.12.0
More information about the amd-gfx
mailing list