Searched refs:kfb (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/ |
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 …]
|
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,
|
D | komeda_pipeline_state.c | 284 struct komeda_fb *kfb, in komeda_layer_check_cfg() argument 290 if (!komeda_fb_is_layer_supported(kfb, layer->layer_type, dflow->rot)) in komeda_layer_check_cfg() 305 if (komeda_fb_check_src_coords(kfb, src_x, src_y, src_w, src_h)) in komeda_layer_check_cfg() 323 if (kfb->base.format->hsub > 1) in komeda_layer_check_cfg() 344 struct komeda_fb *kfb = to_kfb(fb); in komeda_layer_validate() local 349 err = komeda_layer_check_cfg(layer, kfb, dflow); in komeda_layer_validate() 363 st->hsize = kfb->aligned_w; in komeda_layer_validate() 364 st->vsize = kfb->aligned_h; in komeda_layer_validate() 366 st->afbc_crop_r = kfb->aligned_w - dflow->in_x - dflow->in_w; in komeda_layer_validate() 368 st->afbc_crop_b = kfb->aligned_h - dflow->in_y - dflow->in_h; in komeda_layer_validate() [all …]
|
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/d71/ |
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 …]
|