]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Introduce NvPmEnableGating option
authorLyude Paul <lyude@redhat.com>
Thu, 1 Feb 2018 18:13:59 +0000 (13:13 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 2 Feb 2018 05:24:10 +0000 (15:24 +1000)
commit5da4d548a431440cbde971aa3e140b5792e9dc0f
treef03d9e343fc9a8eb9f8e75764a79cf8c3c1ae166
parent0bd38af6d02c9afb655d94e0919d43691c78f8c3
drm/nouveau: Introduce NvPmEnableGating option

This adds the NvPmEnableGating config option to nouveau, which can be
used to enable or disable clockgating for supported chipsets. Enabling
can be done by passing

config=NvPmEnableGating=1

To nouveau. If your chipset supports it, you'll see a message in your
kernel log indicating that clockgating is enabled. Since clockgating has
only had limited testing thus far, we leave this option disabled by
default for now.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c