summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-10-10 13:59:57 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2019-10-11 17:02:32 +0300
commit48b34ac041756c2fd3a898d6e96be97416858b45 (patch)
tree234e9116f59d22bca7478e00190023aee3dea6da /include/uapi/drm
parent9b7117e245bcf37b6e9f87f61461168e09f25316 (diff)
downloadlinux-48b34ac041756c2fd3a898d6e96be97416858b45.tar.gz
linux-48b34ac041756c2fd3a898d6e96be97416858b45.tar.bz2
linux-48b34ac041756c2fd3a898d6e96be97416858b45.zip
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')
-rw-r--r--include/uapi/drm/omap_drm.h1
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) */