[PATCH umr] Add raven family to GFX sensors

Tom St Denis tom.stdenis at amd.com
Fri May 12 11:23:25 UTC 2017


Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
 src/app/top.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/top.c b/src/app/top.c
index a4d3aa8e699d..09ab5f40de0b 100644
--- a/src/app/top.c
+++ b/src/app/top.c
@@ -813,8 +813,8 @@ static void top_build_vi_program(struct umr_asic *asic)
 		ENTRY(i++, "mmRLC_GPM_STAT", &stat_rlc_gpm_bits[0], &top_options.vi.gfxpwr, "GFX PWR");
 
 	// sensors
-	if (asic->config.gfx.family == 141) {
-		// Arctic Island Family
+	if (asic->config.gfx.family == 141 || asic->config.gfx.family == 142) {
+		// Arctic Island Family/Raven
 		ENTRY_SENSOR(i++, "GFX_SCLK", &stat_ai_sensor_bits[0], &top_options.vi.sensors, "Sensors");
 	} else if (asic->config.gfx.family == 135) {
 		// Carrizo/Stoney family
-- 
2.12.0



More information about the amd-gfx mailing list