Skip to content
Commit 56f67dc1 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent 2ebfa1bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment