]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/nouveau/bios/vpstate: There are some fermi vbios with no boost or tdp entry
authorKarol Herbst <karolherbst@gmail.com>
Sat, 14 Jul 2018 10:52:08 +0000 (12:52 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jul 2018 08:06:29 +0000 (18:06 +1000)
commitf706037c4e135d322160e201872ee3567435035a
tree5a53eb47081494b9ed7c194640591e825af903a8
parent2ae4c5f6ff7310e4dcaca4378ddadd881d176693
drm/nouveau/bios/vpstate: There are some fermi vbios with no boost or tdp entry

If the entry size is too small, default to invalid values for both
boost_id and tdp_id, so as to default to the base clock in both cases.

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Signed-off-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/vpstate.c