/linux-6.14.4/drivers/video/fbdev/ |
D | goldfishfb.c | 15 #include <linux/fb.h> 44 struct fb_info fb; member 51 struct goldfish_fb *fb = dev_id; in goldfish_fb_interrupt() local 54 spin_lock_irqsave(&fb->lock, irq_flags); in goldfish_fb_interrupt() 55 status = readl(fb->reg_base + FB_INT_STATUS); in goldfish_fb_interrupt() 57 fb->base_update_count++; in goldfish_fb_interrupt() 58 wake_up(&fb->wait); in goldfish_fb_interrupt() 60 spin_unlock_irqrestore(&fb->lock, irq_flags); in goldfish_fb_interrupt() 75 struct goldfish_fb *fb = container_of(info, struct goldfish_fb, fb); in goldfish_fb_setcolreg() local 78 fb->cmap[regno] = convert_bitfield(transp, &fb->fb.var.transp) | in goldfish_fb_setcolreg() [all …]
|
D | stifb.c | 64 #include <linux/fb.h> 156 #define READ_BYTE(fb, reg) gsc_readb((fb)->info->fix.mmio_start + (reg)) argument 157 #define READ_WORD(fb, reg) gsc_readl((fb)->info->fix.mmio_start + (reg)) argument 163 # define WRITE_BYTE(value, fb, reg) gsc_writeb((value), (fb)->info->fix.mmio_start + (reg)) argument 164 # define WRITE_WORD(value, fb, reg) gsc_writel((value), (fb)->info->fix.mmio_start + (reg)) argument 169 # define WRITE_BYTE(value,fb,reg) do { if (debug_on) \ argument 171 __func__, reg, value, READ_BYTE(fb,reg)); \ 172 gsc_writeb((value), (fb)->info->fix.mmio_start + (reg)); } while (0) 173 # define WRITE_WORD(value,fb,reg) do { if (debug_on) \ argument 175 __func__, reg, value, READ_WORD(fb,reg)); \ [all …]
|
D | wm8505fb.c | 11 #include <linux/fb.h> 32 #define DRIVER_NAME "wm8505-fb" 35 struct wm8505fb_info, fb) 37 struct fb_info fb; member 54 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR); in wm8505fb_init_hw() 55 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR1); in wm8505fb_init_hw() 205 switch (fbi->fb.fix.visual) { in wm8505fb_setcolreg() 210 val = chan_to_field(red, &fbi->fb.var.red); in wm8505fb_setcolreg() 211 val |= chan_to_field(green, &fbi->fb.var.green); in wm8505fb_setcolreg() 212 val |= chan_to_field(blue, &fbi->fb.var.blue); in wm8505fb_setcolreg() [all …]
|
D | Kconfig | 6 menuconfig FB config 25 in the /dev directory, i.e. /dev/fb*. 28 buffer devices. Please read <file:Documentation/fb/framebuffer.rst> 50 depends on FB 55 depends on FB 62 depends on FB 66 depends on FB && SPARC 73 depends on FB && (ZORRO || PCI) 85 Please read the file <file:Documentation/fb/cirrusfb.rst>. 92 depends on FB && ((AMIGA && BROKEN) || PCI) [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | base.c | 35 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_fini() argument 37 fb->func->tile.fini(fb, region, tile); in nvkm_fb_tile_fini() 41 nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, in nvkm_fb_tile_init() argument 44 fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); in nvkm_fb_tile_init() 48 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_prog() argument 50 struct nvkm_device *device = fb->subdev.device; in nvkm_fb_tile_prog() 51 if (fb->func->tile.prog) { in nvkm_fb_tile_prog() 52 fb->func->tile.prog(fb, region, tile); in nvkm_fb_tile_prog() 63 struct nvkm_fb *fb = device->fb; in nvkm_fb_sysmem_flush_page_init() local 65 if (fb->func->sysmem.flush_page_init) in nvkm_fb_sysmem_flush_page_init() [all …]
|
D | Kbuild | 2 nvkm-y += nvkm/subdev/fb/base.o 3 nvkm-y += nvkm/subdev/fb/nv04.o 4 nvkm-y += nvkm/subdev/fb/nv10.o 5 nvkm-y += nvkm/subdev/fb/nv1a.o 6 nvkm-y += nvkm/subdev/fb/nv20.o 7 nvkm-y += nvkm/subdev/fb/nv25.o 8 nvkm-y += nvkm/subdev/fb/nv30.o 9 nvkm-y += nvkm/subdev/fb/nv35.o 10 nvkm-y += nvkm/subdev/fb/nv36.o 11 nvkm-y += nvkm/subdev/fb/nv40.o [all …]
|
D | gf100.c | 34 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_intr() local 35 struct nvkm_subdev *subdev = &fb->base.subdev; in gf100_fb_intr() 47 struct gf100_fb *fb = gf100_fb(base); in gf100_fb_oneinit() local 48 struct nvkm_device *device = fb->base.subdev.device; in gf100_fb_oneinit() 49 int ret, size = 1 << (fb->base.page ? fb->base.page : 17); in gf100_fb_oneinit() 55 true, &fb->base.mmu_rd); in gf100_fb_oneinit() 60 true, &fb->base.mmu_wr); in gf100_fb_oneinit() 68 gf100_fb_init_page(struct nvkm_fb *fb) in gf100_fb_init_page() argument 70 struct nvkm_device *device = fb->subdev.device; in gf100_fb_init_page() 71 switch (fb->page) { in gf100_fb_init_page() [all …]
|
/linux-6.14.4/drivers/firmware/broadcom/ |
D | bcm47xx_sprom.c | 192 bool fb = fallback; in bcm47xx_sprom_fill_auto() local 198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto() 199 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto() 200 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto() 201 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto() 203 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto() 204 ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb); in bcm47xx_sprom_fill_auto() 205 ENTRY(0xfffffff8, u8, pre, "regrev", regrev, 0, fb); in bcm47xx_sprom_fill_auto() 207 ENTRY(0xfffffffe, u8, pre, "ledbh0", gpio0, 0xff, fb); in bcm47xx_sprom_fill_auto() 208 ENTRY(0xfffffffe, u8, pre, "ledbh1", gpio1, 0xff, fb); in bcm47xx_sprom_fill_auto() [all …]
|
/linux-6.14.4/drivers/gpu/drm/ |
D | drm_framebuffer.c | 78 const struct drm_framebuffer *fb) in drm_framebuffer_check_src_coords() argument 82 fb_width = fb->width << 16; in drm_framebuffer_check_src_coords() 83 fb_height = fb->height << 16; in drm_framebuffer_check_src_coords() 85 /* Make sure source coordinates are inside the fb. */ in drm_framebuffer_check_src_coords() 90 drm_dbg_kms(fb->dev, "Invalid source coordinates " in drm_framebuffer_check_src_coords() 91 "%u.%06ux%u.%06u+%u.%06u+%u.%06u (fb %ux%u)\n", in drm_framebuffer_check_src_coords() 96 fb->width, fb->height); in drm_framebuffer_check_src_coords() 105 * drm_mode_addfb - add an FB to the graphics configuration 110 * Add a new FB to the specified CRTC, given a user request. This is the 209 drm_dbg_kms(dev, "bad fb modifier %llu for plane %d\n", in framebuffer_check() [all …]
|
D | drm_fb_dma_helper.c | 3 * drm kms/fb dma helper functions 40 * @fb: The framebuffer 47 struct drm_gem_dma_object *drm_fb_dma_get_gem_obj(struct drm_framebuffer *fb, in drm_fb_dma_get_gem_obj() argument 52 gem = drm_gem_fb_get_obj(fb, plane); in drm_fb_dma_get_gem_obj() 64 * @fb: The framebuffer 71 dma_addr_t drm_fb_dma_get_gem_addr(struct drm_framebuffer *fb, in drm_fb_dma_get_gem_addr() argument 78 u32 block_w = drm_format_info_block_width(fb->format, plane); in drm_fb_dma_get_gem_addr() 79 u32 block_h = drm_format_info_block_height(fb->format, plane); in drm_fb_dma_get_gem_addr() 80 u32 block_size = fb->format->char_per_block[plane]; in drm_fb_dma_get_gem_addr() 86 obj = drm_fb_dma_get_gem_obj(fb, plane); in drm_fb_dma_get_gem_addr() [all …]
|
D | drm_gem_framebuffer_helper.c | 43 * @fb: Framebuffer 53 struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb, in drm_gem_fb_get_obj() argument 56 struct drm_device *dev = fb->dev; in drm_gem_fb_get_obj() 58 if (drm_WARN_ON_ONCE(dev, plane >= ARRAY_SIZE(fb->obj))) in drm_gem_fb_get_obj() 60 else if (drm_WARN_ON_ONCE(dev, !fb->obj[plane])) in drm_gem_fb_get_obj() 63 return fb->obj[plane]; in drm_gem_fb_get_obj() 69 struct drm_framebuffer *fb, in drm_gem_fb_init() argument 77 drm_helper_mode_fill_fb_struct(dev, fb, mode_cmd); in drm_gem_fb_init() 80 fb->obj[i] = obj[i]; in drm_gem_fb_init() 82 ret = drm_framebuffer_init(dev, fb, funcs); in drm_gem_fb_init() [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/ |
D | msm_fb.c | 35 static int msm_framebuffer_dirtyfb(struct drm_framebuffer *fb, in msm_framebuffer_dirtyfb() argument 40 struct msm_framebuffer *msm_fb = to_msm_framebuffer(fb); in msm_framebuffer_dirtyfb() 42 /* If this fb is not used on any display requiring pixel data to be in msm_framebuffer_dirtyfb() 48 return drm_atomic_helper_dirtyfb(fb, file_priv, flags, color, in msm_framebuffer_dirtyfb() 59 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe() argument 62 int i, n = fb->format->num_planes; in msm_framebuffer_describe() 64 seq_printf(m, "fb: %dx%d@%4.4s (%2d, ID:%d)\n", in msm_framebuffer_describe() 65 fb->width, fb->height, (char *)&fb->format->format, in msm_framebuffer_describe() 66 drm_framebuffer_read_refcount(fb), fb->base.id); in msm_framebuffer_describe() 70 i, fb->offsets[i], fb->pitches[i]); in msm_framebuffer_describe() [all …]
|
/linux-6.14.4/drivers/staging/fbtft/ |
D | Kconfig | 4 depends on FB && SPI 12 tristate "FB driver for the AGM1264K-FL LCD display" 18 tristate "FB driver for the BD663474 LCD Controller" 24 tristate "FB driver for the HX8340BN LCD Controller" 30 tristate "FB driver for the HX8347D LCD Controller" 36 tristate "FB driver for the HX8353D LCD Controller" 42 tristate "FB driver for the HX8357D LCD Controller" 48 tristate "FB driver for the ILI9163 LCD Controller" 54 tristate "FB driver for the ILI9320 LCD Controller" 60 tristate "FB driver for the ILI9325 LCD Controller" [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | intel_fb.c | 424 * @cmd: FB add command structure 662 * @fb: Framebuffer 666 * Returns %true if @fb's color plane at index @color_plane is a CCS AUX plane. 668 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() argument 670 const struct intel_modifier_desc *md = lookup_modifier(fb->modifier); in intel_fb_is_ccs_aux_plane() 672 return ccs_aux_plane_mask(md, fb->format) & BIT(color_plane); in intel_fb_is_ccs_aux_plane() 677 * @fb: Framebuffer 681 * Returns %true if @fb's color plane at index @color_plane is a GEN12 CCS AUX plane. 683 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_gen12_ccs_aux_plane() argument 685 const struct intel_modifier_desc *md = lookup_modifier(fb->modifier); in intel_fb_is_gen12_ccs_aux_plane() [all …]
|
D | intel_fbdev.c | 30 #include <linux/fb.h> 58 struct intel_framebuffer *fb; member 79 return ifbdev->fb->frontbuffer; in to_frontbuffer() 131 struct drm_gem_object *obj = drm_gem_fb_get_obj(&fbdev->fb->base, 0); in intel_fbdev_mmap() 149 drm_framebuffer_remove(&ifbdev->fb->base); in intel_fbdev_fb_destroy() 157 __diag_ignore_all("-Woverride-init", "Allow field initialization overrides for fb ops"); 177 struct intel_framebuffer *fb = ifbdev->fb; in intelfb_create() local 197 ifbdev->fb = NULL; in intelfb_create() 199 if (fb && in intelfb_create() 200 (sizes->fb_width > fb->base.width || in intelfb_create() [all …]
|
D | intel_plane_initial.c | 20 struct drm_framebuffer **fb, in intel_reuse_initial_plane_obj() argument 41 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 169 * If the FB is too big, just don't use it since fbdev is not very in initial_plane_vma() 176 drm_dbg_kms(display->drm, "Initial FB size exceeds half of stolen, discarding\n"); in initial_plane_vma() 184 drm_dbg_kms(display->drm, "Failed to preallocate initial FB in %s\n", in initial_plane_vma() 203 plane_config->fb->base.pitches[0] | in initial_plane_vma() 263 "Initial plane fb bound to 0x%x in the ggtt (original 0x%x)\n", in initial_plane_vma() 281 struct drm_framebuffer *fb = &plane_config->fb->base; in intel_alloc_initial_plane_obj() local 284 switch (fb->modifier) { in intel_alloc_initial_plane_obj() 292 "Unsupported modifier for initial FB: 0x%llx\n", in intel_alloc_initial_plane_obj() [all …]
|
/linux-6.14.4/fs/fuse/ |
D | passthrough.c | 147 struct fuse_backing *fuse_backing_get(struct fuse_backing *fb) in fuse_backing_get() argument 149 if (fb && refcount_inc_not_zero(&fb->count)) in fuse_backing_get() 150 return fb; in fuse_backing_get() 154 static void fuse_backing_free(struct fuse_backing *fb) in fuse_backing_free() argument 156 pr_debug("%s: fb=0x%p\n", __func__, fb); in fuse_backing_free() 158 if (fb->file) in fuse_backing_free() 159 fput(fb->file); in fuse_backing_free() 160 put_cred(fb->cred); in fuse_backing_free() 161 kfree_rcu(fb, rcu); in fuse_backing_free() 164 void fuse_backing_put(struct fuse_backing *fb) in fuse_backing_put() argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 16 static void komeda_fb_destroy(struct drm_framebuffer *fb) in komeda_fb_destroy() argument 18 struct komeda_fb *kfb = to_kfb(fb); in komeda_fb_destroy() 21 for (i = 0; i < fb->format->num_planes; i++) in komeda_fb_destroy() 22 drm_gem_object_put(fb->obj[i]); in komeda_fb_destroy() 24 drm_framebuffer_cleanup(fb); in komeda_fb_destroy() 28 static int komeda_fb_create_handle(struct drm_framebuffer *fb, in komeda_fb_create_handle() argument 31 return drm_gem_handle_create(file, fb->obj[0], handle); in komeda_fb_create_handle() 43 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_afbc_size_check() local 44 const struct drm_format_info *info = fb->format; in komeda_fb_afbc_size_check() 55 switch (fb->modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) { in komeda_fb_afbc_size_check() [all …]
|
/linux-6.14.4/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 45 /* per-plane info for the fb: */ 61 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty() argument 69 drm_modeset_lock_all(fb->dev); in omap_framebuffer_dirty() 71 drm_for_each_crtc(crtc, fb->dev) in omap_framebuffer_dirty() 74 drm_modeset_unlock_all(fb->dev); in omap_framebuffer_dirty() 85 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr() argument 88 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in get_linear_addr() 92 offset = fb->offsets[n] in get_linear_addr() 94 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 99 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation() argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/xe/display/ |
D | xe_plane_initial.c | 28 struct drm_framebuffer **fb) in intel_reuse_initial_plane_obj() argument 48 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 114 * If the FB is too big, just don't use it since fbdev is not very in initial_plane_bo() 145 struct drm_framebuffer *fb = &plane_config->fb->base; in intel_alloc_initial_plane_obj() local 148 switch (fb->modifier) { in intel_alloc_initial_plane_obj() 156 "Unsupported modifier for initial FB: 0x%llx\n", in intel_alloc_initial_plane_obj() 157 fb->modifier); in intel_alloc_initial_plane_obj() 161 mode_cmd.pixel_format = fb->format->format; in intel_alloc_initial_plane_obj() 162 mode_cmd.width = fb->width; in intel_alloc_initial_plane_obj() 163 mode_cmd.height = fb->height; in intel_alloc_initial_plane_obj() [all …]
|
/linux-6.14.4/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 53 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124() argument 79 drm_fb_xrgb8888_to_gray8(&dst_map, NULL, &vmap, fb, rect, fmtcnv_state); in gud_xrgb8888_to_r124() 103 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color() argument 120 sbuf32 = src + (y * fb->pitches[0]); in gud_xrgb8888_to_color() 153 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush() argument 181 if (format != fb->format) { in gud_prep_flush() 183 len = gud_xrgb8888_to_r124(buf, format, vaddr, fb, rect, fmtcnv_state); in gud_prep_flush() 187 drm_fb_xrgb8888_to_gray8(&dst, NULL, src, fb, rect, fmtcnv_state); in gud_prep_flush() 189 drm_fb_xrgb8888_to_rgb332(&dst, NULL, src, fb, rect, fmtcnv_state); in gud_prep_flush() 191 drm_fb_xrgb8888_to_rgb565(&dst, NULL, src, fb, rect, fmtcnv_state, in gud_prep_flush() [all …]
|
/linux-6.14.4/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_vp9_if.c | 45 * @fb : frame buffer 49 struct vdec_fb *fb; member 78 * @fb : super frame reference frame buffer 83 struct vdec_fb fb; member 101 * @fb : capture buffer (AP-W, VPU-R) 144 struct vdec_fb fb; member 177 * @dec_fb : vdec_fb node to link fb to different fb_xxx_list 207 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() argument 213 if (fb == &vsi->sf_ref_fb[i].fb) in vp9_is_sf_ref_fb() 222 struct vdec_fb *fb = NULL; in vp9_rm_from_fb_use_list() local [all …]
|
/linux-6.14.4/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 54 static inline bool dcss_plane_fb_is_linear(const struct drm_framebuffer *fb) in dcss_plane_fb_is_linear() argument 56 return ((fb->flags & DRM_MODE_FB_MODIFIERS) == 0) || in dcss_plane_fb_is_linear() 57 ((fb->flags & DRM_MODE_FB_MODIFIERS) != 0 && in dcss_plane_fb_is_linear() 58 fb->modifier == DRM_FORMAT_MOD_LINEAR); in dcss_plane_fb_is_linear() 148 struct drm_framebuffer *fb = new_plane_state->fb; in dcss_plane_atomic_check() local 156 if (!fb || !new_plane_state->crtc) in dcss_plane_atomic_check() 159 dma_obj = drm_fb_dma_get_gem_obj(fb, 0); in dcss_plane_atomic_check() 170 fb->format->format)) { in dcss_plane_atomic_check() 187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check() 188 !!(fb->flags & DRM_MODE_FB_MODIFIERS), in dcss_plane_atomic_check() [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 95 struct drm_framebuffer *fb, in _dpu_format_populate_plane_sizes_ubwc() argument 103 layout->width = fb->width; in _dpu_format_populate_plane_sizes_ubwc() 104 layout->height = fb->height; in _dpu_format_populate_plane_sizes_ubwc() 120 layout->plane_pitch[0] = VENUS_Y_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc() 121 y_sclines = VENUS_Y_SCANLINES(color, fb->height); in _dpu_format_populate_plane_sizes_ubwc() 125 layout->plane_pitch[1] = VENUS_UV_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc() 126 uv_sclines = VENUS_UV_SCANLINES(color, fb->height); in _dpu_format_populate_plane_sizes_ubwc() 134 layout->plane_pitch[2] = VENUS_Y_META_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc() 135 y_meta_scanlines = VENUS_Y_META_SCANLINES(color, fb->height); in _dpu_format_populate_plane_sizes_ubwc() 139 layout->plane_pitch[3] = VENUS_UV_META_STRIDE(color, fb->width); in _dpu_format_populate_plane_sizes_ubwc() [all …]
|
/linux-6.14.4/drivers/gpu/drm/imx/ipuv3/ |
D | ipuv3-plane.c | 127 struct drm_framebuffer *fb = state->fb; in drm_plane_state_to_eba() local 132 dma_obj = drm_fb_dma_get_gem_obj(fb, plane); in drm_plane_state_to_eba() 135 return dma_obj->dma_addr + fb->offsets[plane] + fb->pitches[plane] * y + in drm_plane_state_to_eba() 136 fb->format->cpp[plane] * x; in drm_plane_state_to_eba() 142 struct drm_framebuffer *fb = state->fb; in drm_plane_state_to_ubo() local 148 dma_obj = drm_fb_dma_get_gem_obj(fb, 1); in drm_plane_state_to_ubo() 151 x /= fb->format->hsub; in drm_plane_state_to_ubo() 152 y /= fb->format->vsub; in drm_plane_state_to_ubo() 154 return dma_obj->dma_addr + fb->offsets[1] + fb->pitches[1] * y + in drm_plane_state_to_ubo() 155 fb->format->cpp[1] * x - eba; in drm_plane_state_to_ubo() [all …]
|