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

Commit 9bdfb919 authored by Praneeth Paladugu's avatar Praneeth Paladugu Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Update log level for power collpase



Update Power collapse log messages to VIDC_PROF to be in
sync with other clock related logs. Today these logs are
at VIDC_DBG and VIDC_INFO which also has lot of other logs.

Change-Id: Id69802df24c4eaf4d8e9bc0c438d250090f9a38f
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent 46aa49c1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4263,7 +4263,7 @@ static inline int __suspend(struct venus_hfi_device *device)
		return 0;
	}

	dprintk(VIDC_DBG, "Entering power collapse\n");
	dprintk(VIDC_PROF, "Entering power collapse\n");

	if (device->res->pm_qos_latency_us &&
		pm_qos_request_active(&device->qos))
@@ -4276,7 +4276,7 @@ static inline int __suspend(struct venus_hfi_device *device)
	}

	__venus_power_off(device, true);
	dprintk(VIDC_INFO, "Venus power collapsed\n");
	dprintk(VIDC_PROF, "Venus power collapsed\n");
	return rc;

err_tzbsp_suspend:
@@ -4298,7 +4298,7 @@ static inline int __resume(struct venus_hfi_device *device)
		return -EINVAL;
	}

	dprintk(VIDC_DBG, "Resuming from power collapse\n");
	dprintk(VIDC_PROF, "Resuming from power collapse\n");
	rc = __venus_power_on(device);
	if (rc) {
		dprintk(VIDC_ERR, "Failed to power on venus\n");
@@ -4334,7 +4334,7 @@ static inline int __resume(struct venus_hfi_device *device)
		pm_qos_add_request(&device->qos, PM_QOS_CPU_DMA_LATENCY,
				device->res->pm_qos_latency_us);
	}
	dprintk(VIDC_INFO, "Resumed from power collapse\n");
	dprintk(VIDC_PROF, "Resumed from power collapse\n");
exit:
	device->skip_pc_count = 0;
	return rc;