Skip to contentSkip to conversation

Add raven family to GFX sensors

PATCH New Tom St Denis 1 participant 1 message May 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add raven family to GFX sensors

---
 src/app/top.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/app/top.c +2 -2
index a4d3aa8e699d..09ab5f40de0b 100644
@@ -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
Signature · 6 lines
2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx