Commit Graph

20 Commits

Author SHA1 Message Date
Herman Chen
d4913c1b88 chore[mpp_dmabuf]: Add dmabuf ioctl unit test
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ice181f6d8cf312d68c79d6e6a33cddcbf65ef5f6
2023-11-16 16:33:40 +08:00
Herman Chen
d1366a4801 [mpp_mem_pool]: Move mpp_mem_pool to osal
Change-Id: I124f38bc58f791993515544af2c59169ee2c2402
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2021-05-12 20:47:36 +08:00
Herman Chen
f86fcc7663 [osal]: Add mpp_trace using ftrace
Change-Id: I6c6597d722f574524f1b993a18f6cd868b20fbab
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2021-05-10 09:15:41 +08:00
Herman Chen
9e77264edc [oasl]: Add eventfd support
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I46614e90abb132111105720f1cc7d4e2ec71e8c3
2020-09-08 09:05:59 +08:00
Herman Chen
eb34769db7 [cmake]: Add option to control test building
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic6c6988dad82836cfb87113f2293bc9a2b1abd66
2020-06-22 17:44:01 +08:00
Herman Chen
ed4151e245 [osal]: Change time function
Change time function from gettimeofday to clock_gettime.
Output of mpp_time() is still in us.

Change-Id: I7f961bb7bb4007e8e42ae5358bd7f568edf6c3d0
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-03-23 09:20:56 +08:00
Herman Chen
7b7b509847 [runtime]: Add more runtime detection
As we found that simple ion / drm device detectioin can not cover all the
case. For example on some 3368 platform kernel provide both ion and drm
device. We have better to use allocator chosen in dts.

But later kernel patch from Randy will bring unified dma-fd translation in
kernel then this detection will be removed.

Change-Id: I2746142d1c3d0f36791bacaadb231dc2001a5aa7
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-01-03 16:48:56 +08:00
Randy Li
0de5e0599c [osal]: don't install unit test
The build system may store those files into a package.

Change-Id: I2ab54da5880d1979a19430520d36324629b8a7d8
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-04-07 10:13:44 +08:00
Herman Chen
4b41fdd8bc [mpp_platform]: Modify chip vcodec detection
1. Add video codec information and kernel driver device detection code for all
supported chips.
2. Add video codec type and device name detection test

Change-Id: I275c0e616acd80c9a4ad2fee00588479e47a92db
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2017-03-03 16:12:36 +08:00
ChenHengming
608671728d [astyle]: formating coding style
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@186 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:36:21 +00:00
DingWei
72251b9c56 [CMakeLists] In all CMakeLists, add properties folder which belonged
[mpi_test.c] Eliminate warning

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@184 6e48237b-75ef-9749-8fc9-41990f28c85a
2008-01-24 21:07:22 +00:00
ChenHengming
8d6ace3794 [cmake]: add test to CMakeLists
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@152 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-24 01:38:37 +00:00
ChenHengming
c35cc7d345 [osal]: rename mpp_malloc to mpp_mem, add mpp_time function
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@63 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 10:15:24 +00:00
ChenHengming
c89c44512f [all]: change osal file name prefix from rk_ to mpp_
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@58 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 08:50:52 +00:00
ChenHengming
ba806a522a [cmake]: cmake script update
1. add svn author and date to cmake
2. change unit test install directory
2. use macro to add osal unit test


git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@49 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-07 06:13:46 +00:00
ChenHengming
6d3a322412 [rk_env]: add environment variable function and test case on window
unit test passed on window test case

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@30 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 03:25:28 +00:00
ChenHengming
c0c5222152 [rk_malloc]: add malloc function and test case on window
unit test passed

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@27 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-05 02:15:38 +00:00
ChenHengming
a07b33b1f2 [osal/test]: fix script variable error for log test
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@15 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-08-03 09:58:33 +00:00
ChenHengming
79a7af4e4f [rk_log]: add os_log function on window
separate os_log and platform log function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@10 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-29 07:13:02 +00:00
ChenHengming
58ca309470 [osal]: add rk_log, rk_list, rk_thread to osal directory
linux test ok
window can not compile, need more check

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@3 6e48237b-75ef-9749-8fc9-41990f28c85a
2015-07-27 10:22:37 +00:00