Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c309 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument
313 if (!log_ctx) { in dm_dtn_log_begin()
318 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()
322 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument
329 if (!log_ctx) { in dm_dtn_log_append_v()
352 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v()
354 if (total > log_ctx->size) { in dm_dtn_log_append_v()
358 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()
359 kfree(log_ctx->buf); in dm_dtn_log_append_v()
361 log_ctx->buf = buf; in dm_dtn_log_append_v()
[all …]
H A Damdgpu_dm_debugfs.c2273 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local
2282 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read()
2284 if (*pos < log_ctx.pos) { in dtn_log_read()
2285 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read()
2289 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read()
2295 kfree(log_ctx.buf); in dtn_log_read()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/include/
H 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)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/
H A Ddm_services.h303 struct dc_log_buffer_ctx *log_ctx);
305 struct dc_log_buffer_ctx *log_ctx,
308 struct dc_log_buffer_ctx *log_ctx);
/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvhost.c334 vq->log_ctx = NULL; in vhost_vq_reset()
480 dev->log_ctx = NULL; in vhost_dev_init()
705 if (dev->log_ctx) in vhost_dev_cleanup()
706 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup()
707 dev->log_ctx = NULL; in vhost_dev_cleanup()
1801 swap(ctx, d->log_ctx); in vhost_dev_ioctl()
1804 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()
1955 if (vq->log_ctx) in vhost_log_write()
1956 eventfd_signal(vq->log_ctx, 1); in vhost_log_write()
1978 if (vq->log_ctx) in vhost_update_used_flags()
[all …]
H A Dvhost.h83 struct eventfd_ctx *log_ctx; member
151 struct eventfd_ctx *log_ctx; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer_debug.h36 struct dc_log_buffer_ctx *log_ctx);
H A Ddcn10_hw_sequencer.h153 struct dc_log_buffer_ctx *log_ctx);
H A Ddcn10_hw_sequencer.c69 print_microsec(dc_ctx, log_ctx, ref_cycle)
74 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument
115 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument
128 void dcn10_log_hubbub_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument
156 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument
271 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument
279 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state()
281 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state()
460 log_mpc_crc(dc, log_ctx); in dcn10_log_hw_state()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/
H A Dhw_sequencer.h199 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0012-Support-setting-output-flow-direction.patch99 weston_log_ctx_add_log_scope(log_ctx, "proto",
/OK3568_Linux_fs/buildroot/package/weston/
H A D0013-Support-setting-output-flow-direction.patch99 weston_log_ctx_add_log_scope(log_ctx, "proto",
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0013-Support-setting-output-flow-direction.patch99 weston_log_ctx_add_log_scope(log_ctx, "proto",