diff options
author | Koen Kooi <koen@openembedded.org> | 2010-08-11 12:04:59 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-08-11 12:04:59 +0200 |
commit | 56f7be76454e47732462a74fae31e26bb4d01575 (patch) | |
tree | 4ad1b7e15d9de4d25850e27406909d980819c03f /recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch | |
parent | d1c85b533319f7616ba70cfd0ce0a8c6a669b9b4 (diff) |
omap3-sgx-modules: add patch to fix texture width detection
Diffstat (limited to 'recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch')
-rw-r--r-- | recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch b/recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch new file mode 100644 index 0000000000..20a33bc0fc --- /dev/null +++ b/recipes/powervr-drivers/omap3-sgx-modules/texture-width.patch @@ -0,0 +1,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); + |