]> git.baikalelectronics.ru Git - 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)
commit15c491bf8e5e92a993ea089aaafb3be784bd5612
tree5a53eb47081494b9ed7c194640591e825af903a8
parente896356a95cff7e96db78f04efc3cd7d7b1de100
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