]> git.karo-electronics.de Git - linux-beck.git/commit
drm/omap: GEM, deal with cache
authorRob Clark <rob@ti.com>
Tue, 20 Dec 2011 22:54:28 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Dec 2011 21:46:15 +0000 (13:46 -0800)
commitf3bc9d24cb4a221bd3530c445fa08e33775e7707
treeb0d1d06cf43e518856614502c9c0d75059c9e161
parentc25b3c9a43ced0affb77be68d2ddcb89ddd17917
drm/omap: GEM, deal with cache

Uncached/writecombine buffers need to be clean before creating uc/wc
userspace mappings, lest dirty cache lines fall down and corrupt the
contents of the buffer.

Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/omapdrm/omap_gem.c