Skip to content
Commit 7cb0d6c1 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 2dab0bab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment