Skip to contentSkip to conversation

tools/intel_reg: add kabylake register spec file

PATCH New Jani Nikula 1 participant 3 messages Jun 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 tools/intel_reg: add kabylake register spec file

Just do whatever skylake does.

---
 tools/registers/kabylake | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tools/registers/kabylake
tools/registers/kabylake new file +2 -0
new file mode 100644
index 000000000000..ac923295a8b2
@@ -0,0 +1,2 @@
+# close enough
+skylake
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

PATCH 2/3 tools/intel_reg: try to find broxton register spec by codename

---
 tools/intel_reg.c | 2 ++
 1 file changed, 2 insertions(+)
tools/intel_reg.c +2 -0
index 92be1ce7719f..46745b6efc64 100644
@@ -671,6 +671,8 @@ static const char *get_codename(uint32_t devid)
 		return "skylake";
 	else if (IS_KABYLAKE(devid))
 		return "kabylake";
+	else if (IS_BROXTON(devid))
+		return "broxton";
 	else if (IS_CHERRYVIEW(devid))
 		return "cherryview";
 	else if (IS_VALLEYVIEW(devid))
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw

PATCH 3/3 tools/intel_reg: add initial reg spec for broxton

In reply to Jani Nikula

Mostly just copy SKL, which is probably partly bogus for BXT, but better than nothing. Add the defs for BXT DSI, but don't dump them by default because reading them without proper power well and/or DSI PLL may hang the machine.

---
 tools/registers/broxton     |   6 +++
 tools/registers/bxt_dsi.txt | 119 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 125 insertions(+)
 create mode 100644 tools/registers/broxton
 create mode 100644 tools/registers/bxt_dsi.txt
tools/registers/broxton new file +6 -0
new file mode 100644
index 000000000000..4d6345baddbf
@@ -0,0 +1,6 @@
+gen8_interrupt.txt
+gen8_other.txt
+skl_powerwells.txt
+skl_display.txt
+# Skip DSI for now.
+# bxt_dsi.txt
tools/registers/bxt_dsi.txt new file +119 -0

119 lines not on this page · raw message

Signature · 6 lines
2.1.4

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