diff options
author | David Miller <davem@davemloft.net> | 2009-02-12 05:15:39 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-03-13 00:24:01 -0400 |
commit | b266503072f824a82d585a6d41ebd591a2d7daa4 (patch) | |
tree | 0daaea3f5a6a0b880c745a0c08fb6327417bedf2 | |
parent | b07fa022ecf1e04fd0623877affe9e10bf45ac86 (diff) |
drm: radeon: Fix RADEON_*_EMITED defines.
These are not supposed to be booleans, they are
supposed to be bit masks.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.h b/drivers/gpu/drm/radeon/radeon_drv.h index a253cf071ec4..9b60a268dc7a 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.h +++ b/drivers/gpu/drm/radeon/radeon_drv.h | |||
@@ -219,8 +219,8 @@ struct radeon_virt_surface { | |||
219 | struct drm_file *file_priv; | 219 | struct drm_file *file_priv; |
220 | }; | 220 | }; |
221 | 221 | ||
222 | #define RADEON_FLUSH_EMITED (1 < 0) | 222 | #define RADEON_FLUSH_EMITED (1 << 0) |
223 | #define RADEON_PURGE_EMITED (1 < 1) | 223 | #define RADEON_PURGE_EMITED (1 << 1) |
224 | 224 | ||
225 | struct drm_radeon_master_private { | 225 | struct drm_radeon_master_private { |
226 | drm_local_map_t *sarea; | 226 | drm_local_map_t *sarea; |