gdc: ge2d: fix ge2d dma-buf no free memory issue [1/1]
PD#SWPL-5685
Problem:
gdc&ge2d dma buf memory leak
Solution:
clear dmabuf alloc flag when dmabuf really free
Verify:
verified by w400
Change-Id: I914d93d795311fd6e3e34ca5bd64aaf4db3d4c7a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
gdc: fix gdc buffer index error caused crash issue [1/1]
PD#SWPL-5685
Problem:
gdc buffer index error when dma alloc called simultaneously
Solution:
add lock to gdc buffer index
Verify:
verified by w400
Change-Id: Ia5e41562675b594029fd5a0166561c0069739536
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: fix ge2d buffer index error caused crash issue [2/2]
PD#SWPL-5685
Problem:
ge2d buffer index error when dma alloc called simultaneously
Solution:
add lock to ge2d buffer index
Verify:
verified by w400
Change-Id: I1efa4127fbcb939ade457a890769d59a146a0798
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
gdc: ge2d: output dma_buf need flush when alloc [1/1]
PD#SWPL-5685
Problem:
gdc output mismatch
Solution:
output dma_buf need flush when alloc
Verify:
verified by w400
Change-Id: Ie206b4f51bd1338420f63e0e06563b67d6d63c88
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: change dma_buf to cacheable [1/2]
PD#SWPL-5685
Problem:
ge2d output dmabuf have high variance
Solution:
change dma_buf to cacheable
Verify:
verified by w400
Change-Id: Iff9356dd256ce69bd87e7e5a2b1feb9e74c49744
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
gdc: change dma_buf to cacheable [2/2]
PD#SWPL-5685
Problem:
gdc output dmabuf have high variance
Solution:
change dma_buf to cacheable
Verify:
verified by w400
Change-Id: Ide8cea975c7dd39bb9185fbb9ba0694d859c74e6
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
ge2d: add ge2d dmabuf 32bit compatible [1/2]
PD#SWPL-5685
Problem:
ge2d dmabuf not work under 32bit
Solution:
add ge2d dmabuf 32bit compatible
Verify:
verified by w400
Change-Id: I03011620fc67cdaf251f5ca1c7b0b512a8fc9a76
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>