Commit b2665030 authored by David Miller's avatar David Miller Committed by Dave Airlie

drm: radeon: Fix RADEON_*_EMITED defines.

These are not supposed to be booleans, they are
supposed to be bit masks.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent b07fa022
...@@ -219,8 +219,8 @@ struct radeon_virt_surface { ...@@ -219,8 +219,8 @@ struct radeon_virt_surface {
struct drm_file *file_priv; struct drm_file *file_priv;
}; };
#define RADEON_FLUSH_EMITED (1 < 0) #define RADEON_FLUSH_EMITED (1 << 0)
#define RADEON_PURGE_EMITED (1 < 1) #define RADEON_PURGE_EMITED (1 << 1)
struct drm_radeon_master_private { struct drm_radeon_master_private {
drm_local_map_t *sarea; drm_local_map_t *sarea;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment