mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
msm: vidc: Delay force firmware unload by 1sec
Video instances might still be alive at the time firmware unload handler is called. As a result, firmware unload request is not propagated to firmware. Add place holder to increase default delay for this request to 1sec to wait until all instances are closed and successfully unload firmware. Change-Id: Id1e7455d40c1808690148046f9a839f1b79574ae
This commit is contained in:
parent
55e747f481
commit
8dc245dc59
1 changed files with 32 additions and 0 deletions
|
|
@ -705,6 +705,10 @@ static struct msm_vidc_common_data default_common_data[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
};
|
||||
|
||||
static struct msm_vidc_common_data lahaina_common_data[] = {
|
||||
|
|
@ -712,6 +716,10 @@ static struct msm_vidc_common_data lahaina_common_data[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -838,6 +846,10 @@ static struct msm_vidc_common_data bengal_common_data_v0[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -901,6 +913,10 @@ static struct msm_vidc_common_data bengal_common_data_v1[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -964,6 +980,10 @@ static struct msm_vidc_common_data shima_common_data_v0[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -1074,6 +1094,10 @@ static struct msm_vidc_common_data shima_common_data_v1[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -1183,6 +1207,10 @@ static struct msm_vidc_common_data shima_common_data_v2[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
@ -1292,6 +1320,10 @@ static struct msm_vidc_common_data holi_common_data[] = {
|
|||
.key = "qcom,never-unload-fw",
|
||||
.value = 1,
|
||||
},
|
||||
{
|
||||
.key = "qcom,fw-unload-delay",
|
||||
.value = 1000,
|
||||
},
|
||||
{
|
||||
.key = "qcom,sw-power-collapse",
|
||||
.value = 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue