/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 309 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() 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() 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 in dm_dtn_log_append_v() 308 dm_dtn_log_begin(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx) dm_dtn_log_begin() argument 321 dm_dtn_log_append_v(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx, const char *msg, ...) dm_dtn_log_append_v() argument 382 dm_dtn_log_end(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx) dm_dtn_log_end() argument [all...] |
H A D | amdgpu_dm_debugfs.c | 2273 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 392 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() 396 if (!log_ctx) { in dm_dtn_log_begin() 401 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin() 406 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() 413 if (!log_ctx) { in dm_dtn_log_append_v() 436 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v() 438 if (total > log_ctx->size) { in dm_dtn_log_append_v() 442 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v() 443 kfree(log_ctx in dm_dtn_log_append_v() 391 dm_dtn_log_begin(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx) dm_dtn_log_begin() argument 405 dm_dtn_log_append_v(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx, const char *msg, ...) dm_dtn_log_append_v() argument 466 dm_dtn_log_end(struct dc_context *ctx, struct dc_log_buffer_ctx *log_ctx) dm_dtn_log_end() argument [all...] |
H A D | amdgpu_dm_debugfs.c | 3399 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local 3408 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read() 3410 if (*pos < log_ctx.pos) { in dtn_log_read() 3411 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read() 3415 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read() 3421 kfree(log_ctx.buf); in dtn_log_read()
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-6.6/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)
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_services.h | 288 struct dc_log_buffer_ctx *log_ctx); 290 struct dc_log_buffer_ctx *log_ctx, 293 struct dc_log_buffer_ctx *log_ctx);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.h | 36 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn10_hw_sequencer.h | 153 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn10_hw_sequencer.c | 69 print_microsec(dc_ctx, log_ctx, ref_cycle) 74 struct dc_log_buffer_ctx *log_ctx, in print_microsec() 115 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() 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() 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() 73 print_microsec(struct dc_context *dc_ctx, struct dc_log_buffer_ctx *log_ctx, uint32_t ref_cycle) print_microsec() argument 114 log_mpc_crc(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) log_mpc_crc() argument 270 dcn10_log_hw_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) dcn10_log_hw_state() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.h | 36 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn10_hw_sequencer.h | 152 struct dc_log_buffer_ctx *log_ctx);
|
H A D | dcn10_hw_sequencer.c | 73 print_microsec(dc_ctx, log_ctx, ref_cycle) 81 struct dc_log_buffer_ctx *log_ctx, in print_microsec() 126 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() 140 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() 168 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument 283 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() 291 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state() 293 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state() 472 log_mpc_crc(dc, log_ctx); in dcn10_log_hw_state() 80 print_microsec(struct dc_context *dc_ctx, struct dc_log_buffer_ctx *log_ctx, uint32_t ref_cycle) print_microsec() argument 125 log_mpc_crc(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) log_mpc_crc() argument 139 dcn10_log_hubbub_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) dcn10_log_hubbub_state() argument 282 dcn10_log_hw_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) dcn10_log_hw_state() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_services.h | 303 struct dc_log_buffer_ctx *log_ctx); 305 struct dc_log_buffer_ctx *log_ctx, 308 struct dc_log_buffer_ctx *log_ctx);
|
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vhost.c | 334 vq->log_ctx = NULL; in vhost_vq_reset() 480 dev->log_ctx = NULL; in vhost_dev_init() 706 if (dev->log_ctx) in vhost_dev_cleanup() 707 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup() 708 dev->log_ctx = NULL; in vhost_dev_cleanup() 1810 swap(ctx, d->log_ctx); in vhost_dev_ioctl() 1813 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl() 1964 if (vq->log_ctx) in vhost_log_write() 1965 eventfd_signal(vq->log_ctx, in vhost_log_write() [all...] |
H A D | vhost.h | 83 struct eventfd_ctx *log_ctx; member 155 struct eventfd_ctx *log_ctx; member
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vhost.c | 384 vq->log_ctx = NULL; in vhost_vq_reset() 516 dev->log_ctx = NULL; in vhost_dev_init() 985 if (dev->log_ctx) in vhost_dev_cleanup() 986 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup() 987 dev->log_ctx = NULL; in vhost_dev_cleanup() 2096 swap(ctx, d->log_ctx); in vhost_dev_ioctl() 2099 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl() 2250 if (vq->log_ctx) in vhost_log_write() 2251 eventfd_signal(vq->log_ctx, in vhost_log_write() [all...] |
H A D | vhost.h | 93 struct eventfd_ctx *log_ctx; member 165 struct eventfd_ctx *log_ctx; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | hw_sequencer.h | 199 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | hw_sequencer.h | 336 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
|