Closed nyanmisaka closed 5 months ago
thanks for reporting.
@HermanChen please check that
OK, I will let drm people check it.
Hi, for the first issue, it's expected to use the upstream dma-heap driver(according to rk dma-heap developer(@xxm)), so we should fix the crash in the mpp @HermanChen
and the second issue would be fixed in: kernel-6.1-2024_03_01
@JeffyCN Thanks for the info! Feel free to close the issue.
Okay, thanks :)
Hey @JeffyCN quick question, is kernel-6.1-2024_03_01 from the linux-6.1-stan-rkr2 release?
no, it just the last commit before the first rk3576 thing(which i was told not to upload)
Gotcha, thanks!
I'm not sure if these have been fixed in the 6.1 final release. Therefore I report them here so that you can forward it to the corresponding developers. cc @JeffyCN
rk_system_heap.c
is still not ported to 6.1 yet, which causes MPP runtime to crash in DMA_HEAP allocator.https://github.com/JeffyCN/mirrors/blob/kernel-6.1-2024_01_02/drivers/dma-buf/heaps/Makefile#L2
rockchip_drm_gem.c
cacheable memory flag is broken during manual merging. It causes very slow copying from the decoder frame pool.https://github.com/JeffyCN/mirrors/blob/kernel-6.1-2024_01_02/drivers/gpu/drm/rockchip/rockchip_drm_gem.c#L550
A simple fix is this: