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

Commit 804e918c authored by Vikash Garodia's avatar Vikash Garodia
Browse files

msm: vidc: Add log to indicate image session



During multiple error scenario, video driver prints
the properties of ongoing video instances.
Add a log to indicate if the session is of type
image.

Change-Id: Ie23522bd31c9f5188c204c4a1eeae59a627d1976
Signed-off-by: default avatarVikash Garodia <vgarodia@codeaurora.org>
parent dfe35953
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3414,7 +3414,7 @@ static void msm_vidc_print_running_insts(struct msm_vidc_core *core)
		inp_f = &temp->fmts[INPUT_PORT].v4l2_fmt;
		if (temp->state >= MSM_VIDC_OPEN_DONE &&
				temp->state < MSM_VIDC_STOP_DONE) {
			char properties[4] = "";
			char properties[5] = "";

			if (is_thumbnail_session(temp))
				strlcat(properties, "N", sizeof(properties));
@@ -3425,6 +3425,9 @@ static void msm_vidc_print_running_insts(struct msm_vidc_core *core)
			if (is_realtime_session(temp))
				strlcat(properties, "R", sizeof(properties));

			if (is_grid_session(temp))
				strlcat(properties, "I", sizeof(properties));

			if (temp->clk_data.operating_rate)
				op_rate = temp->clk_data.operating_rate >> 16;
			else