video: driver: disable power collapse for video on pineapple

Disable video power collapse on pineapple chipset until
power collapse sequence is successful.

Change-Id: I2e7d0085e6d810fb79c2b1070c4bd498f443cfc8
Signed-off-by: Deepa Guthyappa Madivalara <quic_dmadival@quicinc.com>
Este commit está contenido en:
Deepa Guthyappa Madivalara
2022-11-23 11:01:26 -08:00
padre 1addb15e58
commit bce7898377
Se han modificado 2 ficheros con 6 adiciones y 1 borrados

Ver fichero

@@ -306,7 +306,7 @@ static struct msm_platform_core_capability core_data_pineapple[] = {
{MAX_MBPS_ALL_INTRA, 2088960}, /* 4096x2176/256 MBs@60fps */
{MAX_ENH_LAYER_COUNT, 5},
{NUM_VPP_PIPE, 4},
{SW_PC, 1},
{SW_PC, 0},
{FW_UNLOAD, 0},
{HW_RESPONSE_TIMEOUT, HW_RESPONSE_TIMEOUT_VALUE}, /* 1000 ms */
{SW_PC_DELAY, SW_PC_DELAY_VALUE }, /* 1500 ms (>HW_RESPONSE_TIMEOUT)*/

Ver fichero

@@ -1023,6 +1023,11 @@ int venus_hfi_suspend(struct msm_vidc_core *core)
if (rc)
return rc;
if (!core->capabilities[SW_PC].value) {
d_vpr_h("Skip suspending venus\n");
return 0;
}
d_vpr_h("Suspending Venus\n");
rc = __power_collapse(core, true);
if (!rc) {