kernel/drivers/gpu/drm/omapdrm/omap_dmm_tiler.h
.. .. @@ -113,7 +113,7 @@ 113 113 /* GEM bo flags -> tiler fmt */ 114 114 static inline enum tiler_fmt gem2fmt(u32 flags) 115 115 { 116 - switch (flags & OMAP_BO_TILED) {116 + switch (flags & OMAP_BO_TILED_MASK) {117 117 case OMAP_BO_TILED_8: 118 118 return TILFMT_8BIT; 119 119 case OMAP_BO_TILED_16: