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: Vikash Garodia <vgarodia@codeaurora.org>
This commit is contained in:
parent
98bdda2be1
commit
6a73486000
@ -3174,7 +3174,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));
|
||||
@ -3185,6 +3185,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
|
||||
|
Loading…
Reference in New Issue
Block a user