]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/volt: allow non-bios voltage scaling
authorVince Hsu <vinceh@nvidia.com>
Tue, 2 Dec 2014 04:50:33 +0000 (12:50 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:44:07 +0000 (15:44 +1000)
commit1f4cf8676d804eba61637a639e40b03c6bc3d275
tree5c8e97ce8cea386131bd55a8fd80a72fc130b815
parentc35d00cc8763650984a7aa675a13093b94ab49dc
drm/nouveau/volt: allow non-bios voltage scaling

Move the vbios parsing out of init() and call it conditionally if the
platform has a vbios. Non-vbios platforms can use the ctor() to init the
data structures.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/volt/base.c