Home
last modified time | relevance | path

Searched refs:drm (Results 1 – 25 of 651) sorted by relevance

12345678910>>...27

/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c70 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_vram_manager_new() local
73 if (drm->client.device.info.ram_size == 0) in nouveau_vram_manager_new()
76 ret = nouveau_mem_new(&drm->master, nvbo->kind, nvbo->comp, res); in nouveau_vram_manager_new()
105 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nouveau_gart_manager_new() local
108 ret = nouveau_mem_new(&drm->master, nvbo->kind, nvbo->comp, res); in nouveau_gart_manager_new()
131 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); in nv04_gart_manager_new() local
135 ret = nouveau_mem_new(&drm->master, nvbo->kind, nvbo->comp, res); in nv04_gart_manager_new()
160 nouveau_ttm_init_host(struct nouveau_drm *drm, u8 kind) in nouveau_ttm_init_host() argument
162 struct nvif_mmu *mmu = &drm->client.mmu; in nouveau_ttm_init_host()
170 drm->ttm.type_host[!!kind] = typei; in nouveau_ttm_init_host()
[all …]
Dnouveau_drm.c208 mutex_lock(&cli->drm->master.lock); in nouveau_cli_fini()
210 mutex_unlock(&cli->drm->master.lock); in nouveau_cli_fini()
214 nouveau_cli_init(struct nouveau_drm *drm, const char *sname, in nouveau_cli_init() argument
240 u64 device = nouveau_name(drm->dev); in nouveau_cli_init()
244 cli->drm = drm; in nouveau_cli_init()
252 if (cli == &drm->master) { in nouveau_cli_init()
256 mutex_lock(&drm->master.lock); in nouveau_cli_init()
257 ret = nvif_client_ctor(&drm->master.base, cli->name, device, in nouveau_cli_init()
259 mutex_unlock(&drm->master.lock); in nouveau_cli_init()
310 ret = nouveau_sched_entity_init(&cli->sched_entity, &drm->sched, in nouveau_cli_init()
[all …]
Dnouveau_dmem.c60 typedef int (*nouveau_migrate_copy_t)(struct nouveau_drm *drm, u64 npages,
63 typedef int (*nouveau_clear_page_t)(struct nouveau_drm *drm, u32 length,
69 struct nouveau_drm *drm; member
81 struct nouveau_drm *drm; member
98 return chunk->drm; in page_to_drm()
113 struct nouveau_dmem *dmem = chunk->drm->dmem; in nouveau_dmem_page_free()
141 static int nouveau_dmem_copy_one(struct nouveau_drm *drm, struct page *spage, in nouveau_dmem_copy_one() argument
144 struct device *dev = drm->dev->dev; in nouveau_dmem_copy_one()
152 if (drm->dmem->migrate.copy_func(drm, 1, NOUVEAU_APER_HOST, *dma_addr, in nouveau_dmem_copy_one()
163 struct nouveau_drm *drm = page_to_drm(vmf->page); in nouveau_dmem_migrate_to_ram() local
[all …]
Dnouveau_led.c40 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_get_brightness() local
41 struct nvif_object *device = &drm->client.device.object; in nouveau_led_get_brightness()
57 struct nouveau_drm *drm = nouveau_drm(drm_dev); in nouveau_led_set_brightness() local
58 struct nvif_object *device = &drm->client.device.object; in nouveau_led_set_brightness()
80 struct nouveau_drm *drm = nouveau_drm(dev); in nouveau_led_init() local
81 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nouveau_led_init()
92 drm->led = kzalloc(sizeof(*drm->led), GFP_KERNEL); in nouveau_led_init()
93 if (!drm->led) in nouveau_led_init()
95 drm->led->dev = dev; in nouveau_led_init()
97 drm->led->led.name = "nvidia-logo"; in nouveau_led_init()
[all …]
Dnouveau_debugfs.c41 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_vbios_image() local
44 for (i = 0; i < drm->vbios.length; i++) in nouveau_debugfs_vbios_image()
45 seq_printf(m, "%c", drm->vbios.data[i]); in nouveau_debugfs_vbios_image()
53 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_strap_peek() local
56 ret = pm_runtime_get_sync(drm->dev->dev); in nouveau_debugfs_strap_peek()
58 pm_runtime_put_autosuspend(drm->dev->dev); in nouveau_debugfs_strap_peek()
63 nvif_rd32(&drm->client.device.object, 0x101000)); in nouveau_debugfs_strap_peek()
65 pm_runtime_mark_last_busy(drm->dev->dev); in nouveau_debugfs_strap_peek()
66 pm_runtime_put_autosuspend(drm->dev->dev); in nouveau_debugfs_strap_peek()
74 struct drm_device *drm = m->private; in nouveau_debugfs_pstate_get() local
[all …]
Dnouveau_bo.c59 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_update_tile_region() local
60 int i = reg - drm->tile.reg; in nv10_bo_update_tile_region()
61 struct nvkm_fb *fb = nvxx_fb(&drm->client.device); in nv10_bo_update_tile_region()
78 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_get_tile_region() local
79 struct nouveau_drm_tile *tile = &drm->tile.reg[i]; in nv10_bo_get_tile_region()
81 spin_lock(&drm->tile.lock); in nv10_bo_get_tile_region()
89 spin_unlock(&drm->tile.lock); in nv10_bo_get_tile_region()
97 struct nouveau_drm *drm = nouveau_drm(dev); in nv10_bo_put_tile_region() local
100 spin_lock(&drm->tile.lock); in nv10_bo_put_tile_region()
103 spin_unlock(&drm->tile.lock); in nv10_bo_put_tile_region()
[all …]
Dnouveau_display.c131 nouveau_decode_mod(struct nouveau_drm *drm, in nouveau_decode_mod() argument
136 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_decode_mod()
157 if (drm->client.device.info.chipset >= 0xc0) in nouveau_decode_mod()
168 struct nouveau_drm *drm = nouveau_drm(fb->dev); in nouveau_framebuffer_get_layout() local
170 nouveau_decode_mod(drm, fb->modifier, tile_mode, kind); in nouveau_framebuffer_get_layout()
190 nouveau_validate_decode_mod(struct nouveau_drm *drm, in nouveau_validate_decode_mod() argument
195 struct nouveau_display *disp = nouveau_display(drm->dev); in nouveau_validate_decode_mod()
198 if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA) { in nouveau_validate_decode_mod()
218 nouveau_decode_mod(drm, modifier, tile_mode, kind); in nouveau_validate_decode_mod()
235 nouveau_get_height_in_blocks(struct nouveau_drm *drm, in nouveau_get_height_in_blocks() argument
[all …]
/drivers/gpu/drm/mxsfb/
Dlcdif_drv.c49 struct device *dev = lcdif->drm->dev; in lcdif_attach_bridge()
90 ret = drm_encoder_init(lcdif->drm, encoder, &lcdif_encoder_funcs, in lcdif_attach_bridge()
113 struct drm_device *drm = data; in lcdif_irq_handler() local
114 struct lcdif_drm_private *lcdif = drm->dev_private; in lcdif_irq_handler()
132 static int lcdif_load(struct drm_device *drm) in lcdif_load() argument
134 struct platform_device *pdev = to_platform_device(drm->dev); in lcdif_load()
143 lcdif->drm = drm; in lcdif_load()
144 drm->dev_private = lcdif; in lcdif_load()
147 lcdif->base = devm_ioremap_resource(drm->dev, res); in lcdif_load()
151 lcdif->clk = devm_clk_get(drm->dev, "pix"); in lcdif_load()
[all …]
Dmxsfb_drv.c119 struct drm_device *drm = mxsfb->drm; in mxsfb_attach_bridge() local
125 ret = drm_of_find_panel_or_bridge(drm->dev->of_node, 0, 0, &panel, in mxsfb_attach_bridge()
131 bridge = devm_drm_panel_bridge_add_typed(drm->dev, panel, in mxsfb_attach_bridge()
142 return dev_err_probe(drm->dev, ret, "Failed to attach bridge\n"); in mxsfb_attach_bridge()
150 drm_connector_list_iter_begin(drm, &iter); in mxsfb_attach_bridge()
159 struct drm_device *drm = data; in mxsfb_irq_handler() local
160 struct mxsfb_drm_private *mxsfb = drm->dev_private; in mxsfb_irq_handler()
180 static void mxsfb_irq_disable(struct drm_device *drm) in mxsfb_irq_disable() argument
182 struct mxsfb_drm_private *mxsfb = drm->dev_private; in mxsfb_irq_disable()
211 static int mxsfb_load(struct drm_device *drm, in mxsfb_load() argument
[all …]
/drivers/gpu/drm/kmb/
Dkmb_drv.c35 drm_err(&kmb->drm, "Failed to enable LCD clock: %d\n", ret); in kmb_display_clk_enable()
49 drm_err(&kmb->drm, "clk_get() failed clk_lcd\n"); in kmb_initialize_clocks()
55 drm_err(&kmb->drm, "clk_get() failed clk_pll0 "); in kmb_initialize_clocks()
59 drm_info(&kmb->drm, "system clk = %d Mhz", kmb->sys_clk_mhz); in kmb_initialize_clocks()
66 drm_err(&kmb->drm, "failed to set to clk_lcd to %d\n", in kmb_initialize_clocks()
70 drm_dbg(&kmb->drm, "clk_lcd = %ld\n", clk_get_rate(kmb->kmb_clk.clk_lcd)); in kmb_initialize_clocks()
78 drm_err(&kmb->drm, "failed to get msscam syscon"); in kmb_initialize_clocks()
93 static void __iomem *kmb_map_mmio(struct drm_device *drm, in kmb_map_mmio() argument
102 drm_err(drm, "failed to get resource for %s", name); in kmb_map_mmio()
105 mem = devm_ioremap_resource(drm->dev, res); in kmb_map_mmio()
[all …]
/drivers/gpu/drm/sprd/
Dsprd_drm.c40 static void sprd_drm_mode_config_init(struct drm_device *drm) in sprd_drm_mode_config_init() argument
42 drm->mode_config.min_width = 0; in sprd_drm_mode_config_init()
43 drm->mode_config.min_height = 0; in sprd_drm_mode_config_init()
44 drm->mode_config.max_width = 8192; in sprd_drm_mode_config_init()
45 drm->mode_config.max_height = 8192; in sprd_drm_mode_config_init()
47 drm->mode_config.funcs = &sprd_drm_mode_config_funcs; in sprd_drm_mode_config_init()
48 drm->mode_config.helper_private = &sprd_drm_mode_config_helper; in sprd_drm_mode_config_init()
70 struct drm_device *drm; in sprd_drm_bind() local
74 sprd = devm_drm_dev_alloc(dev, &sprd_drm_drv, struct sprd_drm, drm); in sprd_drm_bind()
78 drm = &sprd->drm; in sprd_drm_bind()
[all …]
/drivers/gpu/drm/i915/soc/
Dintel_pch.c16 drm_dbg_kms(&dev_priv->drm, "Found Ibex Peak PCH\n"); in intel_pch_type()
17 drm_WARN_ON(&dev_priv->drm, GRAPHICS_VER(dev_priv) != 5); in intel_pch_type()
20 drm_dbg_kms(&dev_priv->drm, "Found CougarPoint PCH\n"); in intel_pch_type()
21 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
25 drm_dbg_kms(&dev_priv->drm, "Found PantherPoint PCH\n"); in intel_pch_type()
26 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
31 drm_dbg_kms(&dev_priv->drm, "Found LynxPoint PCH\n"); in intel_pch_type()
32 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
34 drm_WARN_ON(&dev_priv->drm, in intel_pch_type()
38 drm_dbg_kms(&dev_priv->drm, "Found LynxPoint LP PCH\n"); in intel_pch_type()
[all …]
/drivers/gpu/drm/arm/
Dhdlcd_drv.c99 static int hdlcd_load(struct drm_device *drm, unsigned long flags) in hdlcd_load() argument
101 struct hdlcd_drm_private *hdlcd = drm_to_hdlcd_priv(drm); in hdlcd_load()
102 struct platform_device *pdev = to_platform_device(drm->dev); in hdlcd_load()
106 hdlcd->clk = devm_clk_get(drm->dev, "pxlclk"); in hdlcd_load()
135 ret = of_reserved_mem_device_init(drm->dev); in hdlcd_load()
139 ret = dma_set_mask_and_coherent(drm->dev, DMA_BIT_MASK(32)); in hdlcd_load()
143 ret = hdlcd_setup_crtc(drm); in hdlcd_load()
165 of_reserved_mem_device_release(drm->dev); in hdlcd_load()
176 static int hdlcd_setup_mode_config(struct drm_device *drm) in hdlcd_setup_mode_config() argument
180 ret = drmm_mode_config_init(drm); in hdlcd_setup_mode_config()
[all …]
Dmalidp_drv.c171 static int malidp_set_and_wait_config_valid(struct drm_device *drm) in malidp_set_and_wait_config_valid() argument
173 struct malidp_drm *malidp = drm_to_malidp(drm); in malidp_set_and_wait_config_valid()
193 struct drm_device *drm = state->dev; in malidp_atomic_commit_hw_done() local
194 struct malidp_drm *malidp = drm_to_malidp(drm); in malidp_atomic_commit_hw_done()
210 if (malidp_set_and_wait_config_valid(drm) < 0) { in malidp_atomic_commit_hw_done()
216 if (!malidp_set_and_wait_config_valid(drm)) in malidp_atomic_commit_hw_done()
224 spin_lock_irq(&drm->event_lock); in malidp_atomic_commit_hw_done()
227 spin_unlock_irq(&drm->event_lock); in malidp_atomic_commit_hw_done()
234 struct drm_device *drm = state->dev; in malidp_atomic_commit_tail() local
235 struct malidp_drm *malidp = drm_to_malidp(drm); in malidp_atomic_commit_tail()
[all …]
/drivers/gpu/drm/imx/ipuv3/
Dimx-drm-core.c119 int imx_drm_encoder_parse_of(struct drm_device *drm, in imx_drm_encoder_parse_of() argument
122 uint32_t crtc_mask = drm_of_find_possible_crtcs(drm, np); in imx_drm_encoder_parse_of()
147 struct drm_device *drm, in imx_drm_dumb_create() argument
155 ret = drm_gem_dma_dumb_create(file_priv, drm, args); in imx_drm_dumb_create()
199 struct drm_device *drm; in imx_drm_bind() local
202 drm = drm_dev_alloc(&imx_drm_driver, dev); in imx_drm_bind()
203 if (IS_ERR(drm)) in imx_drm_bind()
204 return PTR_ERR(drm); in imx_drm_bind()
211 drm->mode_config.min_width = 1; in imx_drm_bind()
212 drm->mode_config.min_height = 1; in imx_drm_bind()
[all …]
/drivers/gpu/drm/aspeed/
Daspeed_gfx_drv.c106 static int aspeed_gfx_setup_mode_config(struct drm_device *drm) in aspeed_gfx_setup_mode_config() argument
110 ret = drmm_mode_config_init(drm); in aspeed_gfx_setup_mode_config()
114 drm->mode_config.min_width = 0; in aspeed_gfx_setup_mode_config()
115 drm->mode_config.min_height = 0; in aspeed_gfx_setup_mode_config()
116 drm->mode_config.max_width = 800; in aspeed_gfx_setup_mode_config()
117 drm->mode_config.max_height = 600; in aspeed_gfx_setup_mode_config()
118 drm->mode_config.funcs = &aspeed_gfx_mode_config_funcs; in aspeed_gfx_setup_mode_config()
125 struct drm_device *drm = data; in aspeed_gfx_irq_handler() local
126 struct aspeed_gfx *priv = to_aspeed_gfx(drm); in aspeed_gfx_irq_handler()
140 static int aspeed_gfx_load(struct drm_device *drm) in aspeed_gfx_load() argument
[all …]
/drivers/gpu/drm/xlnx/
Dzynqmp_kms.c45 static inline struct zynqmp_dpsub *to_zynqmp_dpsub(struct drm_device *drm) in to_zynqmp_dpsub() argument
47 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub()
149 for (i = 0; i < ARRAY_SIZE(dpsub->drm->planes); i++) { in zynqmp_dpsub_create_planes()
151 struct drm_plane *plane = &dpsub->drm->planes[i]; in zynqmp_dpsub_create_planes()
163 ret = drm_universal_plane_init(&dpsub->drm->dev, plane, 0, in zynqmp_dpsub_create_planes()
315 struct drm_plane *plane = &dpsub->drm->planes[ZYNQMP_DPSUB_LAYER_GFX]; in zynqmp_dpsub_create_crtc()
316 struct drm_crtc *crtc = &dpsub->drm->crtc; in zynqmp_dpsub_create_crtc()
319 ret = drm_crtc_init_with_planes(&dpsub->drm->dev, crtc, plane, in zynqmp_dpsub_create_crtc()
334 u32 possible_crtcs = drm_crtc_mask(&dpsub->drm->crtc); in zynqmp_dpsub_map_crtc_to_plane()
337 for (i = 0; i < ARRAY_SIZE(dpsub->drm->planes); i++) in zynqmp_dpsub_map_crtc_to_plane()
[all …]
/drivers/gpu/drm/sun4i/
Dsun4i_drv.c34 struct drm_device *drm, in drm_sun4i_gem_dumb_create() argument
40 return drm_gem_dma_dumb_create_internal(file_priv, drm, args); in drm_sun4i_gem_dumb_create()
62 struct drm_device *drm; in sun4i_drv_bind() local
66 drm = drm_dev_alloc(&sun4i_drv_driver, dev); in sun4i_drv_bind()
67 if (IS_ERR(drm)) in sun4i_drv_bind()
68 return PTR_ERR(drm); in sun4i_drv_bind()
76 drm->dev_private = drv; in sun4i_drv_bind()
83 dev_err(drm->dev, "Couldn't claim our memory region\n"); in sun4i_drv_bind()
87 drm_mode_config_init(drm); in sun4i_drv_bind()
89 ret = component_bind_all(drm->dev, drm); in sun4i_drv_bind()
[all …]
/drivers/gpu/drm/exynos/
Dexynos_drm_drv.c240 struct drm_device *drm; in exynos_drm_bind() local
244 drm = drm_dev_alloc(&exynos_drm_driver, dev); in exynos_drm_bind()
245 if (IS_ERR(drm)) in exynos_drm_bind()
246 return PTR_ERR(drm); in exynos_drm_bind()
257 dev_set_drvdata(dev, drm); in exynos_drm_bind()
258 drm->dev_private = (void *)private; in exynos_drm_bind()
260 drm_mode_config_init(drm); in exynos_drm_bind()
262 exynos_drm_mode_config_init(drm); in exynos_drm_bind()
266 list_for_each_entry(encoder, &drm->mode_config.encoder_list, head) in exynos_drm_bind()
269 list_for_each_entry(encoder, &drm->mode_config.encoder_list, head) in exynos_drm_bind()
[all …]
/drivers/gpu/drm/mcde/
Dmcde_drv.c127 static int mcde_modeset_init(struct drm_device *drm) in mcde_modeset_init() argument
130 struct mcde *mcde = to_mcde(drm); in mcde_modeset_init()
145 ret = drm_of_find_panel_or_bridge(drm->dev->of_node, in mcde_modeset_init()
148 dev_err(drm->dev, in mcde_modeset_init()
156 dev_err(drm->dev, in mcde_modeset_init()
166 mode_config = &drm->mode_config; in mcde_modeset_init()
175 ret = drm_vblank_init(drm, 1); in mcde_modeset_init()
177 dev_err(drm->dev, "failed to init vblank\n"); in mcde_modeset_init()
181 ret = mcde_display_init(drm); in mcde_modeset_init()
183 dev_err(drm->dev, "failed to init display\n"); in mcde_modeset_init()
[all …]
/drivers/gpu/drm/armada/
Darmada_drv.c86 struct armada_private, drm); in armada_drm_bind()
101 dev_set_drvdata(dev, &priv->drm); in armada_drm_bind()
104 drm_mode_config_init(&priv->drm); in armada_drm_bind()
105 priv->drm.mode_config.min_width = 320; in armada_drm_bind()
106 priv->drm.mode_config.min_height = 200; in armada_drm_bind()
112 priv->drm.mode_config.max_width = 1920; in armada_drm_bind()
113 priv->drm.mode_config.max_height = 2048; in armada_drm_bind()
115 priv->drm.mode_config.preferred_depth = 24; in armada_drm_bind()
116 priv->drm.mode_config.funcs = &armada_drm_mode_config_funcs; in armada_drm_bind()
120 ret = component_bind_all(dev, &priv->drm); in armada_drm_bind()
[all …]
/drivers/gpu/drm/tegra/
Ddrm.c45 static int tegra_atomic_check(struct drm_device *drm, in tegra_atomic_check() argument
50 err = drm_atomic_helper_check(drm, state); in tegra_atomic_check()
54 return tegra_display_hub_atomic_check(drm, state); in tegra_atomic_check()
63 static void tegra_atomic_post_commit(struct drm_device *drm, in tegra_atomic_post_commit() argument
76 struct drm_device *drm = old_state->dev; in tegra_atomic_commit_tail() local
77 struct tegra_drm *tegra = drm->dev_private; in tegra_atomic_commit_tail()
82 drm_atomic_helper_commit_modeset_disables(drm, old_state); in tegra_atomic_commit_tail()
83 tegra_display_hub_atomic_commit(drm, old_state); in tegra_atomic_commit_tail()
84 drm_atomic_helper_commit_planes(drm, old_state, 0); in tegra_atomic_commit_tail()
85 drm_atomic_helper_commit_modeset_enables(drm, old_state); in tegra_atomic_commit_tail()
[all …]
/drivers/gpu/drm/imx/dcss/
Ddcss-kms.c112 struct drm_device *drm; in dcss_kms_attach() local
121 drm = &kms->base; in dcss_kms_attach()
124 drm->dev_private = dcss; in dcss_kms_attach()
128 ret = drm_vblank_init(drm, 1); in dcss_kms_attach()
136 ret = dcss_crtc_init(crtc, drm); in dcss_kms_attach()
140 drm_mode_config_reset(drm); in dcss_kms_attach()
142 drm_kms_helper_poll_init(drm); in dcss_kms_attach()
144 ret = drm_dev_register(drm, 0); in dcss_kms_attach()
148 drm_fbdev_dma_setup(drm, 32); in dcss_kms_attach()
153 drm_kms_helper_poll_fini(drm); in dcss_kms_attach()
[all …]
/drivers/gpu/drm/tiny/
Darcpgu.c50 struct drm_device drm; member
57 #define dev_to_arcpgu(x) container_of(x, struct arcpgu_drm_private, drm)
101 static int arcpgu_drm_sim_init(struct drm_device *drm, struct drm_connector *connector) in arcpgu_drm_sim_init() argument
104 return drm_connector_init(drm, connector, &arcpgu_drm_connector_funcs, in arcpgu_drm_sim_init()
250 struct platform_device *pdev = to_platform_device(arcpgu->drm.dev); in arcpgu_load()
253 struct drm_device *drm = &arcpgu->drm; in arcpgu_load() local
257 arcpgu->clk = devm_clk_get(drm->dev, "pxlclk"); in arcpgu_load()
261 ret = drmm_mode_config_init(drm); in arcpgu_load()
265 drm->mode_config.min_width = 0; in arcpgu_load()
266 drm->mode_config.min_height = 0; in arcpgu_load()
[all …]
/drivers/gpu/drm/meson/
Dmeson_drv.c185 struct drm_device *drm; in meson_drv_bind_master() local
200 drm = drm_dev_alloc(&meson_driver, dev); in meson_drv_bind_master()
201 if (IS_ERR(drm)) in meson_drv_bind_master()
202 return PTR_ERR(drm); in meson_drv_bind_master()
209 drm->dev_private = priv; in meson_drv_bind_master()
210 priv->drm = drm; in meson_drv_bind_master()
264 ret = drm_vblank_init(drm, 1); in meson_drv_bind_master()
284 ret = drmm_mode_config_init(drm); in meson_drv_bind_master()
287 drm->mode_config.max_width = 3840; in meson_drv_bind_master()
288 drm->mode_config.max_height = 2160; in meson_drv_bind_master()
[all …]

12345678910>>...27