Home
last modified time | relevance | path

Searched refs:tidss (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/tidss/ !
Dtidss_irq.c19 static void tidss_irq_update(struct tidss_device *tidss) in tidss_irq_update() argument
21 assert_spin_locked(&tidss->wait_lock); in tidss_irq_update()
23 dispc_set_irqenable(tidss->dispc, tidss->irq_mask); in tidss_irq_update()
29 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_enable_vblank() local
34 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_enable_vblank()
35 tidss->irq_mask |= DSS_IRQ_VP_VSYNC_EVEN(hw_videoport) | in tidss_irq_enable_vblank()
37 tidss_irq_update(tidss); in tidss_irq_enable_vblank()
38 spin_unlock_irqrestore(&tidss->wait_lock, flags); in tidss_irq_enable_vblank()
44 struct tidss_device *tidss = to_tidss(ddev); in tidss_irq_disable_vblank() local
49 spin_lock_irqsave(&tidss->wait_lock, flags); in tidss_irq_disable_vblank()
[all …]
Dtidss_drv.c30 int tidss_runtime_get(struct tidss_device *tidss) in tidss_runtime_get() argument
34 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_get()
36 r = pm_runtime_get_sync(tidss->dev); in tidss_runtime_get()
41 void tidss_runtime_put(struct tidss_device *tidss) in tidss_runtime_put() argument
45 dev_dbg(tidss->dev, "%s\n", __func__); in tidss_runtime_put()
47 r = pm_runtime_put_sync(tidss->dev); in tidss_runtime_put()
53 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_suspend() local
57 return dispc_runtime_suspend(tidss->dispc); in tidss_pm_runtime_suspend()
62 struct tidss_device *tidss = dev_get_drvdata(dev); in tidss_pm_runtime_resume() local
67 r = dispc_runtime_resume(tidss->dispc); in tidss_pm_runtime_resume()
[all …]
Dtidss_kms.c30 struct tidss_device *tidss = to_tidss(ddev); in tidss_atomic_commit_tail() local
35 tidss_runtime_get(tidss); in tidss_atomic_commit_tail()
47 tidss_runtime_put(tidss); in tidss_atomic_commit_tail()
110 static int tidss_dispc_modeset_init(struct tidss_device *tidss) in tidss_dispc_modeset_init() argument
112 struct device *dev = tidss->dev; in tidss_dispc_modeset_init()
114 const u32 *fourccs = dispc_plane_formats(tidss->dispc, &fourccs_len); in tidss_dispc_modeset_init()
123 const struct dispc_features *feat = tidss->feat; in tidss_dispc_modeset_init()
200 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
203 tplane = tidss_plane_create(tidss, hw_plane_id, in tidss_dispc_modeset_init()
207 dev_err(tidss->dev, "plane create failed\n"); in tidss_dispc_modeset_init()
[all …]
Dtidss_crtc.c27 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_finish_page_flip() local
40 busy = dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport); in tidss_crtc_finish_page_flip()
93 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_check() local
94 struct dispc_device *dispc = tidss->dispc; in tidss_crtc_atomic_check()
122 static void tidss_crtc_position_planes(struct tidss_device *tidss, in tidss_crtc_position_planes() argument
136 for (layer = 0; layer < tidss->feat->num_planes; layer++) { in tidss_crtc_position_planes()
155 dispc_ovr_set_plane(tidss->dispc, tplane->hw_plane_id, in tidss_crtc_position_planes()
160 dispc_ovr_enable_layer(tidss->dispc, tcrtc->hw_videoport, layer, in tidss_crtc_position_planes()
172 struct tidss_device *tidss = to_tidss(ddev); in tidss_crtc_atomic_flush() local
192 if (WARN_ON(dispc_vp_go_busy(tidss->dispc, tcrtc->hw_videoport))) in tidss_crtc_atomic_flush()
[all …]
Dtidss_plane.c28 struct tidss_device *tidss = to_tidss(ddev); in tidss_plane_atomic_check() local
99 ret = dispc_plane_check(tidss->dispc, hw_plane, new_plane_state, in tidss_plane_atomic_check()
111 struct tidss_device *tidss = to_tidss(ddev); in tidss_plane_atomic_update() local
121 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_update()
127 ret = dispc_plane_setup(tidss->dispc, tplane->hw_plane_id, in tidss_plane_atomic_update()
133 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_update()
137 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, true); in tidss_plane_atomic_update()
144 struct tidss_device *tidss = to_tidss(ddev); in tidss_plane_atomic_disable() local
149 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_disable()
175 struct tidss_plane *tidss_plane_create(struct tidss_device *tidss, in tidss_plane_create() argument
[all …]
Dtidss_encoder.c72 struct drm_encoder *tidss_encoder_create(struct tidss_device *tidss, in tidss_encoder_create() argument
84 ret = drm_encoder_init(&tidss->ddev, enc, &encoder_funcs, in tidss_encoder_create()
93 dev_dbg(tidss->dev, "Encoder create done\n"); in tidss_encoder_create()
DMakefile3 tidss-y := tidss_crtc.o \
12 obj-$(CONFIG_DRM_TIDSS) += tidss.o
Dtidss_drv.h38 int tidss_runtime_get(struct tidss_device *tidss);
39 void tidss_runtime_put(struct tidss_device *tidss);
Dtidss_dispc.h132 int dispc_init(struct tidss_device *tidss);
133 void dispc_remove(struct tidss_device *tidss);
Dtidss_kms.h12 int tidss_modeset_init(struct tidss_device *tidss);
Dtidss_encoder.h14 struct drm_encoder *tidss_encoder_create(struct tidss_device *tidss,
Dtidss_plane.h20 struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
Dtidss_crtc.h45 struct tidss_crtc *tidss_crtc_create(struct tidss_device *tidss,
Dtidss_irq.h73 void tidss_irq_resume(struct tidss_device *tidss);
Dtidss_dispc.c282 struct tidss_device *tidss; member
2596 tidss_irq_resume(dispc->tidss); in dispc_runtime_resume()
2601 void dispc_remove(struct tidss_device *tidss) in dispc_remove() argument
2603 dev_dbg(tidss->dev, "%s\n", __func__); in dispc_remove()
2605 tidss->dispc = NULL; in dispc_remove()
2667 int dispc_init(struct tidss_device *tidss) in dispc_init() argument
2669 struct device *dev = tidss->dev; in dispc_init()
2678 feat = tidss->feat; in dispc_init()
2690 dispc->tidss = tidss; in dispc_init()
2778 tidss->dispc = dispc; in dispc_init()
/linux-5.19.10/drivers/gpu/drm/ !
DMakefile142 obj-$(CONFIG_DRM_TIDSS) += tidss/
DKconfig377 source "drivers/gpu/drm/tidss/Kconfig"
/linux-5.19.10/ !
DMAINTAINERS6866 F: drivers/gpu/drm/tidss/