[Nouveau] [PATCH 0/2] Fix some VID parsing in the voltage table version 0x50

Karol Herbst nouveau at karolherbst.de
Wed Mar 16 17:40:51 UTC 2016


On a very few GPUs with the voltage table version 0x50 we have to read out
the VIDs out of the entries of the table, where all the other gpus are either
PWM based or get a base and a step voltage out of the table header.

Currently nouveau tried to autodetect this and actually doesn't parse the
entries.

This Series adds two things:
1. It parses the entries
2. It decides upon a field in the voltage table to either use the base+step or
   entries approach

This fixes volting on some GPUs

Karol Herbst (2):
  bios/volt: handle voltage table version 0x50 with 0ed header
  volt: properly detect entry based voltage tables

 drm/nouveau/include/nvkm/subdev/bios/volt.h |  5 +++--
 drm/nouveau/nvkm/subdev/bios/volt.c         | 16 ++++++++++------
 drm/nouveau/nvkm/subdev/volt/base.c         |  7 +++++--
 3 files changed, 18 insertions(+), 10 deletions(-)

-- 
2.7.3



More information about the Nouveau mailing list