summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_drv.h
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2009-02-12 13:15:39 +0300
committerDave Airlie <airlied@redhat.com>2009-03-13 07:24:01 +0300
commitb266503072f824a82d585a6d41ebd591a2d7daa4 (patch)
tree0daaea3f5a6a0b880c745a0c08fb6327417bedf2 /drivers/gpu/drm/radeon/radeon_drv.h
parentb07fa022ecf1e04fd0623877affe9e10bf45ac86 (diff)
downloadlinux-b266503072f824a82d585a6d41ebd591a2d7daa4.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_drv.h4
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 {
struct drm_file *file_priv;
};
-#define RADEON_FLUSH_EMITED (1 < 0)
-#define RADEON_PURGE_EMITED (1 < 1)
+#define RADEON_FLUSH_EMITED (1 << 0)
+#define RADEON_PURGE_EMITED (1 << 1)
struct drm_radeon_master_private {
drm_local_map_t *sarea;