aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv04/disp.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-08-21 11:30:36 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-08-21 11:36:21 +1000
commit78ae0ad403daf11cf63da86923d2b5dbeda3af8f (patch)
tree599c3e121747d8074473c1f86558914e5bc677df /drivers/gpu/drm/nouveau/dispnv04/disp.h
parentdrm/nouveau/mc: fix race condition between constructor and request_irq() (diff)
downloadlinux-dev-78ae0ad403daf11cf63da86923d2b5dbeda3af8f.tar.xz
linux-dev-78ae0ad403daf11cf63da86923d2b5dbeda3af8f.zip
drm/nv04/disp: fix framebuffer pin refcounting
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv04/disp.h')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv04/disp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/disp.h b/drivers/gpu/drm/nouveau/dispnv04/disp.h
index a0a031dad13f..9928187f0a7d 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/disp.h
+++ b/drivers/gpu/drm/nouveau/dispnv04/disp.h
@@ -81,6 +81,7 @@ struct nv04_display {
uint32_t saved_vga_font[4][16384];
uint32_t dac_users[4];
struct nouveau_object *core;
+ struct nouveau_bo *image[2];
};
static inline struct nv04_display *