Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_helpers.c317 if (!log_ctx) { in dm_dtn_log_begin()
334 if (!log_ctx) { in dm_dtn_log_append_v()
363 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()
364 kfree(log_ctx->buf); in dm_dtn_log_append_v()
366 log_ctx->buf = buf; in dm_dtn_log_append_v()
367 log_ctx->size = total; in dm_dtn_log_append_v()
371 if (!log_ctx->buf) in dm_dtn_log_append_v()
377 log_ctx->buf + log_ctx->pos, in dm_dtn_log_append_v()
378 log_ctx->size - log_ctx->pos, in dm_dtn_log_append_v()
384 log_ctx->pos += n; in dm_dtn_log_append_v()
[all …]
A Damdgpu_dm_debugfs.c3252 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local
3261 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read()
3263 if (*pos < log_ctx.pos) { in dtn_log_read()
3264 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read()
3268 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read()
3274 kfree(log_ctx.buf); in dtn_log_read()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/
A Dlogger_interface.h128 dm_dtn_log_begin(dc_ctx, log_ctx)
131 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__)
134 dm_dtn_log_end(dc_ctx, log_ctx)
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddm_services.h281 struct dc_log_buffer_ctx *log_ctx);
283 struct dc_log_buffer_ctx *log_ctx,
286 struct dc_log_buffer_ctx *log_ctx);
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer_debug.h36 struct dc_log_buffer_ctx *log_ctx);
A Ddcn10_hw_sequencer.h152 struct dc_log_buffer_ctx *log_ctx);
A Ddcn10_hw_sequencer.c73 print_microsec(dc_ctx, log_ctx, ref_cycle)
81 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument
125 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument
139 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument
167 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument
282 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument
290 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state()
292 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state()
471 log_mpc_crc(dc, log_ctx); in dcn10_log_hw_state()
/linux-6.3-rc2/drivers/vhost/
A Dvhost.c326 vq->log_ctx = NULL; in vhost_vq_reset()
472 dev->log_ctx = NULL; in vhost_dev_init()
698 if (dev->log_ctx) in vhost_dev_cleanup()
699 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup()
700 dev->log_ctx = NULL; in vhost_dev_cleanup()
1814 swap(ctx, d->log_ctx); in vhost_dev_ioctl()
1817 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()
1968 if (vq->log_ctx) in vhost_log_write()
1991 if (vq->log_ctx) in vhost_update_used_flags()
2009 if (vq->log_ctx) in vhost_update_avail_event()
[all …]
A Dvhost.h81 struct eventfd_ctx *log_ctx; member
149 struct eventfd_ctx *log_ctx; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dhw_sequencer.h204 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);

Completed in 26 milliseconds