drm/nvd0/disp: calculate U script id in supervisor interrupt
This is like we do on nv50:nvd9 already. There's been no problems seen
yet with using this *seemingly* scratch register to store the value, but
we won't be able to do this anymore once nv50's code is merged.
Signed-off-by:
Ben Skeggs <bskeggs@redhat.com>
Showing
- drivers/gpu/drm/nouveau/core/engine/disp/nv50.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nv50.c
- drivers/gpu/drm/nouveau/core/engine/disp/nv50.h 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nv50.h
- drivers/gpu/drm/nouveau/core/engine/disp/nv84.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nv84.c
- drivers/gpu/drm/nouveau/core/engine/disp/nv94.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nv94.c
- drivers/gpu/drm/nouveau/core/engine/disp/nva3.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nva3.c
- drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c 42 additions, 23 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
- drivers/gpu/drm/nouveau/core/engine/disp/sornv50.c 4 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/engine/disp/sornv50.c
- drivers/gpu/drm/nouveau/core/include/core/class.h 2 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/include/core/class.h
- drivers/gpu/drm/nouveau/nvd0_display.c 6 additions, 11 deletionsdrivers/gpu/drm/nouveau/nvd0_display.c
Loading
Please register or sign in to comment