[PATCH RFC 090/111] staging: etnaviv: fix cache cleaning for uncached SHM buffers

2015-04-02 Thread Lucas Stach
Am Donnerstag, den 02.04.2015, 17:22 +0100 schrieb Russell King - ARM Linux: > On Thu, Apr 02, 2015 at 05:30:32PM +0200, Lucas Stach wrote: > > The intention clearly was to do the same thing for WC and UC buffers, > > not for cached ones. > > Err, from one of my previous commits: > > staging:

[PATCH RFC 090/111] staging: etnaviv: fix cache cleaning for uncached SHM buffers

2015-04-02 Thread Lucas Stach
The intention clearly was to do the same thing for WC and UC buffers, not for cached ones. Signed-off-by: Lucas Stach --- drivers/staging/etnaviv/etnaviv_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/etnaviv/etnaviv_gem.c b/drivers/staging/etnaviv/etn

[PATCH RFC 090/111] staging: etnaviv: fix cache cleaning for uncached SHM buffers

2015-04-02 Thread Russell King - ARM Linux
On Thu, Apr 02, 2015 at 05:30:32PM +0200, Lucas Stach wrote: > The intention clearly was to do the same thing for WC and UC buffers, > not for cached ones. Err, from one of my previous commits: staging: etnaviv: fix DMA API usage We test for write-combine and non-cacheable mappings befor