Commit Graph

12217 Commits

Author SHA1 Message Date
Yu Qiaowei
783ba8db79 video: rockchip: rga3: Modify YUV10bit of RGA3 to default to compact mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I310839f124e4c3e4ef7aa0e81f4cc780893377db
2022-08-09 19:01:49 +08:00
Herman Chen
9f7d75a79c video: rockchip: mpp: rkvenc2: Allow disabled rkvenc-core dtsi
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic2bc6b469e7efbac9b03666a5a0cf791c130ab5b
2022-08-05 20:46:58 +08:00
Yu Qiaowei
591a5a0071 video: rockchip: rga3: add debug node for hardware info
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I7edd4ebdac6235017631e1d7fa828d2e6362998d
2022-08-05 16:11:10 +08:00
Yu Qiaowei
75478f6429 video: rockchip: rga3: wakeup after updating status
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I74936fec3984cc19ed8720ccf9873b7dd561f47b
2022-08-05 16:11:10 +08:00
Herman Chen
c26747a966 video: rockchip: mpp: rkvenc2: Add disable_work
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Icd707042ba9698582a4472c649bf3f4146e73661
2022-08-04 16:07:39 +08:00
Yu Qiaowei
a322f85b91 video: rockchip: rga3: Fix compilation error on kernel-4.19
drivers/video/rockchip/rga3/rga_iommu.c:38:11: error: implicit declaration of function 'kmap' [-Werror=implicit-function-declaration]
   vaddr = kmap(pages[taipage_num - 1]);

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I3f570c4812f4c308001cdd894799682faa18203e
2022-07-28 20:45:00 +08:00
Yu Qiaowei
0e669c6e25 video: rockchip: rga3: Fix for CONFIG_ROCKCHIP_FPGA=y
drivers/video/rockchip/rga3/rga_drv.c:1036:3: error: implicit declaration of function 'rga_power_enable_all' [-Werror=implicit-function-declaration]
   rga_power_enable_all();
   ^~~~~~~~~~~~~~~~~~~~
drivers/video/rockchip/rga3/rga_drv.c:1040:3: error: implicit declaration of function 'rga_power_disable_all' [-Werror=implicit-function-declaration]
   rga_power_disable_all();
   ^~~~~~~~~~~~~~~~~~~~~
drivers/video/rockchip/rga3/rga_drv.c: In function 'rga_drv_probe':
drivers/video/rockchip/rga3/rga_drv.c:1526:1: warning: label 'failed' defined but not used [-Wunused-label]
error, forbidden warning:rga_drv.c:1526
 failed:
 ^~~~~~
drivers/video/rockchip/rga3/rga_drv.c:1376:6: warning: unused variable 'i' [-Wunused-variable]
error, forbidden warning:rga_drv.c:1376
  int i, irq;

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I3a7bd21a2351b474df654a81b93f7f0c1560aac1
2022-07-28 20:43:22 +08:00
Yu Qiaowei
de9ba17c93 video: rockchip: rga3: generate register before inserting to-do list
In order to avoid mapping memory when the job pointer is invalid after abort.

Update driver version to 1.2.18

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I50a581f604e66975f87d1566a3dd1b2e95c7e2a3
2022-07-28 17:55:22 +08:00
Yu Qiaowei
1e6930e62f video: rockchip: rga3: add debug api about scheduler
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ia81032036b52df8727408fe64681611c54370ade
2022-07-28 17:55:22 +08:00
Yu Qiaowei
7d6ab956f1 video: rockchip: rga3: add status of the scheduler
This will be used to identify the running state of the current scheduler.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ib5cdff02e9aa6a32ac1f5e2916190aaa6141a687
2022-07-28 17:55:22 +08:00
Yu Qiaowei
953dcf650f video: rockchip: rga3: Fix post-processing of request timeouts
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ie985ced34241b3da2a5a68c302623023ca76a68e
2022-07-28 17:55:22 +08:00
Yu Qiaowei
b535c17671 video: rockchip: rga3: allow jobs in batch-mode to fail
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Id2b67f8e77c4668423289fcbca67a2bf26b4fdc7
2022-07-28 17:55:22 +08:00
Yu Qiaowei
14c0e4eed3 video: rockchip: rga3: kernel_commit adapted to batch mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I66852923d4179ab509d14cef12a88cc17553de22
2022-07-28 17:55:22 +08:00
Sayon Chen
3318f0eac0 video: rockchip: mpp: rkvenc2: Improve slice mode
Slice mode now will poll wait and read slice length until max return
number is reached.

Signed-off-by: Sayon Chen <sayon.chen@rock-chips.com>
Change-Id: Ieffd91cf356fa3d682aeb20a7a445de0596fec79
2022-07-20 18:14:55 +08:00
Yandong Lin
8a69331606 video: rockchip: mpp: fix dec err for rk356x
Add rkvdec link info for rk356x version.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ib130c3b8bb15174c48b8afaaec5031eee0149503
2022-07-20 17:35:43 +08:00
Yandong Lin
f80958fbd9 video: rockchip: mpp: fix task count err on mpp_dev
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Id0ebcd3c2e945ebd47f68f1c79fd4a0d41943bd5
2022-07-19 17:07:05 +08:00
Yandong Lin
aab4ed43cf video: rockchip: mpp: fix show sessions-summary info issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ic89d8aff11d72d059fbbdbc27c4247cb8aabea73
2022-07-19 17:06:48 +08:00
Yu Qiaowei
4ddee5f575 video: rockchip: rga3: fix compile errors in kernel-4.19
And need to ensure that the commit exists in scatterlist.h of kernel-4.19:
commit 3d9c15bc2e91 ("BACKPORT: scatterlist: add generic wrappers for iterating over sgtable objects")

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I9cfe758954beedd3408e9f9d68f69f8e36566425
2022-07-18 18:53:24 +08:00
Tao Huang
07944e3f80 video: rockchip: rga3: set vfs-only exports into their own namespace
According to gki commit d483eed85f ("ANDROID: GKI: set vfs-only exports into their own namespace").

ERROR: modpost: module rga3 uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module rga3 uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ib2f4958b5f7959bfd47982a4d3330f4290a70db2
2022-07-15 19:30:49 +08:00
Tao Huang
c7a43f0886 Merge tag 'ASB-2022-06-05_12-5.10' of https://android.googlesource.com/kernel/common
https://source.android.com/security/bulletin/2022-01-01
CVE-2022-24958
CVE-2022-20136
CVE-2022-23960
CVE-2022-20141
CVE-2021-4154
CVE-2022-20132

* tag 'ASB-2022-06-05_12-5.10': (1188 commits)
  BACKPORT: net/sched: cls_u32: fix netns refcount changes in u32_change()
  UPSTREAM: io_uring: always use original task when preparing req identity
  FROMLIST: remoteproc: Fix dma_mem leak after rproc_shutdown
  FROMLIST: dma-mapping: Add dma_release_coherent_memory to DMA API
  ANDROID: Update QCOM symbol list for __reset_control_get
  ANDROID: vendor_hooks: Add hooks for mutex
  BACKPORT: can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
  BACKPORT: can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: oplus: Update the ABI xml and symbol list
  UPSTREAM: remoteproc: Fix count check in rproc_coredump_write()
  BACKPORT: esp: Fix possible buffer overflow in ESP transformation
  ANDROID: Fix the drain_all_pages default condition broken by a hook
  UPSTREAM: Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
  UPSTREAM: xfrm: fix MTU regression
  ANDROID: signal: Add vendor hook for memory reaping
  FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown
  FROMGIT: usb: dwc3: gadget: increase tx fifo size for ss isoc endpoints
  UPSTREAM: usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
  FROMGIT: usb: gadget: uvc: remove pause flag use
  ...

Change-Id: Idf3eea3b21dc69c8189161c0e24744336431913a

Conflicts:
	drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
	drivers/spi/spi-rockchip.c
	drivers/usb/gadget/function/f_uvc.c
	drivers/usb/gadget/function/uvc.h
	drivers/usb/gadget/function/uvc_configfs.c
	drivers/usb/gadget/function/uvc_queue.c
	drivers/usb/gadget/function/uvc_video.c
	sound/soc/rockchip/rockchip_i2s.c
2022-07-15 17:58:38 +08:00
Tao Huang
24cbee6672 Merge tag 'ASB-2022-04-05_12-5.10' of https://android.googlesource.com/kernel/common
https://source.android.com/security/bulletin/2022-04-01
CVE-2021-0707
CVE-2021-39800
CVE-2021-39801 (4.9 only)
CVE-2021-39802

* tag 'ASB-2022-04-05_12-5.10': (3832 commits)
  ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus
  ANDROID: vendor_hooks: Reduce pointless modversions CRC churn
  UPSTREAM: locking/lockdep: Avoid potential access of invalid memory in lock_class
  ANDROID: mm: Fix implicit declaration of function 'isolate_lru_page'
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: GKI: Add hook symbol to symbol list
  Revert "ANDROID: dm-bow: Protect Ranges fetched and erased from the RB tree"
  ANDROID: vendor_hooks: Add hooks to for free_unref_page_commit
  ANDROID: vendor_hooks: Add hooks to for alloc_contig_range
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: vendor_hooks: Add hook in shrink_node_memcgs
  ANDROID: GKI: Add symbols to symbol list
  FROMGIT: iommu/iova: Improve 32-bit free space estimate
  ANDROID: export walk_page_range and swp_swap_info
  ANDROID: vendor_hooks: export shrink_slab
  ANDROID: usb: gadget: f_accessory: add compat_ioctl support
  UPSTREAM: sr9700: sanity check for packet length
  UPSTREAM: io_uring: return back safer resurrect
  UPSTREAM: Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
  ...

Change-Id: Ic61ead530b99b10ffd535a358a48fe9bb8c33fd4

Conflicts:
	drivers/android/Kconfig
	drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c
	drivers/gpu/drm/rockchip/rockchip_vop_reg.c
	drivers/i2c/busses/i2c-rk3x.c
	drivers/media/i2c/imx258.c
	drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
	drivers/usb/dwc2/gadget.c
	drivers/usb/gadget/function/uvc.h
	lib/Kconfig.debug
2022-07-15 17:40:39 +08:00
Yu Qiaowei
17b7ac8a5b video: rockchip: rga3: check mm_flag when mapping dma-buf
This part of the information is printed when the mapping fails
due to MMU limitations.

Update driver version to 1.2.17

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I2d6e4219ebc54d285bc9c25742f93503f7633b5e
2022-07-15 15:42:11 +08:00
Yu Qiaowei
fb617a18f5 video: rockchip: rga3: remove useless code about rga_job
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I004f35942c3300a173b0aae785bc750bb0497a55
2022-07-15 15:42:11 +08:00
Yu Qiaowei
a74de1825b video: rockchip: rga3: Get current_mm in request
Make sure to get the correct current_mm in asynchronous mode.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Iec2b989e072b68b88d920ce8591924168bac3a7e
2022-07-15 15:42:11 +08:00
Yu Qiaowei
5bd1341b7f video: rockchip: rga3: mpi-mode adapted to batch mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I51f38752edc49bb6d47b657a185f0dbfcecf133f
2022-07-15 15:42:11 +08:00
Yu Qiaowei
c93d87e863 video: rockchip: rga3: blit-command adapted to batch mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1b5d25396cf26b10df8c4e62357ec0e203018b7b
2022-07-15 15:42:11 +08:00
Yu Qiaowei
0251aeb09b video: rockchip: rga3: fixed no put_request when request_config exits abnormally
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I82f359e6bec4c405642c8e0fb870596f5713ccb9
2022-07-15 15:42:11 +08:00
Yu Qiaowei
759eaa8274 video: rockchip: rga3: Remove useless memory maps
Update driver version to 1.2.16

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I655c4cbc7dcf91769a978ad61700c43fb0e97d90
2022-07-11 20:23:22 +08:00
Yu Qiaowei
88d6006732 video: rockchip: rga3: Add default mapped device
1. The default_domain is used when the IOMMU device calls dma-buf api,
so it is necessary to save the dev of the main core as the default_dev.
2. The default mapped device will be able to get all the memory
information required by the device.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0ed1487dc0bfad65bbb1aafb8d2f31255cc4c9fe
2022-07-11 20:23:21 +08:00
Yu Qiaowei
011f061059 video: rockchip: rga3: rename rga2_mmu_info -> rga_iommu
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0a1722f5034aea25306573156da0111f5aec558c
2022-07-11 20:23:20 +08:00
Yu Qiaowei
bb6df4d8d0 video: rockchip: rga3: add binding for iommu
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I521412c1a57fd0747f2a0673489b5d4ff32ac647
2022-07-11 20:23:19 +08:00
Yu Qiaowei
d7aa7cf45c video: rockchip: rga3: Move global rga_mmu_info to rga_drvdata
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I92f68a238d4fa2190baf746663d65d59f1f29076
2022-07-11 20:23:19 +08:00
Johnson Ding
30e3070cc2 video: rockchip: mpp: Fix JPEG dma coherence issue
MPP userspace drive will write JPEG header before encoder working, so
these data may remain at cache and flushed after hardware writing
encoded datad. And some data at the boundary may be corrupt.

Change-Id: I7f721293714fff68e6d07578ceb99a12454d488d
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
2022-07-08 17:31:29 +08:00
Yu Qiaowei
a9b0a038aa video: rockchip: rga3: Fix BUG_ON of spin_lock in single-mode request
[  559.931013] BUG: spinlock bad magic on CPU#6, rk_mb_gtest/1066
[  559.931031]  lock: 0xffffffc014f13b00, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[  559.931037] CPU: 6 PID: 1066 Comm: rk_mb_gtest Not tainted 5.10.66 #5
[  559.931041] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[  559.931045] Call trace:
[  559.931051]  dump_backtrace+0x0/0x1b4
[  559.931055]  show_stack+0x24/0x30
[  559.931061]  dump_stack_lvl+0xc8/0xf8
[  559.931064]  dump_stack+0x18/0x34
[  559.931070]  spin_bug+0x90/0xb4
[  559.931075]  do_raw_spin_lock+0x44/0xe0
[  559.931080]  _raw_spin_lock_irqsave+0x30/0x44
[  559.931086]  rga_request_submit+0x30/0x220
[  559.931090]  rga_ioctl+0x280/0x7a4
[  559.931095]  vfs_ioctl+0x34/0x54
[  559.931099]  __arm64_sys_ioctl+0x6c/0xa0
[  559.931104]  el0_svc_common.constprop.0+0x13c/0x1ec
[  559.931107]  do_el0_svc+0x8c/0x98
[  559.931111]  el0_svc+0x20/0x30
[  559.931115]  el0_sync_handler+0xd8/0x184
[  559.931119]  el0_sync+0x1a0/0x1c0

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I8876383e5692f66bbd44a7a32d7208c2b2810733
2022-07-08 17:31:28 +08:00
Yu Qiaowei
004ba6e22a video: rockchip: rga3: Fix some formats cannot match core
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ia6f6e43342f7a77d1bcf5e4cd4ed64b4d567d5f8
2022-07-05 14:27:22 +08:00
Yu Qiaowei
344479a3b4 video: rockchip: rga3: Fix physical continuous dma_fd not working
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I7ccfbd9bf1af4fc300f9367fc247f300ef82be4b
2022-07-04 11:27:58 +08:00
Yandong Lin
aa1f2eb72b video: rockchip: mpp: fix vepu access ccu crash issue
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: I73d0703b2b58d8d23be1c38bf23ce470ffc13be3
2022-07-01 18:38:50 +08:00
Yandong Lin
c01a3a8ab3 video: rockchip: mpp: Separation vepu2 and vepu2-jpege dev
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: If8d06652729325d7b986f53b50f265d341bcb4e8
2022-07-01 14:21:38 +08:00
Yandong Lin
500137ac8c video: rockchip: mpp: fix jpege core distribution issue
The four jpeg enc core are not the same queue, and there is only one
core in a single queue.
So, can not use queue->cores to get different core.

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: If9f56e351af23871e68b83de1917f26e88382dfc
2022-07-01 14:21:29 +08:00
Yu Qiaowei
7f53ead8ab video: rockchip: rga3: Avoid operating on invalid rga_dma_buffer
Update driver version to 1.2.15

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0b2bdcdc9750ca8051fb000048f3e8df3113c6ca
2022-07-01 10:59:39 +08:00
Yu Qiaowei
a9d7cb122c video: rockchip: rga3: remove the binding of RGA2 and 'RGA_MMU'
Since some RGA2 will use IOMMU, it is unreasonable to use RGA2_core for
previous MMU-related judgments.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ibd1f33cd57178fac9fa04ea752459307b7304d39
2022-06-29 17:46:17 +08:00
Yu Qiaowei
450da90c36 video: rockchip: rga3: Fix config-only mode cannot release request
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I11e38dfc72c0a6ba1300646f7c83707dec9eaaf6
2022-06-28 16:49:38 +08:00
Yu Qiaowei
e19e03fdeb video: rockchip: rga3: RGA3 IOMMU supports physical address
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1071ce8f38f71a13b5e632fc20bc56b75f333944
2022-06-28 16:49:38 +08:00
Yu Qiaowei
560bc18d7e video: rockchip: rga3: modify the check of virtual stride
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I6c955fc1c746629142494c4c6d6f2f49c94d0d7c
2022-06-27 15:55:23 +08:00
Yu Qiaowei
fc308534be video: rockchip: rga3: optimize struct rga_hw_data
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If48f4748409226dc73bdf0822eb832ca09bca86e
2022-06-27 15:55:23 +08:00
Jianqun Xu
c71d300e42 video: rockchip: mpp: reset buffer members when release buffer
Reset the buffer members by:
	buffer->dma = NULL;
	buffer->dmabuf = NULL;
	buffer->attach = NULL;
	buffer->sgt = NULL;
	buffer->copy_sgt = NULL;
	buffer->iova = 0;
	buffer->size = 0;
	buffer->vaddr = NULL;
	buffer->last_used = 0;

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I83cf68f51a9db7894a01bca01b5a53c6d6932a5f
2022-06-22 18:34:06 +08:00
Jianqun Xu
f4052bc00c video: rockchip: mpp_service add dump session
Add the dump session function to show iova stats.

Tested on RK3588 Debian:
[root@RK3588:/]# cat /proc/mpp_service/sessions-summary
session iova range dump:
   0: 0x00000000fff80000..0x00000000ffffffff (       512 KiB)
   1: 0x00000000f8000000..0x00000000fca09fff (     75816 KiB)
   2: 0x00000000f7c00000..0x00000000f7ffbfff (      4080 KiB)
   3: 0x00000000f7b00000..0x00000000f7bb2fff (       716 KiB)
   4: 0x00000000f7a80000..0x00000000f7ae0fff (       388 KiB)
   5: 0x00000000f7a00000..0x00000000f7a7ffff (       512 KiB)
   6: 0x00000000f0000000..0x00000000f4a09fff (     75816 KiB)
   7: 0x00000000efc00000..0x00000000efffbfff (      4080 KiB)
   8: 0x00000000e8000000..0x00000000eca09fff (     75816 KiB)
   9: 0x00000000e7c00000..0x00000000e7ffbfff (      4080 KiB)
  10: 0x00000000e0000000..0x00000000e4a09fff (     75816 KiB)
  11: 0x00000000dfc00000..0x00000000dfffbfff (      4080 KiB)
  12: 0x00000000d8000000..0x00000000dca09fff (     75816 KiB)
  13: 0x00000000d7c00000..0x00000000d7ffbfff (      4080 KiB)
  14: 0x00000000d0000000..0x00000000d4a09fff (     75816 KiB)
  15: 0x00000000c8000000..0x00000000cca09fff (     75816 KiB)
  16: 0x00000000c7f00000..0x00000000c7fb2fff (       716 KiB)
  17: 0x00000000c7e80000..0x00000000c7efffff (       512 KiB)
  18: 0x00000000c0000000..0x00000000c4a09fff (     75816 KiB)
  19: 0x00000000bfc00000..0x00000000bfffbfff (      4080 KiB)
  20: 0x00000000bfb00000..0x00000000bfbb2fff (       716 KiB)
  21: 0x00000000b8000000..0x00000000bca09fff (     75816 KiB)
  22: 0x00000000b0000000..0x00000000b4a09fff (     75816 KiB)
  23: 0x00000000a8000000..0x00000000aca09fff (     75816 KiB)
  24: 0x00000000a0000000..0x00000000a4a09fff (     75816 KiB)
session: pid=2296 index=1
 device: fdc38100.rkvdec-core
 memory: 916 MiB

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I545a26e37e50ee94e1eeae51eebf35d70cedc49f
2022-06-22 18:34:06 +08:00
Yu Qiaowei
77de161fde video: rockchip: rga3: batch mode supports asynchronous calls
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0d38d9a478a77a79d85cac0eb91906ebfae59544
2022-06-17 16:41:26 +08:00
Yu Qiaowei
17638eab67 video: rockchip: rga3: fix alpha channel loss in ABC mode
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I54adb160f0dcf934a4001169ad3a7545948e4209
2022-06-17 16:41:04 +08:00
Yu Qiaowei
45fe385055 video: rockchip: rga3: Fix RGA2 getting the wrong size of dma-buf
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ice6b7ca67d04af8187b1b3d4438b2097223f9e04
2022-06-17 16:40:53 +08:00