From d2b8c6667d6b3b00fcc410d3ceaa0525105657db Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Thu, 14 Jul 2011 20:49:56 +0530 Subject: [PATCH] msm7k: Add support for non-cached blit Add support for the userspace to make MDP avoid flushing the source image buffer This change is needed if we are using cached video buffers. Since the MDP driver used to flush the entire source buffer before the blit, it was a huge overhead in terms of CPU usage for cases where the entire buffer didn't really need flushing. Any clients that modify the video buffers with CPU should now ensure that they flush the region that they modified (if the memory is cached) Change-Id: I94572644ed5aefac3184b45df05d10be0f2c7660