/linux-6.6.21/drivers/video/fbdev/ |
D | amba-clcd.c | 33 #define to_clcd(info) container_of(info, struct clcd_fb, fb) 38 static inline void clcdfb_set_start(struct clcd_fb *fb) in clcdfb_set_start() argument 40 unsigned long ustart = fb->fb.fix.smem_start; in clcdfb_set_start() 43 ustart += fb->fb.var.yoffset * fb->fb.fix.line_length; in clcdfb_set_start() 44 lstart = ustart + fb->fb.var.yres * fb->fb.fix.line_length / 2; in clcdfb_set_start() 46 writel(ustart, fb->regs + CLCD_UBAS); in clcdfb_set_start() 47 writel(lstart, fb->regs + CLCD_LBAS); in clcdfb_set_start() 50 static void clcdfb_disable(struct clcd_fb *fb) in clcdfb_disable() argument 54 if (fb->board->disable) in clcdfb_disable() 55 fb->board->disable(fb); in clcdfb_disable() [all …]
|
D | goldfishfb.c | 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() 79 convert_bitfield(blue, &fb->fb.var.blue) | in goldfish_fb_setcolreg() [all …]
|
D | stifb.c | 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)); \ 176 gsc_writel((value),(fb)->info.fix.mmio_start + (reg)); } while (0) [all …]
|
D | sm712fb.c | 46 struct fb_info *fb; member 989 switch (sfb->fb->fix.visual) { in smtc_setcolreg() 997 if (sfb->fb->var.bits_per_pixel == 16) { in smtc_setcolreg() 998 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() 1000 val = chan_to_field(red, &sfb->fb->var.red); in smtc_setcolreg() 1001 val |= chan_to_field(green, &sfb->fb->var.green); in smtc_setcolreg() 1002 val |= chan_to_field(blue, &sfb->fb->var.blue); in smtc_setcolreg() 1005 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() 1007 val = chan_to_field(red, &sfb->fb->var.red); in smtc_setcolreg() 1008 val |= chan_to_field(green, &sfb->fb->var.green); in smtc_setcolreg() [all …]
|
D | wm8505fb.c | 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() 279 strcpy(fbi->fb.fix.id, DRIVER_NAME); in wm8505fb_probe() 281 fbi->fb.fix.type = FB_TYPE_PACKED_PIXELS; in wm8505fb_probe() [all …]
|
/linux-6.6.21/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 …]
|
D | nv50.c | 34 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_ram_new() local 35 return fb->func->ram_new(&fb->base, pram); in nv50_fb_ram_new() 137 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_intr() local 138 struct nvkm_subdev *subdev = &fb->base.subdev; in nv50_fb_intr() 197 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_init() local 198 struct nvkm_device *device = fb->base.subdev.device; in nv50_fb_init() 202 nvkm_wr32(device, 0x100c90, fb->func->trap); in nv50_fb_init() 208 struct nv50_fb *fb = nv50_fb(base); in nv50_fb_tags() local 209 if (fb->func->tags) in nv50_fb_tags() 210 return fb->func->tags(&fb->base); in nv50_fb_tags() [all …]
|
/linux-6.6.21/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.6.21/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() 90 drm_dbg_kms(fb->dev, "Invalid source coordinates " in drm_framebuffer_check_src_coords() 96 fb->width, fb->height); in drm_framebuffer_check_src_coords() 292 struct drm_framebuffer *fb; in drm_internal_framebuffer_create() local 321 fb = dev->mode_config.funcs->fb_create(dev, file_priv, r); in drm_internal_framebuffer_create() 322 if (IS_ERR(fb)) { in drm_internal_framebuffer_create() 324 return fb; in drm_internal_framebuffer_create() 327 return fb; in drm_internal_framebuffer_create() [all …]
|
D | drm_gem_framebuffer_helper.c | 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() 97 void drm_gem_fb_destroy(struct drm_framebuffer *fb) in drm_gem_fb_destroy() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_fb.c | 507 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() argument 509 const struct intel_modifier_desc *md = lookup_modifier(fb->modifier); in intel_fb_is_ccs_aux_plane() 511 return ccs_aux_plane_mask(md, fb->format) & BIT(color_plane); in intel_fb_is_ccs_aux_plane() 522 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 524 const struct intel_modifier_desc *md = lookup_modifier(fb->modifier); in intel_fb_is_gen12_ccs_aux_plane() 527 ccs_aux_plane_mask(md, fb->format) & BIT(color_plane); in intel_fb_is_gen12_ccs_aux_plane() 538 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb) in intel_fb_rc_ccs_cc_plane() argument 540 const struct intel_modifier_desc *md = lookup_modifier(fb->modifier); in intel_fb_rc_ccs_cc_plane() 545 drm_WARN_ON_ONCE(fb->dev, hweight8(md->ccs.cc_planes) > 1); in intel_fb_rc_ccs_cc_plane() 550 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane() argument [all …]
|
D | intel_plane_initial.c | 17 struct drm_framebuffer **fb, in intel_reuse_initial_plane_obj() argument 37 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 133 plane_config->fb->base.pitches[0] | in initial_plane_vma() 169 struct drm_framebuffer *fb = &plane_config->fb->base; in intel_alloc_initial_plane_obj() local 172 switch (fb->modifier) { in intel_alloc_initial_plane_obj() 181 fb->modifier); in intel_alloc_initial_plane_obj() 189 mode_cmd.pixel_format = fb->format->format; in intel_alloc_initial_plane_obj() 190 mode_cmd.width = fb->width; in intel_alloc_initial_plane_obj() 191 mode_cmd.height = fb->height; in intel_alloc_initial_plane_obj() 192 mode_cmd.pitches[0] = fb->pitches[0]; in intel_alloc_initial_plane_obj() [all …]
|
D | intel_fb.h | 37 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane); 38 int intel_fb_rc_ccs_cc_plane(const struct drm_framebuffer *fb); 51 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane); 53 int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane); 54 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane); 55 int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane); 58 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane); 59 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane); 60 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane); 61 unsigned int intel_fb_align_height(const struct drm_framebuffer *fb, [all …]
|
/linux-6.6.21/drivers/staging/fieldbus/ |
D | dev_core.c | 29 struct fieldbus_dev *fb = dev_get_drvdata(dev); in online_show() local 31 return sysfs_emit(buf, "%d\n", !!fb->online); in online_show() 38 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_show() local 40 if (!fb->enable_get) in enabled_show() 42 return sysfs_emit(buf, "%d\n", !!fb->enable_get(fb)); in enabled_show() 48 struct fieldbus_dev *fb = dev_get_drvdata(dev); in enabled_store() local 52 if (!fb->simple_enable_set) in enabled_store() 57 ret = fb->simple_enable_set(fb, value); in enabled_store() 67 struct fieldbus_dev *fb = dev_get_drvdata(dev); in card_name_show() local 70 return sysfs_emit(buf, "%s\n", fb->card_name); in card_name_show() [all …]
|
/linux-6.6.21/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.6.21/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() 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() 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() 71 msm_gem_describe(fb->obj[i], m, &stats); in msm_framebuffer_describe() 78 int msm_framebuffer_prepare(struct drm_framebuffer *fb, in msm_framebuffer_prepare() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 60 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty() argument 68 drm_modeset_lock_all(fb->dev); in omap_framebuffer_dirty() 70 drm_for_each_crtc(crtc, fb->dev) in omap_framebuffer_dirty() 73 drm_modeset_unlock_all(fb->dev); in omap_framebuffer_dirty() 84 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr() argument 87 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in get_linear_addr() 91 offset = fb->offsets[n] in get_linear_addr() 93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 98 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation() argument 100 return omap_gem_flags(fb->obj[0]) & OMAP_BO_TILED_MASK; in omap_framebuffer_supports_rotation() [all …]
|
/linux-6.6.21/include/drm/ |
D | drm_framebuffer.h | 73 int (*create_handle)(struct drm_framebuffer *fb, 219 struct drm_framebuffer *fb, 224 void drm_framebuffer_remove(struct drm_framebuffer *fb); 225 void drm_framebuffer_cleanup(struct drm_framebuffer *fb); 226 void drm_framebuffer_unregister_private(struct drm_framebuffer *fb); 234 static inline void drm_framebuffer_get(struct drm_framebuffer *fb) in drm_framebuffer_get() argument 236 drm_mode_object_get(&fb->base); in drm_framebuffer_get() 246 static inline void drm_framebuffer_put(struct drm_framebuffer *fb) in drm_framebuffer_put() argument 248 drm_mode_object_put(&fb->base); in drm_framebuffer_put() 257 static inline uint32_t drm_framebuffer_read_refcount(const struct drm_framebuffer *fb) in drm_framebuffer_read_refcount() argument [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 53 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_r124() argument 78 drm_fb_xrgb8888_to_gray8(&dst_map, NULL, &vmap, fb, rect); in gud_xrgb8888_to_r124() 102 void *src, struct drm_framebuffer *fb, in gud_xrgb8888_to_color() argument 119 sbuf32 = src + (y * fb->pitches[0]); in gud_xrgb8888_to_color() 152 static int gud_prep_flush(struct gud_device *gdrm, struct drm_framebuffer *fb, in gud_prep_flush() argument 179 if (format != fb->format) { in gud_prep_flush() 181 len = gud_xrgb8888_to_r124(buf, format, vaddr, fb, rect); in gud_prep_flush() 185 drm_fb_xrgb8888_to_gray8(&dst, NULL, src, fb, rect); in gud_prep_flush() 187 drm_fb_xrgb8888_to_rgb332(&dst, NULL, src, fb, rect); in gud_prep_flush() 189 drm_fb_xrgb8888_to_rgb565(&dst, NULL, src, fb, rect, in gud_prep_flush() [all …]
|
/linux-6.6.21/drivers/gpu/drm/vkms/ |
D | vkms_writeback.c | 37 struct drm_framebuffer *fb; in vkms_wb_encoder_atomic_check() local 41 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in vkms_wb_encoder_atomic_check() 44 fb = conn_state->writeback_job->fb; in vkms_wb_encoder_atomic_check() 45 if (fb->width != mode->hdisplay || fb->height != mode->vdisplay) { in vkms_wb_encoder_atomic_check() 47 fb->width, fb->height); in vkms_wb_encoder_atomic_check() 76 if (!job->fb) in vkms_wb_prepare_job() 83 ret = drm_gem_fb_vmap(job->fb, vkmsjob->wb_frame_info.map, vkmsjob->data); in vkms_wb_prepare_job() 89 vkmsjob->wb_frame_info.fb = job->fb; in vkms_wb_prepare_job() 90 drm_framebuffer_get(vkmsjob->wb_frame_info.fb); in vkms_wb_prepare_job() 107 if (!job->fb) in vkms_wb_cleanup_job() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_vp9_if.c | 48 struct vdec_fb *fb; member 82 struct vdec_fb fb; member 143 struct vdec_fb fb; member 206 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() argument 212 if (fb == &vsi->sf_ref_fb[i].fb) in vp9_is_sf_ref_fb() 221 struct vdec_fb *fb = NULL; in vp9_rm_from_fb_use_list() local 225 fb = (struct vdec_fb *)node->fb; in vp9_rm_from_fb_use_list() 226 if (fb->base_y.va == addr) { in vp9_rm_from_fb_use_list() 229 return fb; in vp9_rm_from_fb_use_list() 237 struct vdec_fb *fb) in vp9_add_to_fb_free_list() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv10.c | 40 struct io_mapping *fb; in nv10_devinit_meminit() local 49 fb = fbmem_init(device); in nv10_devinit_meminit() 50 if (!fb) { in nv10_devinit_meminit() 63 fbmem_poke(fb, 0x1c, 0); in nv10_devinit_meminit() 65 fbmem_poke(fb, 0x1c, patt); in nv10_devinit_meminit() 66 fbmem_poke(fb, 0x3c, 0); in nv10_devinit_meminit() 68 if (fbmem_peek(fb, 0x1c) == patt) in nv10_devinit_meminit() 80 fbmem_poke(fb, off, patt); in nv10_devinit_meminit() 81 fbmem_poke(fb, 0, 0); in nv10_devinit_meminit() 83 fbmem_peek(fb, 0); in nv10_devinit_meminit() [all …]
|