Searched refs:kfb (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_framebuffer.c | 18 struct komeda_fb *kfb = to_kfb(fb); in komeda_fb_destroy() local 25 kfree(kfb); in komeda_fb_destroy() 40 komeda_fb_afbc_size_check(struct komeda_fb *kfb, struct drm_file *file, in komeda_fb_afbc_size_check() argument 43 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_afbc_size_check() 79 kfb->aligned_w = ALIGN(fb->width, alignment_w); in komeda_fb_afbc_size_check() 80 kfb->aligned_h = ALIGN(fb->height, alignment_h); in komeda_fb_afbc_size_check() 87 n_blocks = (kfb->aligned_w * kfb->aligned_h) / AFBC_SUPERBLK_PIXELS; in komeda_fb_afbc_size_check() 88 kfb->offset_payload = ALIGN(n_blocks * AFBC_HEADER_SIZE, in komeda_fb_afbc_size_check() 92 kfb->afbc_size = kfb->offset_payload + n_blocks * in komeda_fb_afbc_size_check() 95 min_size = kfb->afbc_size + fb->offsets[0]; in komeda_fb_afbc_size_check() [all …]
|
H A D | komeda_framebuffer.h | 41 int komeda_fb_check_src_coords(const struct komeda_fb *kfb, 44 komeda_fb_get_pixel_addr(struct komeda_fb *kfb, int x, int y, int plane); 45 bool komeda_fb_is_layer_supported(struct komeda_fb *kfb, u32 layer_type,
|
/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
H A D | d71_component.c | 188 struct komeda_fb *kfb, in d71_layer_update_fb() argument 191 struct drm_framebuffer *fb = &kfb->base; in d71_layer_update_fb() 208 malidp_write32(reg, LAYER_FMT, kfb->format_caps->hw_id); in d71_layer_update_fb() 222 struct komeda_fb *kfb = to_kfb(fb); in d71_layer_update() local 227 d71_layer_update_fb(c, kfb, st->addr); in d71_layer_update() 239 addr = st->addr[0] + kfb->offset_payload; in d71_layer_update() 241 addr = st->addr[0] + kfb->afbc_size - 1; in d71_layer_update() 250 switch (kfb->format_caps->fourcc) { in d71_layer_update() 283 if (kfb->is_va) in d71_layer_update() 472 struct komeda_fb *kfb = to_kfb(conn_st->writeback_job->fb); in d71_wb_layer_update() local [all …]
|