Skip to content

Commit

Permalink
test: skip st22p_rx_digest_test for iova_pa mode
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Du <[email protected]>
  • Loading branch information
frankdjx committed Oct 27, 2023
1 parent 873595c commit ba3af5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/src/st22p_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,13 @@ static void st22p_rx_digest_test(enum st_fps fps[], int width[], int height[],
/* return if level lower than global */
if (para->level < ctx->level) return;

if (para->tx_ext || para->rx_ext) {
if (ctx->iova == MTL_IOVA_MODE_PA) {
info("%s, skip ext_buf test as it's PA iova mode\n", __func__);
return;
}
}

std::vector<tests_context*> test_ctx_tx;
std::vector<tests_context*> test_ctx_rx;
std::vector<st22p_tx_handle> tx_handle;
Expand Down

0 comments on commit ba3af5f

Please sign in to comment.