drm/nouveau/timer: re-introduce nvkm_wait_xsec macros
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 3 Sep 2015 08:48:13 +0000 (17:48 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 3 Nov 2015 05:02:18 +0000 (15:02 +1000)
commit542f60dc84c6f382a56a0b42dc09aa183198a55f
treef788e046e8ad1b760b0a91f407a9f42e631eda62
parent579b7c58215329803ce184704463de09f0f310ac
drm/nouveau/timer: re-introduce nvkm_wait_xsec macros

Reintroduce macros allowing us to test a register against a certain
mask, since this is the most common usage pattern for the more generic
nvkm_xsec macros and makes the code more concise and readable.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h