Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d86420ec authored by Chinmay Sawarkar's avatar Chinmay Sawarkar
Browse files

msm: vidc: Disable video power collapse



Disable power collapse and increase
timeout values to help debugging.

CRs-Fixed: 2384822
Change-Id: Ib023299de4b649f2173785c33358a8f14dc733fa
Signed-off-by: default avatarChinmay Sawarkar <chinmays@codeaurora.org>
parent 0c9008e7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ static struct msm_vidc_common_data kona_common_data[] = {
	},
	{
		.key = "qcom,sw-power-collapse",
		.value = 1,
		.value = 0,
	},
	{
		.key = "qcom,domain-attr-non-fatal-faults",
@@ -205,11 +205,11 @@ static struct msm_vidc_common_data kona_common_data[] = {
	},
	{
		.key = "qcom,power-collapse-delay",
		.value = 1500,
		.value = 15000,
	},
	{
		.key = "qcom,hw-resp-timeout",
		.value = 1000,
		.value = 10000,
	},
	{
		.key = "qcom,debug-timeout",
+1 −1
Original line number Diff line number Diff line
@@ -1222,7 +1222,7 @@ static int __tzbsp_set_video_state(enum tzbsp_video_state state)
static inline int __boot_firmware(struct venus_hfi_device *device)
{
	int rc = 0;
	u32 ctrl_init_val = 0, ctrl_status = 0, count = 0, max_tries = 1000;
	u32 ctrl_init_val = 0, ctrl_status = 0, count = 0, max_tries = 10000;

	ctrl_init_val = BIT(0);
	if (device->res->domain_cvp)