drm/nouveau: Add support for SLCG for Kepler2
authorLyude Paul <lyude@redhat.com>
Thu, 1 Feb 2018 18:13:58 +0000 (13:13 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 2 Feb 2018 05:24:09 +0000 (15:24 +1000)
commita0f79082bd1740137371f989dbdcbc19a52d3557
tree35e56940f6ecf8ded992ad6fed10279767d7e649
parent7d094d29584ff5a571be45dcdab5659d97f01020
drm/nouveau: Add support for SLCG for Kepler2

That's right, there's still more power saving to go! Starting with
kepler 2, nvidia hardware has an additional level of clockgating known
as second level clockgating.  The details of this are not exact, but it
seems to work by waiting for a collection of dependent hardware blocks
to be gated before taking affect. As with the previous series, this
results in another noticeable drop in power consumption and is
programmed in the same manner.

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/engine/gr/gk110.c