[Nouveau] [PATCH 0/9] Groundwork for clocking fixes

Karol Herbst nouveau at karolherbst.de
Mon Feb 29 12:42:09 UTC 2016


This series contains a lot of groundwork to finally fix reclocking issues on
Kepler+ gpus.

There shouldn't be any functional changes with the first patch being the only
exception (fixes some voltage table parsing issues with of few kepler gpus)

The most interessting thing is the tool in the last patch, which can be ran
alongside the nvidia driver to test nouveaus volting code and print the actual
voltage differences nouveau would try to set and what nvidia actually set on
the gpu.

Karol Herbst (9):
  bios/volt: handle voltage table version 0x50 with 0ed header
  bios/vmap: unk0 field is the mode
  clk: add index field to nvkm_cstate
  bios: add parsing of BASE CLOCK table
  clk: print the base clocks
  volt: save the voltage range we are able to set
  volt: parse the both max voltage entries
  clk: export nvkm_volt_map
  add daemon to compare nouveau with blob voltage

 bin/nv_cmp_volt.c                                | 112 +++++++++++++++++++++++
 drm/nouveau/include/nvkm/subdev/bios/baseclock.h |  24 +++++
 drm/nouveau/include/nvkm/subdev/bios/vmap.h      |   4 +-
 drm/nouveau/include/nvkm/subdev/clk.h            |   1 +
 drm/nouveau/include/nvkm/subdev/volt.h           |   6 ++
 drm/nouveau/nvkm/subdev/bios/Kbuild              |   1 +
 drm/nouveau/nvkm/subdev/bios/baseclock.c         |  82 +++++++++++++++++
 drm/nouveau/nvkm/subdev/bios/vmap.c              |   7 +-
 drm/nouveau/nvkm/subdev/bios/volt.c              |   3 +
 drm/nouveau/nvkm/subdev/clk/base.c               |  18 +++-
 drm/nouveau/nvkm/subdev/volt/base.c              |  28 +++++-
 11 files changed, 281 insertions(+), 5 deletions(-)
 create mode 100644 bin/nv_cmp_volt.c
 create mode 100644 drm/nouveau/include/nvkm/subdev/bios/baseclock.h
 create mode 100644 drm/nouveau/nvkm/subdev/bios/baseclock.c

-- 
2.7.2



More information about the Nouveau mailing list