driver: vidc: fix response handling
Add condition to check if response packet size is zero. Skip writing to sfr-register till FW adds support. Read FW response from the right addr. Change-Id: I9244d6af024da18750bb21186512c7cc4dfd0c65 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Tento commit je obsažen v:

odevzdal
Maheshwar Ajja

rodič
ec2f06a4ba
revize
081c9ad524
@@ -184,9 +184,10 @@ static int __setup_ucregion_memory_map_iris2(struct msm_vidc_core *vidc_core)
|
||||
__write_register(core, QTBL_ADDR_IRIS2,
|
||||
(u32)core->iface_q_table.align_device_addr);
|
||||
__write_register(core, QTBL_INFO_IRIS2, 0x01);
|
||||
if (core->sfr.align_device_addr)
|
||||
/* TODO: darshana, remove below comment later with FW support*/
|
||||
/*if (core->sfr.align_device_addr)
|
||||
__write_register(core, SFR_ADDR_IRIS2,
|
||||
(u32)core->sfr.align_device_addr);
|
||||
(u32)core->sfr.align_device_addr);*/
|
||||
/* update queues vaddr for debug purpose */
|
||||
__write_register(core, CPU_CS_VCICMDARG0_IRIS2,
|
||||
(u32)core->iface_q_table.align_virtual_addr);
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele