MA-13450-1 [#ccc] Switch layer memory allocation to virtual pool to improve performance.
authorIvan.liu <xiaowen.liu@nxp.com>
Thu, 15 Nov 2018 05:58:54 +0000 (13:58 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit4800cbae8ab2fadb9b3baf87f58b128e5368800c
tree6f6289304b76479d7cb2843c2dba302f0fca7e1f
parentccb1ca23dd2119a9e5b062b600ed1367a9745c32
MA-13450-1 [#ccc] Switch layer memory allocation to virtual pool to improve performance.

Add DRM_VIV_GEM_VIRTUAL_POOL flags.
Switch to virtual pool when this flag is set.

Change-Id: I6e1e799cd0b4f81ed1ffbfdabe8f105325fa9644
Signed-off-by: Ivan.liu <xiaowen.liu@nxp.com>
(cherry picked from commit c4bd0fc803409c54d06e3554f4857922d6640925)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_drm.h
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_drm.c