29 Nov, 2018
1 commit
-
record queue release
Add record for kalloc size and correct the judge for record queue
releaseSigned-off-by: Huang Chaofan
28 Nov, 2018
7 commits
-
1.avoid illegal wptr, rptr, start and end.
2.function show_instance_info is too long, split it into several small
functions
3.export dma detail infoSigned-off-by: ming_qian
-
1. Remove debug log when boot
2. Add 8 for the vp8 frame length
3. correct some codesSigned-off-by: Huang Chaofan
(cherry picked from commit 1cbc438fade80f4d91851f1495852e43d2807f9d) -
The current keep-alive check mechanism uses a static variable
that is initialized to 0. When the function is first called, it may
happen to catch the 8-bit keep-alive counter right when it
overflows, hence returning BUSY.This patch will keep checking the counter for 10us, every 1us,
but it will immediately return if the keep-alive counter changed.Signed-off-by: Laurentiu Palcu
Signed-off-by: Sandor Yu
(cherry picked from commit 4ad828b95e78a652f509110688a6f907fc286ea9) -
hal/kernel/gc_hal_kernel_command.c: In function gckCOMMAND_Commit:
hal/kernel/gc_hal_kernel_command.c:2718:1:
error: the frame size of 2288 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]removed _commandBufferObject instrance, use kmalloc to avoid kasan error.
Date: Jul 13, 2017
Signed-off-by: Xianzhong
(cherry picked from commit d8d57e43a24bd02b375d7c6bd633ed236db19337)
(cherry picked from commit 484e3073adf47d27581482f268b01fe5fe219d18) -
Add DRM_VIV_GEM_VIRTUAL_POOL flags.
Switch to virtual pool when this flag is set.Change-Id: I6e1e799cd0b4f81ed1ffbfdabe8f105325fa9644
Signed-off-by: Ivan.liu
(cherry picked from commit c4bd0fc803409c54d06e3554f4857922d6640925) -
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
27 Nov, 2018
9 commits
-
Enable debugfs to export some firmware internal log
Signed-off-by: Huang Chaofan
(cherry picked from commit d4ccecbec66b27c305b2a4a4b79d28f176fb499b) -
1. get boot size and rpc size from dts file
2. set p[18]=1 in vpu_firmware_download()Signed-off-by: Huang Chaofan
(cherry picked from commit b859b67f2cc6ea05ece69294a960e85eb198d61e) -
Adding more statistic info for debug
Signed-off-by: Huang Chaofan
(cherry picked from commit ebef17b0a54a307a5f98d5912a7848b922bb863d) -
1. Add dma memory counting
2. Delay the free of instance file when firmware hangSigned-off-by: Huang Chaofan
(cherry picked from commit 431eb4f32b31ef82500c2405c690775c6eb87d33) -
update function
1. Modified EOS filling size
2. add mb() before function rpc_update_cmd_buffer_ptr and
rpc_update_msg_buffer_ptr
3. modify some log print functionSigned-off-by: Huang Chaofan
(cherry picked from commit b58bbfe0e75568e7f3104589a06519d1eaddb01a) -
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
1.get frame size from uFrameSize reported by frame_done event
2.strip stuff data at the end of frame
3.avoid merging two frames into oneSigned-off-by: ming_qian
23 Nov, 2018
3 commits
-
- Fix GPU-viv drivers to build without SMP
Signed-off-by: Cedric Neveux
(cherry picked from commit 6558c2881b0cd1441708933fa1ac397f54b5aa70) -
Signed-off-by: ming_qian
-
1. reset firmware if core is hang the next time you open it.
2. add mb() before rpc_update_cmd_buffer_ptr_encoderSigned-off-by: ming_qian
22 Nov, 2018
1 commit
-
Unable to handle kernel paging request at virtual address 1000100
[] prefetch_freepointer.isra.37+0x8/0x14
[] sync_file_create+0x28/0xc0
[] gckOS_CreateNativeFence+0x74/0x110
[] gckKERNEL_Dispatch+0xa54/0x15b0
[] gckDEVICE_Dispatch+0x2e4/0x2f8
[] drv_ioctl+0x110/0x21c
[] do_vfs_ioctl+0xb8/0x8b0
[] SyS_ioctl+0x84/0x98The reference count should be increased in one spin lock cycle.
Move spin lock out of _QueryIntegerId function.
Move signal reference count to gckOS_CreateNativeFence.Change-Id: I1bf89b4de6055e5d0009baf7287f600696c4a529
Signed-off-by: Ivan.liu
19 Nov, 2018
1 commit
-
CID 3925877: Resource leak (RESOURCE_LEAK)
14. leaked_storage: Variable pages going out of scope leaks the storage it points to.Signed-off-by: Xianzhong
(cherry picked from commit a38d1b1ff31ce87a231588de1a2e24a787f87143)
16 Nov, 2018
5 commits
-
Signed-off-by: ming_qian
-
Reduce RPC size and remove decoder_str in dts for vpu decoder
Signed-off-by: Huang Chaofan
-
1. #define VPU_MAX_NUM_STREAMS 8
#define VID_API_NUM_STREAMS 8
2. #define MAX_BUFFER_SIZE 0xc00000Signed-off-by: Huang Chaofan
-
Adjust reset strategy for vpu decoder
Signed-off-by: Huang Chaofan
-
Config mem_printf base and size through structure DebugBufferDesc for
vpu decoder for debug on M0 coreSigned-off-by: Huang Chaofan
15 Nov, 2018
1 commit
-
Signed-off-by: ming_qian
14 Nov, 2018
3 commits
-
Should use the correct build MARCO gcdANDROID to control android build.
Change-Id: I56a745b228a24ba502dc9771596aad78c1d8d808
Signed-off-by: Richard Liu -
there are lots of PFNs busy message when run GPU tests:
[ 622.370671] alloc_contig_range: [4ea70, 4ea7c) PFNs busy
[ 626.518072] alloc_contig_range: [4ea90, 4ea9c) PFNs busythis problem is related with CMA migration for fragments,
move CMA allocator after GFP to avoid memory migration,
also fix CMA preempt for contiguous memory request.can improve CTS and gpubench benchmarks on M850D.
Signed-off-by: Xianzhong
-
BUG: scheduling while atomic: swapper/0/0/0x00010002
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.62 #1
Call trace:
[] dump_backtrace+0x0/0x414
[] show_stack+0x14/0x1c
[] dump_stack+0x90/0xb0
[] __schedule_bug+0x50/0x6c
[] __schedule+0x720/0x8a8
[] schedule+0x38/0x9c
[] schedule_preempt_disabled+0x20/0x38
[] __mutex_lock.isra.9+0x4dc/0x4fc
[] __mutex_lock_slowpath+0x10/0x18
[] mutex_lock+0x30/0x38
[] gckOS_DestroySignal+0x30/0xcc
[] viv_fence_release+0x24/0x38
[] dma_fence_release+0x38/0xf4
[] dma_fence_array_release+0x78/0xac
[] dma_fence_release+0x38/0xf4
[] irq_dma_fence_array_work+0x40/0x4c
[] irq_work_run_list+0x68/0xa8
[] irq_work_run+0x24/0x40
[] handle_IPI+0x300/0x330
[] gic_handle_irq+0x8c/0x184Replace signal mutex lock with spin lock to handle signal in irq.
Change-Id: Id18e68f03bcb96c2aaf3ca8a0055fe6a64e8d10a
Signed-off-by: Ivan.liu
13 Nov, 2018
2 commits
-
1.statistics on dma memory usage
2.fix alloc_dma_buffer error return value
3.remove unused member encoder_memSigned-off-by: ming_qian
-
Signed-off-by: ming_qian
12 Nov, 2018
7 commits
-
if suspend before configure codec,
the firmware should be re downloaded after resumeSigned-off-by: ming_qian
-
boot-region: 2M per core
rpc-buf-size: 512K per core
print-buf-size: 512K per coreSigned-off-by: ming_qian
-
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian
-
Signed-off-by: ming_qian