Skip to content

Commit

Permalink
drm: radeon: Fix RADEON_*_EMITED defines.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Dave Airlie committed Mar 13, 2009
1 parent b07fa02 commit b266503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/radeon/radeon_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b266503

Please sign in to comment.