mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Rockchip: add workaround patches
This commit is contained in:
parent
da7c2cc1ab
commit
c5fad2bb48
38
packages/multimedia/rkmpp/patches/rkmpp-1000-hevc.patch
Normal file
38
packages/multimedia/rkmpp/patches/rkmpp-1000-hevc.patch
Normal file
@ -0,0 +1,38 @@
|
||||
diff --git a/mpp/hal/rkdec/h265d/hal_h265d_reg.c b/mpp/hal/rkdec/h265d/hal_h265d_reg.c
|
||||
index a60d6c2..3d4265b 100644
|
||||
--- a/mpp/hal/rkdec/h265d/hal_h265d_reg.c
|
||||
+++ b/mpp/hal/rkdec/h265d/hal_h265d_reg.c
|
||||
@@ -1468,8 +1468,6 @@ MPP_RET hal_h265d_gen_regs(void *hal, HalTaskInfo *syn)
|
||||
}
|
||||
hw_regs->sw_interrupt.sw_dec_e = 1;
|
||||
hw_regs->sw_interrupt.sw_dec_timeout_e = 1;
|
||||
- hw_regs->sw_interrupt.sw_wr_ddr_align_en = dxva_cxt->pp.tiles_enabled_flag
|
||||
- ? 0 : 1;
|
||||
|
||||
|
||||
///find s->rps_model[i] position, and set register
|
||||
diff --git a/mpp/hal/rkdec/h265d/hal_h265d_reg.h b/mpp/hal/rkdec/h265d/hal_h265d_reg.h
|
||||
index 1bccb02..432b8db 100644
|
||||
--- a/mpp/hal/rkdec/h265d/hal_h265d_reg.h
|
||||
+++ b/mpp/hal/rkdec/h265d/hal_h265d_reg.h
|
||||
@@ -50,7 +50,8 @@ typedef struct {
|
||||
struct swreg_int {
|
||||
RK_U32 sw_dec_e : 1 ;
|
||||
RK_U32 sw_dec_clkgate_e : 1 ;
|
||||
- RK_U32 reserve0 : 2 ;
|
||||
+ RK_U32 reserve0 : 1 ;
|
||||
+ RK_U32 sw_timeout_mode : 1 ;
|
||||
RK_U32 sw_dec_irq_dis : 1 ;
|
||||
RK_U32 sw_dec_timeout_e : 1 ;
|
||||
RK_U32 sw_buf_empty_en : 1 ;
|
||||
@@ -61,8 +62,9 @@ typedef struct {
|
||||
RK_U32 sw_dec_rdy_sta : 1 ;
|
||||
RK_U32 sw_dec_bus_sta : 1 ;
|
||||
RK_U32 sw_dec_error_sta : 1 ;
|
||||
+ RK_U32 sw_dec_timeout_sta : 1 ;
|
||||
RK_U32 sw_dec_empty_sta : 1 ;
|
||||
- RK_U32 reserve4 : 4 ;
|
||||
+ RK_U32 reserve3 : 3 ;
|
||||
RK_U32 sw_softrst_en_p : 1 ;
|
||||
RK_U32 sw_force_softreset_valid: 1 ;
|
||||
RK_U32 sw_softreset_rdy : 1 ;
|
1615
projects/Rockchip/patches/linux/rockchip-4.4/linux-1000-pl330.patch
Normal file
1615
projects/Rockchip/patches/linux/rockchip-4.4/linux-1000-pl330.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user