diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-05-19 23:59:35 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-06-16 14:04:54 +1000 |
commit | 0df182466265d39591d742839f1014f93b7cbd02 (patch) | |
tree | a83c4097c94753b0d5ac4f767c75c45df79f90d0 /drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | |
parent | drm/nouveau/disp/nv50-: port OR power state control to nvkm_ior (diff) | |
download | linux-dev-0df182466265d39591d742839f1014f93b7cbd02.tar.xz linux-dev-0df182466265d39591d742839f1014f93b7cbd02.zip |
drm/nouveau/disp/nv50-: port OR manual sink detection to nvkm_ior
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h b/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h index 9dd526cfe2a2..ea80e7fd7d23 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h @@ -42,6 +42,7 @@ struct nvkm_ior_func { void (*state)(struct nvkm_ior *, struct nvkm_ior_state *); void (*power)(struct nvkm_ior *, bool normal, bool pu, bool data, bool vsync, bool hsync); + int (*sense)(struct nvkm_ior *, u32 loadval); }; int nvkm_ior_new_(const struct nvkm_ior_func *func, struct nvkm_disp *, @@ -56,6 +57,7 @@ nv50_ior_base(struct nvkm_ior *ior) } void nv50_dac_power(struct nvkm_ior *, bool, bool, bool, bool, bool); +int nv50_dac_sense(struct nvkm_ior *, u32); void nv50_sor_state(struct nvkm_ior *, struct nvkm_ior_state *); void nv50_sor_power(struct nvkm_ior *, bool, bool, bool, bool, bool); |