commit | 56f67dc19623b6cd4db57ee07d6f0cad32bcd5af | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Thu Aug 20 14:54:10 2015 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Aug 28 12:40:19 2015 +1000 |
tree | 55f4b766376d59272fab0df9b1682a21a5e3f1f0 | |
parent | 2ebfa1bc6ff1a7cded8b662f507d34574ffcc2c6 [diff] |
drm/nouveau/tmr: type-safe PTIMER-based delay/wait macros These require an explicit struct nvkm_device pointer, unlike the previous macros which take a void *, and work for (almost) anything derived from nvkm_object by using some heuristics. These macros are more general than the previous ones, and can be used to handle PTIMER-based busy-waits (will be used in later devinit fixes) as well as more complicated wait conditions. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>