diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-05-08 12:39:46 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-05-18 07:01:20 +0200 |
commit | bb3b0a422074606400e6aff216300bb4f012b22a (patch) | |
tree | fdf98fc1a38f0ae4887d7428d62e15670f8d66c1 /drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c | |
parent | drm/nouveau/disp/nv50-: fetch mask of available piors during oneinit (diff) | |
download | linux-bb3b0a422074606400e6aff216300bb4f012b22a.tar.xz linux-bb3b0a422074606400e6aff216300bb4f012b22a.zip |
drm/nouveau/disp/nv50-: initialise from the engine, rather than the user object
Engines are initialised on an as-needed basis, so this results in the
same behaviour, whilst allowing us to simplify things a bit.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c index 0cf968d58fca..85d9329cfa0e 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/mcp89.c @@ -26,6 +26,8 @@ static const struct nv50_disp_func mcp89_disp = { + .init = nv50_disp_init, + .fini = nv50_disp_fini, .intr = nv50_disp_intr, .uevent = &nv50_disp_chan_uevent, .super = nv50_disp_super, |