Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xlnx/
Dzynqmp_dpsub.c37 struct zynqmp_dpsub *dpsub = dev_get_drvdata(dev); in zynqmp_dpsub_suspend() local
39 if (!dpsub->drm) in zynqmp_dpsub_suspend()
42 return drm_mode_config_helper_suspend(&dpsub->drm->dev); in zynqmp_dpsub_suspend()
47 struct zynqmp_dpsub *dpsub = dev_get_drvdata(dev); in zynqmp_dpsub_resume() local
49 if (!dpsub->drm) in zynqmp_dpsub_resume()
52 return drm_mode_config_helper_resume(&dpsub->drm->dev); in zynqmp_dpsub_resume()
71 bool zynqmp_dpsub_audio_enabled(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_audio_enabled() argument
73 return !!dpsub->aud_clk; in zynqmp_dpsub_audio_enabled()
82 unsigned int zynqmp_dpsub_get_audio_clk_rate(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_get_audio_clk_rate() argument
84 if (zynqmp_dpsub_audio_enabled(dpsub)) in zynqmp_dpsub_get_audio_clk_rate()
[all …]
Dzynqmp_kms.c46 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub()
79 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_disable() local
80 struct zynqmp_disp_layer *layer = dpsub->layers[plane->index]; in zynqmp_dpsub_plane_atomic_disable()
88 zynqmp_disp_blend_set_global_alpha(dpsub->disp, false, in zynqmp_dpsub_plane_atomic_disable()
97 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_update() local
98 struct zynqmp_disp_layer *layer = dpsub->layers[plane->index]; in zynqmp_dpsub_plane_atomic_update()
120 zynqmp_disp_blend_set_global_alpha(dpsub->disp, true, in zynqmp_dpsub_plane_atomic_update()
147 static int zynqmp_dpsub_create_planes(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_create_planes() argument
152 for (i = 0; i < ARRAY_SIZE(dpsub->drm->planes); i++) { in zynqmp_dpsub_create_planes()
153 struct zynqmp_disp_layer *layer = dpsub->layers[i]; in zynqmp_dpsub_create_planes()
[all …]
Dzynqmp_kms.h33 struct zynqmp_dpsub *dpsub; member
41 void zynqmp_dpsub_drm_handle_vblank(struct zynqmp_dpsub *dpsub);
43 int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub);
44 void zynqmp_dpsub_drm_cleanup(struct zynqmp_dpsub *dpsub);
Dzynqmp_dpsub.h82 bool zynqmp_dpsub_audio_enabled(struct zynqmp_dpsub *dpsub);
83 unsigned int zynqmp_dpsub_get_audio_clk_rate(struct zynqmp_dpsub *dpsub);
85 void zynqmp_dpsub_release(struct zynqmp_dpsub *dpsub);
Dzynqmp_disp.c151 struct zynqmp_dpsub *dpsub; member
1299 if (disp->dpsub->dma_enabled) { in zynqmp_disp_create_layers()
1311 disp->dpsub->layers[i] = layer; in zynqmp_disp_create_layers()
1336 zynqmp_disp_avbuf_set_clocks_sources(disp, disp->dpsub->vid_clk_from_ps, in zynqmp_disp_enable()
1337 disp->dpsub->aud_clk_from_ps, in zynqmp_disp_enable()
1338 disp->dpsub->vid_clk_from_ps); in zynqmp_disp_enable()
1372 ret = clk_set_rate(disp->dpsub->vid_clk, mode_clock); in zynqmp_disp_setup_clock()
1378 rate = clk_get_rate(disp->dpsub->vid_clk); in zynqmp_disp_setup_clock()
1396 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub) in zynqmp_disp_probe() argument
1398 struct platform_device *pdev = to_platform_device(dpsub->dev); in zynqmp_disp_probe()
[all …]
Dzynqmp_dp.c305 struct zynqmp_dpsub *dpsub; member
1040 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init()
1249 rate = zynqmp_dpsub_get_audio_clk_rate(dp->dpsub); in zynqmp_dp_encoder_mode_set_stream()
1258 if (zynqmp_dpsub_audio_enabled(dp->dpsub)) in zynqmp_dp_encoder_mode_set_stream()
1283 if (dp->dpsub->connected_ports & BIT(ZYNQMP_DPSUB_PORT_LIVE_VIDEO)) in zynqmp_dp_disp_connected_live_layer()
1284 return dp->dpsub->layers[ZYNQMP_DPSUB_LAYER_VID]; in zynqmp_dp_disp_connected_live_layer()
1285 else if (dp->dpsub->connected_ports & BIT(ZYNQMP_DPSUB_PORT_LIVE_GFX)) in zynqmp_dp_disp_connected_live_layer()
1286 return dp->dpsub->layers[ZYNQMP_DPSUB_LAYER_GFX]; in zynqmp_dp_disp_connected_live_layer()
1311 if (layer == dp->dpsub->layers[ZYNQMP_DPSUB_LAYER_GFX]) in zynqmp_dp_disp_enable()
1312 zynqmp_disp_blend_set_global_alpha(dp->dpsub->disp, true, 255); in zynqmp_dp_disp_enable()
[all …]
DMakefile1 zynqmp-dpsub-y := zynqmp_disp.o zynqmp_dpsub.o zynqmp_dp.o zynqmp_kms.o
2 obj-$(CONFIG_DRM_ZYNQMP_DPSUB) += zynqmp-dpsub.o
Dzynqmp_dp.h22 int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub);
23 void zynqmp_dp_remove(struct zynqmp_dpsub *dpsub);
Dzynqmp_disp.h66 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub);
67 void zynqmp_disp_remove(struct zynqmp_dpsub *dpsub);
/linux-6.12.1/arch/arm64/boot/dts/xilinx/
Dzynqmp.dtsi1196 compatible = "xlnx,zynqmp-dpsub-1.7";