Displaying 1 result from an estimated 1 matches for "gf100_print_fsrm_config".
2015 Dec 21
0
[PATCH] therm: debug print the FSRM config on [nvc0, nvf0) cards
...HOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Authors: Karol Herbst
+ */
+#include "priv.h"
+
+void
+gf100_print_fsrm_config(struct nvkm_therm *therm)
+{
+ struct nvkm_device *device = therm->subdev.device;
+ int cfg_5, cfg_low, thr_2, thr_6, thr_8, thr_crit;
+
+ cfg_5 = nvkm_rd32(device, 0x020074);
+ cfg_low = nvkm_rd32(device, 0x02010c);
+ thr_crit = nvkm_rd32(device, 0x020480);
+ thr_2 = nvkm_rd32(device, 0x...