Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7b3b7ec authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

Revert "gpu: ion: system_heap: remove superfluous cache flush"



This reverts commit 4b4056b9.

This change was causing a crash in video. Root cause analysis is
ongoing. The commit being reverted doesn't provide a very large
performance benefit anyways, so just revert it.

Change-Id: Iac1865e78c46d836ce82c0069654b05fd636094e
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 442d7807
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ static void *ion_page_pool_alloc_pages(struct ion_page_pool *pool)
	sg_init_table(&sg, 1);
	sg_set_page(&sg, page, PAGE_SIZE << pool->order, 0);
	sg_dma_address(&sg) = sg_phys(&sg);
	dma_sync_sg_for_device(NULL, &sg, 1, DMA_BIDIRECTIONAL);

	return page;
error_free_pages: