Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/
Ddrm_panic.c598 char kmsg_buf[512]; in draw_panic_static_kmsg() local
612 while (kmsg_dump_get_buffer(&iter, false, kmsg_buf, sizeof(kmsg_buf), &kmsg_len)) { in draw_panic_static_kmsg()
617 start = kmsg_buf + kmsg_len - 2; in draw_panic_static_kmsg()
618 end = kmsg_buf + kmsg_len - 1; in draw_panic_static_kmsg()
619 while (start > kmsg_buf && yoffset >= 0) { in draw_panic_static_kmsg()
620 while (start > kmsg_buf && *start != '\n') in draw_panic_static_kmsg()
623 line.txt = start + (start == kmsg_buf ? 0 : 1); in draw_panic_static_kmsg()