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:49 +1000 |
commit | 01a976376b6e57838f223dd2d2639597efd92db4 (patch) | |
tree | ee784130955e1f3a07658c6abf3d6965f50ce9b3 /drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h | |
parent | b3c9c0226c69a8d8e8a4505432f8bbf7188ad348 (diff) |
drm/nouveau/disp: identity-map display paths to output resources
This essentially replicates our current behaviour in a way that's
compatible with the new model that's emerging, so that we're able
to start porting the hw-specific functions to it.
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 | 10 |
1 files changed, 10 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 2abba07ae632..a8d80eb8d893 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h @@ -14,6 +14,16 @@ struct nvkm_ior { char name[8]; struct list_head head; + + struct nvkm_ior_state { + enum nvkm_ior_proto { + CRT, + TMDS, + LVDS, + DP, + UNKNOWN + } proto:3; + } arm, asy; }; struct nvkm_ior_func { |