Searched refs:dpsub (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/xlnx/ |
D | zynqmp_dpsub.c | 37 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 …]
|
D | zynqmp_kms.c | 47 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub() 80 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_disable() local 81 struct zynqmp_disp_layer *layer = dpsub->layers[plane->index]; in zynqmp_dpsub_plane_atomic_disable() 89 zynqmp_disp_blend_set_global_alpha(dpsub->disp, false, in zynqmp_dpsub_plane_atomic_disable() 98 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_update() local 99 struct zynqmp_disp_layer *layer = dpsub->layers[plane->index]; in zynqmp_dpsub_plane_atomic_update() 121 zynqmp_disp_blend_set_global_alpha(dpsub->disp, true, in zynqmp_dpsub_plane_atomic_update() 144 static int zynqmp_dpsub_create_planes(struct zynqmp_dpsub *dpsub) in zynqmp_dpsub_create_planes() argument 149 for (i = 0; i < ARRAY_SIZE(dpsub->drm->planes); i++) { in zynqmp_dpsub_create_planes() 150 struct zynqmp_disp_layer *layer = dpsub->layers[i]; in zynqmp_dpsub_create_planes() [all …]
|
D | zynqmp_kms.h | 33 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);
|
D | zynqmp_disp.c | 138 struct zynqmp_dpsub *dpsub; member 929 if (layer->disp->dpsub->dma_enabled) { in zynqmp_disp_layer_disable() 955 if (!layer->disp->dpsub->dma_enabled) in zynqmp_disp_layer_set_format() 993 if (!layer->disp->dpsub->dma_enabled) in zynqmp_disp_layer_update() 1043 if (!layer->info || !disp->dpsub->dma_enabled) in zynqmp_disp_layer_release_dma() 1086 if (!disp->dpsub->dma_enabled) in zynqmp_disp_layer_request_dma() 1142 disp->dpsub->layers[i] = layer; in zynqmp_disp_create_layers() 1167 zynqmp_disp_avbuf_set_clocks_sources(disp, disp->dpsub->vid_clk_from_ps, in zynqmp_disp_enable() 1168 disp->dpsub->aud_clk_from_ps, in zynqmp_disp_enable() 1203 ret = clk_set_rate(disp->dpsub->vid_clk, mode_clock); in zynqmp_disp_setup_clock() [all …]
|
D | zynqmp_dpsub.h | 81 bool zynqmp_dpsub_audio_enabled(struct zynqmp_dpsub *dpsub); 82 unsigned int zynqmp_dpsub_get_audio_clk_rate(struct zynqmp_dpsub *dpsub); 84 void zynqmp_dpsub_release(struct zynqmp_dpsub *dpsub);
|
D | zynqmp_dp.c | 299 struct zynqmp_dpsub *dpsub; member 1046 rate = clk_get_rate(dp->dpsub->apb_clk); in zynqmp_dp_aux_init() 1255 rate = zynqmp_dpsub_get_audio_clk_rate(dp->dpsub); in zynqmp_dp_encoder_mode_set_stream() 1264 if (zynqmp_dpsub_audio_enabled(dp->dpsub)) in zynqmp_dp_encoder_mode_set_stream() 1286 if (dp->dpsub->connected_ports & BIT(ZYNQMP_DPSUB_PORT_LIVE_VIDEO)) in zynqmp_dp_disp_enable() 1288 else if (dp->dpsub->connected_ports & BIT(ZYNQMP_DPSUB_PORT_LIVE_GFX)) in zynqmp_dp_disp_enable() 1293 layer = dp->dpsub->layers[layer_id]; in zynqmp_dp_disp_enable() 1301 zynqmp_disp_blend_set_global_alpha(dp->dpsub->disp, true, 255); in zynqmp_dp_disp_enable() 1303 zynqmp_disp_blend_set_global_alpha(dp->dpsub->disp, false, 0); in zynqmp_dp_disp_enable() 1305 zynqmp_disp_enable(dp->dpsub->disp); in zynqmp_dp_disp_enable() [all …]
|
D | Makefile | 1 zynqmp-dpsub-y := zynqmp_disp.o zynqmp_dpsub.o zynqmp_dp.o zynqmp_kms.o 2 obj-$(CONFIG_DRM_ZYNQMP_DPSUB) += zynqmp-dpsub.o
|
D | zynqmp_dp.h | 22 int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub); 23 void zynqmp_dp_remove(struct zynqmp_dpsub *dpsub);
|
D | zynqmp_disp.h | 73 int zynqmp_disp_probe(struct zynqmp_dpsub *dpsub); 74 void zynqmp_disp_remove(struct zynqmp_dpsub *dpsub);
|
/Linux-v6.6/arch/arm64/boot/dts/xilinx/ |
D | zynqmp.dtsi | 1033 compatible = "xlnx,zynqmp-dpsub-1.7";
|