From: David Miller Date: Thu, 12 Feb 2009 10:15:39 +0000 (-0800) Subject: drm: radeon: Fix RADEON_*_EMITED defines. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b266503072f824a82d585a6d41ebd591a2d7daa4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dave Airlie --- 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;