diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-10-10 14:59:57 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-10-11 17:02:32 +0300 |
commit | 48b34ac041756c2fd3a898d6e96be97416858b45 (patch) | |
tree | 234e9116f59d22bca7478e00190023aee3dea6da /include/uapi/drm/omap_drm.h | |
parent | 9b7117e245bcf37b6e9f87f61461168e09f25316 (diff) | |
download | linux-48b34ac041756c2fd3a898d6e96be97416858b45.tar.xz |
drm/omap: remove OMAP_BO_TILED define
OMAP_BO_TILED does not make sense, as OMAP_BO_TILED_* values are not
bitmasks but normal values. As we already have OMAP_BO_TILED_MASK for
the mask, we can remove OMAP_BO_TILED and use OMAP_BO_TILED_MASK
instead.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010120000.1421-6-jjhiblot@ti.com
Diffstat (limited to 'include/uapi/drm/omap_drm.h')
-rw-r--r-- | include/uapi/drm/omap_drm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h index d8ee2f840697..5a142fad473c 100644 --- a/include/uapi/drm/omap_drm.h +++ b/include/uapi/drm/omap_drm.h @@ -52,7 +52,6 @@ struct drm_omap_param { #define OMAP_BO_TILED_16 0x00000200 #define OMAP_BO_TILED_32 0x00000300 #define OMAP_BO_TILED_MASK 0x00000f00 -#define OMAP_BO_TILED (OMAP_BO_TILED_8 | OMAP_BO_TILED_16 | OMAP_BO_TILED_32) union omap_gem_size { __u32 bytes; /* (for non-tiled formats) */ |