msm: mdss: rotator: Add debug logs to failed rotator request

When rotator fails on a request it would be helpful if information
about the request item was logged.

Change-Id: Ida8b3c9cd312a5142586323b1f9af613a44e40f3
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
This commit is contained in:
Terence Hampson 2015-07-21 17:31:31 -04:00 committed by David Keitel
parent 20eafef76e
commit 1e08f68d56

View file

@ -1784,8 +1784,17 @@ static void mdss_rotator_wq_handler(struct work_struct *work)
} }
ret = mdss_rotator_handle_entry(hw, entry); ret = mdss_rotator_handle_entry(hw, entry);
if (ret) if (ret) {
pr_err("fail to complete the roation request\n"); struct mdp_rotation_item *item = &entry->item;
pr_err("Rot req fail. src{%u,%u,%u,%u}f=%u\n"
"dst{%u,%u,%u,%u}f=%u session_id=%u, wbidx%d, pipe_id=%d\n",
item->src_rect.x, item->src_rect.y,
item->src_rect.w, item->src_rect.h, item->input.format,
item->dst_rect.x, item->dst_rect.y,
item->dst_rect.w, item->dst_rect.h, item->output.format,
item->session_id, item->wb_idx, item->pipe_idx);
}
mdss_rotator_put_hw_resource(entry->queue, hw); mdss_rotator_put_hw_resource(entry->queue, hw);