aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-01-04 23:46:48 -0500
committerDave Airlie <airlied@redhat.com>2011-01-05 22:00:45 -0500
commit9eba4a93ce520a627e876b0d1851d4f78a701c2b (patch)
treea0dbb86c2105b4ff89af724b835d0c40fbf59368 /drivers/gpu/drm/radeon/radeon.h
parent2f299d5de02da3ffb1f9e1a05c91dcd1173ebd3c (diff)
drm/radeon/kms: manage r300 CMASK RAM access and allow CMASK clear
The CMASK RAM is for colorbuffer compression (used in conjunction with MSAA). Only one user (filp) can access it. The CMASK RAM access is managed in the same way as Hyper-Z, but there is a separate ioctl, because an app that uses MSAA does not necessarily have to use zbuffering. Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 140eaceab279..a835d95021d1 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1168,8 +1168,9 @@ struct radeon_device {
1168 uint8_t audio_category_code; 1168 uint8_t audio_category_code;
1169 1169
1170 struct notifier_block acpi_nb; 1170 struct notifier_block acpi_nb;
1171 /* only one userspace can use Hyperz features at a time */ 1171 /* only one userspace can use Hyperz features or CMASK at a time */
1172 struct drm_file *hyperz_filp; 1172 struct drm_file *hyperz_filp;
1173 struct drm_file *cmask_filp;
1173 /* i2c buses */ 1174 /* i2c buses */
1174 struct radeon_i2c_chan *i2c_bus[RADEON_MAX_I2C_BUS]; 1175 struct radeon_i2c_chan *i2c_bus[RADEON_MAX_I2C_BUS];
1175}; 1176};