summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_drm.c
AgeCommit message (Collapse)Author
2019-08-30MA-13450-3 [#ccc] Revert layer memory allocation to virtual pool patchesRichard Liu
UI operation will very slow when install more applications and enter one by one. The reason is system free memory very low, allocate memory from system will trigger kswapd to do reclaim, but there is no much free memory in system, CMA still have free memory but can't be used. Below two patches has side effect, revert them from p4 main branch. Revert "MA-13450-1 [#ccc] Switch layer memory allocation to virtual pool to improve performance." This reverts commit 32d2126c353dd87dee77f4076422361a87766d32. Revert "MA-13450-2 [#ccc] Switch layer memory allocation to virtual pool to improve performance." This reverts commit 4bcff5472fc11a9379a7e6c72e0c8e0fdd9f636e. Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
2019-07-10MA-14946-2 [#imx-1511] Fix UI display abnormal issue on 8mn boardRichard Liu
Default tilestatus filler value is not correct in gralloc for M815, it didn't account for gcvFEATURE_128BTILE, refine related code. Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
2019-02-12MGS-4501 upgrade vivante 6.2.4.p4 gpu driverXianzhong
include critical gpu bug-fixings for Android 9.0 commit-id 20ea99e9db80e834c7970568a6122f11327dd5dc Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2019-02-12MA-13450-1 [#ccc] Switch layer memory allocation to virtual pool to improve ↵Ivan.liu
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>
2019-02-12MA-13121-2 [#imx-1221] Fix kernel panic after reduce gpu reserved memory size.Ivan.liu
Fix uint64_t to pointer conversion issue on 32bit platform. Signed-off-by: Ivan.liu <xiaowen.liu@nxp.com>
2019-02-12MA-13121 [#imx-1221] Fix kernel panic after reduce gpu reserved memory size.Ivan.liu
gckOS_MapPhysical is only used for contiguous memory to do map. Actually LockVideoMemory already get the virtual address. Remove gckOS_MapPhysical to support non contiguous memory. Signed-off-by: Ivan.liu <xiaowen.liu@nxp.com>
2019-02-12MA-12929 [#imx-848] Fix GPU hang and render error issue with frame compressionRichard Liu
Fill tile status node with tillStatusFiller first time. Refine surface cache mode related code to make sure it is immutable. Test cases: mirada_AA: GPU Hang when run Filrate case on 8mscale_O81 Change-Id: I44a00b07bec7bdf8af7408877d9e0f95316dd88b Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
2019-02-12MA-12482-1 [#imx-1138] Fix kernel panic on gpu6.2.4.p2Richard Liu
VSI missing this patch in gpu6.2.4.p2, it will cause drm_gem_object_unreference_unlocked(gem_obj) call two times in function viv_ioctl_gem_unlock. Kernel panic log: [ 38.419720] [<ffff00000860cac0>] drm_gem_object_release+0x40/0x48 [ 38.419853] [<ffff0000013d4804>] viv_gem_free_object+0x64/0x98 [galcore] [ 38.419861] [<ffff00000860c524>] drm_gem_object_free+0x20/0x50 [ 38.419868] [<ffff00000860c5f0>] drm_gem_object_unreference_unlocked+0x50/0x11c [ 38.419975] [<ffff0000013d505c>] viv_ioctl_gem_unlock+0xbc/0x108 [galcore] [ 38.419981] [<ffff00000860dc44>] drm_ioctl+0x1e0/0x468 [ 38.419992] [<ffff000008264b7c>] do_vfs_ioctl+0xb8/0x8d4 [ 38.419997] [<ffff00000826541c>] SyS_ioctl+0x84/0x98 [ 38.420005] [<ffff000008083780>] el0_svc_naked+0x34/0x38 Change-Id: I799c84e9f71e46012dd6befc02f7d3d694ed57e3 Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
2019-02-12MGS-3904 gpu: integrate vivante 6.2.4.p2 driverXianzhong
version upgrade from 6.2.4.p1.150331 to 6.2.4.p2.163672 fixed gpu kernel panic for CONFIG_ARM64_SW_TTBR0_PAN, support frequency query for gpu shader and core. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2019-02-12MGS-3705-2 gpu: add 6.2.4.p1 driver for 4.14 kernelXianzhong
integrate 6.2.4.p1 driver and enable gpu build config, fix 4.14 linux kernel build break in gpu-viv driver. source branch: gpu-viv6/fsl_6.2.4.p1 source commit: 8aa3fcbcad9f51441b768bb41ce5c2686f7f143f Signed-off-by: Xianzhong <xianzhong.li@nxp.com>