Skip to content

Commit f020f88

Browse files
Adress review 1
1 parent 5df9f0b commit f020f88

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/experimental/st40_pipeline_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ enum st40p_tx_flag {
8989
available or timeout(default: 1s, use st40p_tx_set_block_timeout to customize)*/
9090
ST40P_TX_FLAG_BLOCK_GET = (MTL_BIT32(15)),
9191
/**
92-
* Enable accurate statistics to be shown in the stat dump for the frmaebuffers
92+
** Enable verbose status for framebuffers statuses in the stat dump
9393
*/
9494
ST40P_TX_FLAG_ACCURATE_FRAMEBUFF_STATISTICS = (MTL_BIT32(25)),
9595
};

lib/src/st2110/experimental/st40_pipeline_tx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static int tx_st40p_next_frame(void* priv, uint16_t* next_frame_idx,
9393
}
9494

9595
if (ctx->ops.flags & (ST40P_TX_FLAG_ACCURATE_FRAMEBUFF_STATISTICS)) {
96-
ctx->stat_enable_detailed_framebuffer_status = true;
96+
ctx->stat_enable_verbose_framebuffers_status = true;
9797
}
9898

9999
/* point to next */
@@ -295,7 +295,7 @@ static int tx_st40p_stat(void* priv) {
295295
producer_idx = ctx->framebuff_producer_idx;
296296
consumer_idx = ctx->framebuff_consumer_idx;
297297

298-
if (ctx->stat_enable_detailed_framebuffer_status) {
298+
if (ctx->stat_enable_verbose_framebuffers_status) {
299299
for (uint16_t j = 0; j < ctx->framebuff_cnt; j++) {
300300
stat = framebuff[j].stat;
301301

lib/src/st2110/experimental/st40_pipeline_tx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct st40p_tx_ctx {
4747
uint64_t block_timeout_ns;
4848

4949
/* get frame stat */
50-
bool stat_enable_detailed_framebuffer_status;
50+
bool stat_enable_verbose_framebuffers_status;
5151
int stat_get_frame_try;
5252
int stat_get_frame_succ;
5353
int stat_put_frame;

0 commit comments

Comments
 (0)