From: Tomi Valkeinen Date: Thu, 25 Sep 2014 19:24:29 +0000 (+0000) Subject: drm/omap: fix TILER on OMAP5 X-Git-Tag: omap-for-v4.2/o2_dc~72^2~15^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cb0d6c17b96b8bf3c25de2dfde4fdeb9191f4c3;p=pandora-kernel.git drm/omap: fix TILER on OMAP5 On OMAP5 it is not possible to use TILER buffer with CPU when caching or write-combining is used. Doing so leads to errors from the memory manager. However, on OMAP4, write-combining works fine. This patch adds platform specific data for the TILER, and a function tiler_get_cpu_cache_flags() which can be used to get the caching mode to be used. Note that without write-combining the use of the TILER buffer with CPU is unusably slow. It's still good to have it operational for testing purposes. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed