aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-10-24 10:36:12 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 00:11:21 -0500
commit87a326a38589e1c919af5f86a59cd571ff0aa831 (patch)
treec8e829f79f4f20bc876d73ba7c3d545b15d12ee0 /drivers/gpu/drm/nouveau/nouveau_drv.h
parenta5cf68b04b2b8ea716cf6fd8499c1c54d05fdf5e (diff)
drm/nv20: Add Z compression support.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Tested-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 8b524d894f18..a94430b94a20 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -70,6 +70,8 @@ struct nouveau_tile_reg {
70 uint32_t addr; 70 uint32_t addr;
71 uint32_t limit; 71 uint32_t limit;
72 uint32_t pitch; 72 uint32_t pitch;
73 uint32_t zcomp;
74 struct drm_mm_node *tag_mem;
73 struct nouveau_fence *fence; 75 struct nouveau_fence *fence;
74}; 76};
75 77
@@ -306,6 +308,7 @@ struct nouveau_timer_engine {
306 308
307struct nouveau_fb_engine { 309struct nouveau_fb_engine {
308 int num_tiles; 310 int num_tiles;
311 struct drm_mm tag_heap;
309 312
310 int (*init)(struct drm_device *dev); 313 int (*init)(struct drm_device *dev);
311 void (*takedown)(struct drm_device *dev); 314 void (*takedown)(struct drm_device *dev);