diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-05-17 11:19:54 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-11 16:10:43 +1000 |
commit | b8407c9e504f43a50ba0de746c5e8958521165aa (patch) | |
tree | b7694dcc61b4569bc65658563ba59ed52821440a /drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | |
parent | 456b0579fb0af095c24fa9e5867bd3983b842b1a (diff) | |
download | op-kernel-dev-b8407c9e504f43a50ba0de746c5e8958521165aa.zip op-kernel-dev-b8407c9e504f43a50ba0de746c5e8958521165aa.tar.gz |
drm/nouveau/disp/dp: create subclass for dp outputs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/disp/nv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c index 2956c13..bba9d4d 100644 --- a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c @@ -1661,6 +1661,12 @@ nv50_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, } struct nouveau_oclass * +nv50_disp_outp_sclass[] = { + &nv50_pior_dp_impl.base.base, + NULL +}; + +struct nouveau_oclass * nv50_disp_oclass = &(struct nv50_disp_impl) { .base.base.handle = NV_ENGINE(DISP, 0x50), .base.base.ofuncs = &(struct nouveau_ofuncs) { @@ -1669,6 +1675,7 @@ nv50_disp_oclass = &(struct nv50_disp_impl) { .init = _nouveau_disp_init, .fini = _nouveau_disp_fini, }, + .base.outp = nv50_disp_outp_sclass, .mthd.core = &nv50_disp_mast_mthd_chan, .mthd.base = &nv50_disp_sync_mthd_chan, .mthd.ovly = &nv50_disp_ovly_mthd_chan, |