Merge "video: driver: Read ctrl_init register value during FW bootup failure"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
cf58e09805
@@ -1120,6 +1120,10 @@ static int __boot_firmware_iris33(struct msm_vidc_core *core)
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
rc = __read_register(core, HFI_CTRL_INIT_IRIS33, &ctrl_init_val);
|
||||
if (rc)
|
||||
return rc;
|
||||
|
||||
if ((ctrl_status & HFI_CTRL_ERROR_FATAL) ||
|
||||
(ctrl_status & HFI_CTRL_ERROR_UC_REGION_NOT_SET) ||
|
||||
(ctrl_status & HFI_CTRL_ERROR_HW_FENCE_QUEUE)) {
|
||||
@@ -1137,7 +1141,8 @@ static int __boot_firmware_iris33(struct msm_vidc_core *core)
|
||||
}
|
||||
|
||||
if (count >= max_tries) {
|
||||
d_vpr_e("Error booting up vidc firmware, ctrl status %#x\n", ctrl_status);
|
||||
d_vpr_e("Error booting up vidc firmware, ctrl status %#x, ctrl init %#x\n",
|
||||
ctrl_status, ctrl_init_val);
|
||||
return -ETIME;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user