aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/powervr-drivers/omap3-sgx-modules/texture-width.patch
blob: 20a33bc0fcf5108469e67c4ecf6b565b599bbaef (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /tmp/bc_cat.c	2010-08-11 11:36:20.000000000 +0200
+++ OMAP35x_Graphics_SDK_3_01_00_06/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c	2010-08-11 11:36:53.000000000 +0200
@@ -487,7 +487,7 @@
 
     /* texture buffer width should be multiple of 8 for OMAP3 ES3.x,
      * or 32 for ES2.x */
-    width_align = omap_rev_lt_3_0() ? 32 : 8;
+    width_align = cpu_is_omap3530() && omap_rev_lt_3_0() ? 32 : 8;
     
     major = register_chrdev(0, DEVNAME, &bc_cat_fops);