Home
last modified time | relevance | path

Searched refs:log_ctx (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_helpers.c426 if (!log_ctx) { in dm_dtn_log_begin()
443 if (!log_ctx) { in dm_dtn_log_append_v()
472 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()
473 kfree(log_ctx->buf); in dm_dtn_log_append_v()
475 log_ctx->buf = buf; in dm_dtn_log_append_v()
476 log_ctx->size = total; in dm_dtn_log_append_v()
480 if (!log_ctx->buf) in dm_dtn_log_append_v()
486 log_ctx->buf + log_ctx->pos, in dm_dtn_log_append_v()
487 log_ctx->size - log_ctx->pos, in dm_dtn_log_append_v()
493 log_ctx->pos += n; in dm_dtn_log_append_v()
[all …]
A Damdgpu_dm_debugfs.c3762 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local
3771 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read()
3773 if (*pos < log_ctx.pos) { in dtn_log_read()
3774 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read()
3778 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read()
3784 kfree(log_ctx.buf); in dtn_log_read()
/drivers/gpu/drm/amd/display/include/
A Dlogger_interface.h119 dm_dtn_log_begin(dc_ctx, log_ctx)
122 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__)
125 dm_dtn_log_end(dc_ctx, log_ctx)
/drivers/gpu/drm/amd/display/dc/
A Ddm_services.h305 struct dc_log_buffer_ctx *log_ctx);
307 struct dc_log_buffer_ctx *log_ctx,
310 struct dc_log_buffer_ctx *log_ctx);
/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer_debug.h36 struct dc_log_buffer_ctx *log_ctx);
/drivers/vhost/
A Dvhost.c389 vq->log_ctx = NULL; in vhost_vq_reset()
597 dev->log_ctx = NULL; in vhost_dev_init()
1216 if (dev->log_ctx) in vhost_dev_cleanup()
1218 dev->log_ctx = NULL; in vhost_dev_cleanup()
2393 swap(ctx, d->log_ctx); in vhost_dev_ioctl()
2396 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()
2563 if (vq->log_ctx) in vhost_log_write()
2564 eventfd_signal(vq->log_ctx); in vhost_log_write()
2582 if (vq->log_ctx) in vhost_update_used_flags()
2600 if (vq->log_ctx) in vhost_update_avail_event()
[all …]
A Dvhost.h107 struct eventfd_ctx *log_ctx; member
182 struct eventfd_ctx *log_ctx; member
/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
A Ddcn30_hwseq.h56 struct dc_log_buffer_ctx *log_ctx);
A Ddcn30_hwseq.c73 struct dc_log_buffer_ctx *log_ctx) in dcn30_log_color_state() argument
/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
A Ddcn20_hwseq.h32 struct dc_log_buffer_ctx *log_ctx);
A Ddcn20_hwseq.c75 struct dc_log_buffer_ctx *log_ctx) in dcn20_log_color_state() argument
/drivers/gpu/drm/amd/display/dc/hwss/
A Dhw_sequencer.h361 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
363 struct dc_log_buffer_ctx *log_ctx);
/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
A Ddcn10_hwseq.c77 print_microsec(dc_ctx, log_ctx, ref_cycle)
85 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument
252 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument
266 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument
439 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_color_state() argument
576 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument
584 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state()
586 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state()
589 dc->hwss.log_color_state(dc, log_ctx); in dcn10_log_hw_state()
591 dcn10_log_color_state(dc, log_ctx); in dcn10_log_hw_state()
[all …]
A Ddcn10_hwseq.h162 struct dc_log_buffer_ctx *log_ctx);

Completed in 736 milliseconds