Searched refs:font_pitch (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_panic.c | 451 static const u8 *get_char_bitmap(const struct font_desc *font, char c, size_t font_pitch) in get_char_bitmap() argument 453 return font->data + (c * font->height) * font_pitch; in get_char_bitmap() 479 size_t font_pitch = DIV_ROUND_UP(font->width, 8); in draw_txt_rectangle() local 494 src = get_char_bitmap(font, msg[i].txt[j], font_pitch); in draw_txt_rectangle() 496 drm_panic_blit(sb, &rec, src, font_pitch, 1, color); in draw_txt_rectangle()
|