[Nouveau] [PATCH 07/10] drm/nouveau: add sparse annotations to nv04_fifo_pause/nv04_fifo_start
Marcin Slusarz
marcin.slusarz at gmail.com
Sun Aug 19 14:00:02 PDT 2012
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c b/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
index c472501..c70a70d 100644
--- a/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
+++ b/drivers/gpu/drm/nouveau/core/engine/fifo/nv04.c
@@ -292,6 +292,7 @@ nv04_fifo_cclass = {
void
nv04_fifo_pause(struct nouveau_fifo *pfifo, unsigned long *pflags)
+ __acquires(priv->base.lock)
{
struct nv04_fifo_priv *priv = (void *)pfifo;
unsigned long flags;
@@ -324,6 +325,7 @@ nv04_fifo_pause(struct nouveau_fifo *pfifo, unsigned long *pflags)
void
nv04_fifo_start(struct nouveau_fifo *pfifo, unsigned long *pflags)
+ __releases(priv->base.lock)
{
struct nv04_fifo_priv *priv = (void *)pfifo;
unsigned long flags = *pflags;
--
1.7.8.6
More information about the Nouveau
mailing list