Ben Skeggs
a9c44a88ca
drm/nouveau/disp/nv50-: add channel interfaces to control error interrupts
...
This will be required to support Volta, but also allows us to remove code
that's duplicated for each channel type already.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2018-05-18 15:01:21 +10:00
Ben Skeggs
4a8621a24a
drm/nouveau/disp/nv50-: add channel interfaces to determine the user area
...
This will be required to support Volta.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2018-05-18 15:01:21 +10:00
Ben Skeggs
8531f57027
drm/nouveau/disp/nv50-: merge handling of pio and dma channels
...
Unnecessarily complicated, and a barrier to cleanly supporting Volta.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2018-05-18 15:01:21 +10:00
Ben Skeggs
abc1d4379b
drm/nouveau/disp/nv50-: replace user object with engine pointer in channels
...
More simplification.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2018-05-18 15:01:20 +10:00
Ben Skeggs
bb3b0a4220
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 >
2018-05-18 15:01:20 +10:00
Ben Skeggs
4391d7f5c7
drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user
...
GP102/GP104 make life difficult by redefining the channel indices for
some registers, but not others.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-11-17 09:50:38 +10:00
Ben Skeggs
fd47877f77
drm/nouveau/disp/gp104: initial support
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2016-07-14 11:53:25 +10:00
Ben Skeggs
0ce41e3c66
drm/nouveau/disp: convert user classes to new-style nvkm_object
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:40 +10:00
Ben Skeggs
2a7909c0ad
drm/nouveau/disp: split user classes out from engine implementations
...
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2015-08-28 12:40:40 +10:00