]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00151639 - EPDC fb: Memory for PxP workaround buffers may be reduced
authorDanny Nold <dannynold@freescale.com>
Wed, 15 Jun 2011 14:11:51 +0000 (09:11 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:08 +0000 (14:09 +0200)
commit988e29f893b0cd3ab1110c99d53d20a1b4d83552
tree3cb12c92dc7e1ce2466a4b17f4dcdf35ca28bfe3
parent16f7b87249f2f07926dd948cad04de30c05a5260
ENGR00151639 - EPDC fb: Memory for PxP workaround buffers may be reduced

- This patch changes the way that buffers are allocated and used for the
case where PxP alignment limitations are not met (a copy from the
update source buffer into a temporary buffer before initiating the
PxP processing task is required).  Previously, a buffer was allocated
on a per-update basis, resulting in a large number of copy buffers.  Now,
we allocate just one copy buffer that can be reused any time the PxP
alignment workaround is required.  This is okay because it is assured
that only one PxP transaction can be prepared at a time.

Signed-off-by: Danny Nold <dannynold@freescale.com>
drivers/video/mxc/mxc_epdc_fb.c