| /kernel/linux/linux-5.10/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 | amba-clcd.c | 19 #include <linux/fb.h> 33 #define to_clcd(info) container_of(info, struct clcd_fb, fb) 36 static const char *clcd_name = "CLCD FB"; 51 static inline void clcdfb_set_start(struct clcd_fb *fb) in clcdfb_set_start() argument 53 unsigned long ustart = fb->fb.fix.smem_start; in clcdfb_set_start() 56 ustart += fb->fb.var.yoffset * fb->fb.fix.line_length; in clcdfb_set_start() 57 lstart = ustart + fb->fb.var.yres * fb->fb.fix.line_length / 2; in clcdfb_set_start() 59 writel(ustart, fb->regs + CLCD_UBAS); in clcdfb_set_start() 60 writel(lstart, fb->regs + CLCD_LBAS); in clcdfb_set_start() 63 static void clcdfb_disable(struct clcd_fb *fb) in clcdfb_disable() argument [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 …]
|
| /kernel/linux/linux-6.6/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 | amba-clcd.c | 19 #include <linux/fb.h> 33 #define to_clcd(info) container_of(info, struct clcd_fb, fb) 36 static const char *clcd_name = "CLCD 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 [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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| 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 | 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() 91 struct nvkm_fb *fb = nvkm_fb(subdev); in nvkm_fb_intr() local 92 if (fb->func->intr) in nvkm_fb_intr() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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() 104 * drm_mode_addfb - add an FB to the graphics configuration 109 * Add a new FB to the specified CRTC, given a user request. This is the 226 drm_dbg_kms(dev, "bad fb modifier %llu for plane %d\n", in framebuffer_check() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/fieldbus/ |
| D | dev_core.c | 29 struct fieldbus_dev *fb = dev_get_drvdata(dev); in online_show() local 31 return sprintf(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 sprintf(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 73 return snprintf(buf, PAGE_SIZE, "%s\n", fb->card_name); in card_name_show() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_fb.c | 302 * @cmd: FB add command structure 501 * @fb: Framebuffer 505 * Returns %true if @fb's color plane at index @color_plane is a CCS AUX plane. 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() 516 * @fb: Framebuffer 520 * Returns %true if @fb's color plane at index @color_plane is a GEN12 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
| D | msm_fb.c | 34 void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m) in msm_framebuffer_describe() argument 36 int i, n = fb->format->num_planes; in msm_framebuffer_describe() 38 seq_printf(m, "fb: %dx%d@%4.4s (%2d, ID:%d)\n", in msm_framebuffer_describe() 39 fb->width, fb->height, (char *)&fb->format->format, in msm_framebuffer_describe() 40 drm_framebuffer_read_refcount(fb), fb->base.id); in msm_framebuffer_describe() 44 i, fb->offsets[i], fb->pitches[i]); in msm_framebuffer_describe() 45 msm_gem_describe(fb->obj[i], m); in msm_framebuffer_describe() 50 /* prepare/pin all the fb's bo's for scanout. Note that it is not valid 51 * to prepare an fb more multiple different initiator 'id's. But that 53 * this, the gpu doesn't care about fb's. [all …]
|
| /kernel/linux/linux-5.10/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() 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() 104 * drm_mode_addfb - add an FB to the graphics configuration 109 * Add a new FB to the specified CRTC, given a user request. This is the 229 DRM_DEBUG_KMS("bad fb modifier %llu for plane %d\n", in framebuffer_check() 236 DRM_DEBUG_KMS("bad fb modifier %llu for plane %d\n", in framebuffer_check() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/fbtft/ |
| D | Kconfig | 4 depends on FB && SPI 14 tristate "FB driver for the AGM1264K-FL LCD display" 20 tristate "FB driver for the BD663474 LCD Controller" 26 tristate "FB driver for the HX8340BN LCD Controller" 32 tristate "FB driver for the HX8347D LCD Controller" 38 tristate "FB driver for the HX8353D LCD Controller" 44 tristate "FB driver for the HX8357D LCD Controller" 50 tristate "FB driver for the ILI9163 LCD Controller" 56 tristate "FB driver for the ILI9320 LCD Controller" 62 tristate "FB driver for the ILI9325 LCD Controller" [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/staging/fbtft/ |
| D | Kconfig | 4 depends on FB && SPI 15 tristate "FB driver for the AGM1264K-FL LCD display" 21 tristate "FB driver for the BD663474 LCD Controller" 27 tristate "FB driver for the HX8340BN LCD Controller" 33 tristate "FB driver for the HX8347D LCD Controller" 39 tristate "FB driver for the HX8353D LCD Controller" 45 tristate "FB driver for the HX8357D LCD Controller" 51 tristate "FB driver for the ILI9163 LCD Controller" 57 tristate "FB driver for the ILI9320 LCD Controller" 63 tristate "FB driver for the ILI9325 LCD Controller" [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
| D | omap_fb.c | 42 /* per-plane info for the fb: */ 58 static int omap_framebuffer_dirty(struct drm_framebuffer *fb, in omap_framebuffer_dirty() argument 66 drm_modeset_lock_all(fb->dev); in omap_framebuffer_dirty() 68 drm_for_each_crtc(crtc, fb->dev) in omap_framebuffer_dirty() 71 drm_modeset_unlock_all(fb->dev); in omap_framebuffer_dirty() 82 static u32 get_linear_addr(struct drm_framebuffer *fb, in get_linear_addr() argument 85 struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb); in get_linear_addr() 89 offset = fb->offsets[n] in get_linear_addr() 91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 96 bool omap_framebuffer_supports_rotation(struct drm_framebuffer *fb) in omap_framebuffer_supports_rotation() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/ |
| D | omap_fb.c | 44 /* per-plane info for the fb: */ 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 [all …]
|