diff options
| author | Samuel Pitoiset <samuel.pitoisetœgmail.com> | 2015-06-07 22:40:22 +0200 |
|---|---|---|
| committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 12:39:59 +1000 |
| commit | e82661e23c60fc41424ca138820d729d8e4a2226 (patch) | |
| tree | 8ca3d53e9cee415b21738248d2ad379d4e43e2ac /drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h | |
| parent | 40a3b22c92ac3dad5adc818a84671bfb00303731 (diff) | |
drm/nouveau/pm: add concept of sources
A source (or multiplexer) is a tuple addr+mask+shift which allows to
control a block of signals. The maximum number of sources that a signal
can define is arbitrary limited to 8 and this should be large enough.
This patch allows to define multi-level of sources for a signal.
Each different sources are stored to a global list and will be exposed
to the userspace through the nvif interface in order to avoid conflicts.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h')
| -rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h b/drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h index 6c2d0578400a..130b545b4e9e 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/engine/pm.h @@ -11,6 +11,7 @@ struct nvkm_pm { void *profile_data; struct list_head domains; + struct list_head sources; u32 sequence; }; |
