]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nvd0/disp: calculate U script id in supervisor interrupt
authorBen Skeggs <bskeggs@redhat.com>
Fri, 9 Nov 2012 01:25:37 +0000 (11:25 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:57:52 +0000 (09:57 +1000)
commit4a230fa61884ffe6b6a806563eee82f12a60fa1e
treef9795703c58ec95ba99d2c0c13cda1083ac35697
parent8e9e3d2deacc460fbb8a4691140318f6e85e6891
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>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
drivers/gpu/drm/nouveau/core/engine/disp/nv50.h
drivers/gpu/drm/nouveau/core/engine/disp/nv84.c
drivers/gpu/drm/nouveau/core/engine/disp/nv94.c
drivers/gpu/drm/nouveau/core/engine/disp/nva3.c
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
drivers/gpu/drm/nouveau/core/engine/disp/sornv50.c
drivers/gpu/drm/nouveau/core/include/core/class.h
drivers/gpu/drm/nouveau/nvd0_display.c