Home
last modified time | relevance | path

Searched refs:dpsub (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/xlnx/
Dzynqmp_dpsub.c43 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_dumb_create() local
47 args->pitch = ALIGN(pitch, dpsub->dma_align); in zynqmp_dpsub_dumb_create()
56 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(drm); in zynqmp_dpsub_fb_create() local
62 cmd.pitches[i] = ALIGN(cmd.pitches[i], dpsub->dma_align); in zynqmp_dpsub_fb_create()
106 static int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_drm_init() argument
108 struct drm_device *drm = &dpsub->drm; in zynqmp_dpsub_drm_init()
135 ret = zynqmp_disp_drm_init(dpsub); in zynqmp_dpsub_drm_init()
139 ret = zynqmp_dp_drm_init(dpsub); in zynqmp_dpsub_drm_init()
166 struct zynqmp_dpsub *dpsub = dev_get_drvdata(dev); in zynqmp_dpsub_suspend() local
168 return drm_mode_config_helper_suspend(&dpsub->drm); in zynqmp_dpsub_suspend()
[all …]
Dzynqmp_dp.h23 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub);
24 int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm);
25 void zynqmp_dp_remove(struct zynqmp_dpsub *dpsub);
Dzynqmp_disp.h38 int zynqmp_disp_drm_init(struct zynqmp_dpsub *dpsub);
39 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm);
40 void zynqmp_disp_remove(struct zynqmp_dpsub *dpsub);
Dzynqmp_dp.c303 struct zynqmp_dpsub *dpsub; member
1053 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()
1261 rate = zynqmp_disp_get_audio_clk_rate(dp->dpsub->disp); in zynqmp_dp_encoder_mode_set_stream()
1270 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_mode_set_stream()
1410 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_enable()
1443 if (zynqmp_disp_audio_enabled(dp->dpsub->disp)) in zynqmp_dp_encoder_disable()
1571 zynqmp_disp_handle_vblank(dp->dpsub->disp); in zynqmp_dp_irq_handler()
1600 int zynqmp_dp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_dp_drm_init() argument
1602 struct zynqmp_dp *dp = dpsub->dp; in zynqmp_dp_drm_init()
1611 encoder->possible_crtcs |= zynqmp_disp_get_crtc_mask(dpsub->disp); in zynqmp_dp_drm_init()
[all …]
DMakefile1 zynqmp-dpsub-y := zynqmp_disp.o zynqmp_dpsub.o zynqmp_dp.o
2 obj-$(CONFIG_DRM_ZYNQMP_DPSUB) += zynqmp-dpsub.o
Dzynqmp_disp.c207 struct zynqmp_dpsub *dpsub; member
1552 zynqmp_dp_enable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_enable_vblank()
1561 zynqmp_dp_disable_vblank(disp->dpsub->dp); in zynqmp_disp_crtc_disable_vblank()
1606 int zynqmp_disp_drm_init(struct zynqmp_dpsub *dpsub) in zynqmp_disp_drm_init() argument
1608 struct zynqmp_disp *disp = dpsub->disp; in zynqmp_disp_drm_init()
1624 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub, struct drm_device *drm) in zynqmp_disp_probe() argument
1626 struct platform_device *pdev = to_platform_device(dpsub->dev); in zynqmp_disp_probe()
1637 disp->dpsub = dpsub; in zynqmp_disp_probe()
1640 dpsub->disp = disp; in zynqmp_disp_probe()
1681 dpsub->dma_align = 1 << layer->dmas[0].chan->device->copy_align; in zynqmp_disp_probe()
[all …]