diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-06-12 18:58:05 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:11:06 +1000 |
commit | 61854bdb135d1b958a5057739206d663528870db (patch) | |
tree | 9b49ee52cb34bb4587120a91e78a4bce37f9f9b4 /drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h | |
parent | drm/nouveau/pwr: tidy (diff) | |
download | linux-dev-61854bdb135d1b958a5057739206d663528870db.tar.xz linux-dev-61854bdb135d1b958a5057739206d663528870db.zip |
drm/gk104/pwr: implement PGOB disable method
As documented at:
ftp://download.nvidia.com/open-gpu-doc/gk104-disable-graphics-power-gating/1/gk104-disable-graphics-power-gating.txt
NVIDIA were not able document the steps necessary to detect whether this
is required or not at this time. However, they did confirm that this
procedure is safe to perform unconditionally on GK104/6. GK107 does not
have the power gating feature, and it was recommended that we do not
perform these steps there as the effects were not verified.
The disable path is from observing the binary driver, and not
documented in the link above.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h b/drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h index ddc614f9a99d..3814a341db32 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h +++ b/drivers/gpu/drm/nouveau/core/subdev/pwr/priv.h @@ -37,6 +37,8 @@ struct nvkm_pwr_impl { u32 *data; u32 size; } data; + + void (*pgob)(struct nouveau_pwr *, bool); }; #endif |