/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 414 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument 418 if (!log_ctx) { in dm_dtn_log_begin() 423 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin() 428 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument 435 if (!log_ctx) { in dm_dtn_log_append_v() 458 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v() 460 if (total > log_ctx->size) { in dm_dtn_log_append_v() 464 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v() 465 kfree(log_ctx->buf); in dm_dtn_log_append_v() 467 log_ctx->buf = buf; in dm_dtn_log_append_v() [all …]
|
H A D | amdgpu_dm_debugfs.c | 3706 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local 3715 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read() 3717 if (*pos < log_ctx.pos) { in dtn_log_read() 3718 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read() 3722 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read() 3728 kfree(log_ctx.buf); in dtn_log_read()
|
/linux/drivers/gpu/drm/amd/display/include/ |
H A D | logger_interface.h | 128 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/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_services.h | 298 struct dc_log_buffer_ctx *log_ctx); 300 struct dc_log_buffer_ctx *log_ctx, 303 struct dc_log_buffer_ctx *log_ctx);
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.h | 36 struct dc_log_buffer_ctx *log_ctx);
|
/linux/drivers/vhost/ |
H A D | vhost.c | 380 vq->log_ctx = NULL; in vhost_vq_reset() 546 dev->log_ctx = NULL; in vhost_dev_init() 1041 if (dev->log_ctx) in vhost_dev_cleanup() 1042 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup() 1043 dev->log_ctx = NULL; in vhost_dev_cleanup() 2178 swap(ctx, d->log_ctx); in vhost_dev_ioctl() 2181 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl() 2332 if (vq->log_ctx) in vhost_log_write() 2333 eventfd_signal(vq->log_ctx); in vhost_log_write() 2355 if (vq->log_ctx) in vhost_update_used_flags() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.h | 56 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn30_hwseq.c | 73 struct dc_log_buffer_ctx *log_ctx) in dcn30_log_color_state() argument
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.h | 32 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn20_hwseq.c | 75 struct dc_log_buffer_ctx *log_ctx) in dcn20_log_color_state() argument
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/ |
H A D | hw_sequencer.h | 360 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx); 362 struct dc_log_buffer_ctx *log_ctx);
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.h | 155 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn10_hwseq.c | 77 print_microsec(dc_ctx, log_ctx, ref_cycle) 85 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument 130 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument 144 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument 172 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument 288 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_color_state() argument 395 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument 403 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state() 405 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state() 408 dc->hwss.log_color_state(dc, log_ctx); in dcn10_log_hw_state() [all …]
|