mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
vpu: fix mem_pd reg4 mistake for local dimming [1/1]
PD#SWPL-6798 Problem: vpu mem_pd reg4 config is incorrect Solution: fix mem_pd reg4 config Verify: ab301 Change-Id: Ibeb732051c2ad4b46e55f66fe05fce440b450263 Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
@@ -510,7 +510,9 @@ static struct vpu_ctrl_s vpu_mem_pd_tm2[] = {
|
||||
{VPU_TCON, HHI_VPU_MEM_PD_REG3, 0x3, 16, 16},
|
||||
{VPU_AXI_WR1, HHI_VPU_MEM_PD_REG4, 0x3, 0, 2},
|
||||
{VPU_AXI_WR0, HHI_VPU_MEM_PD_REG4, 0x3, 2, 2},
|
||||
{VPU_DMA, HHI_VPU_MEM_PD_REG4, 0xf, 4, 4},
|
||||
{VPU_AFBCE, HHI_VPU_MEM_PD_REG4, 0x3, 4, 2},
|
||||
{VPU_VDIN_WR_MIF2, HHI_VPU_MEM_PD_REG4, 0x3, 6, 2},
|
||||
{VPU_DMA, HHI_VPU_MEM_PD_REG4, 0xf, 8, 4},
|
||||
{VPU_MOD_MAX, VPU_REG_END, 0, 0, 0},
|
||||
};
|
||||
|
||||
|
||||
@@ -85,7 +85,8 @@ static char *vpu_mod_table[] = {
|
||||
"axi_wr1",
|
||||
"axi_wr0",
|
||||
"afbce",
|
||||
"dma"
|
||||
"vdin_wr_mif2",
|
||||
"dma",
|
||||
|
||||
"vpu_mod_max",
|
||||
|
||||
|
||||
@@ -85,7 +85,8 @@ enum vpu_mod_e {
|
||||
VPU_AXI_WR1, /* reg4[1:0], TL1 */
|
||||
VPU_AXI_WR0, /* reg4[3:2], TL1 */
|
||||
VPU_AFBCE, /* reg4[5:4], TL1 */
|
||||
VPU_DMA, /* reg4[7:4], TM2 */
|
||||
VPU_VDIN_WR_MIF2, /* reg4[7:6], TM2 */
|
||||
VPU_DMA, /* reg4[11:8], TM2 */
|
||||
|
||||
VPU_MOD_MAX,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user