forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/gpu/drm/omapdrm/omap_dmm_tiler.h
....@@ -113,7 +113,7 @@
113113 /* GEM bo flags -> tiler fmt */
114114 static inline enum tiler_fmt gem2fmt(u32 flags)
115115 {
116
- switch (flags & OMAP_BO_TILED) {
116
+ switch (flags & OMAP_BO_TILED_MASK) {
117117 case OMAP_BO_TILED_8:
118118 return TILFMT_8BIT;
119119 case OMAP_BO_TILED_16: