Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_kms.c26 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_output_poll_changed() local
28 if (vc4->fbdev) in vc4_output_poll_changed()
29 drm_fbdev_cma_hotplug_event(vc4->fbdev); in vc4_output_poll_changed()
41 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_kms_load() local
58 vc4->fbdev = drm_fbdev_cma_init(dev, 32, in vc4_kms_load()
61 if (IS_ERR(vc4->fbdev)) in vc4_kms_load()
62 vc4->fbdev = NULL; in vc4_kms_load()
Dvc4_hvs.c65 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_dump_state() local
78 readl((u32 __iomem *)vc4->hvs->dlist + i + 0), in vc4_hvs_dump_state()
79 readl((u32 __iomem *)vc4->hvs->dlist + i + 1), in vc4_hvs_dump_state()
80 readl((u32 __iomem *)vc4->hvs->dlist + i + 2), in vc4_hvs_dump_state()
81 readl((u32 __iomem *)vc4->hvs->dlist + i + 3)); in vc4_hvs_dump_state()
90 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hvs_debugfs_regs() local
107 struct vc4_dev *vc4 = drm->dev_private; in vc4_hvs_bind() local
122 vc4->hvs = hvs; in vc4_hvs_bind()
130 struct vc4_dev *vc4 = drm->dev_private; in vc4_hvs_unbind() local
132 vc4->hvs = NULL; in vc4_hvs_unbind()
Dvc4_drv.c55 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_lastclose() local
57 if (vc4->fbdev) in vc4_lastclose()
58 drm_fbdev_cma_restore_mode(vc4->fbdev); in vc4_lastclose()
155 struct vc4_dev *vc4; in vc4_drm_bind() local
160 vc4 = devm_kzalloc(dev, sizeof(*vc4), GFP_KERNEL); in vc4_drm_bind()
161 if (!vc4) in vc4_drm_bind()
168 vc4->dev = drm; in vc4_drm_bind()
169 drm->dev_private = vc4; in vc4_drm_bind()
212 struct vc4_dev *vc4 = to_vc4_dev(drm); in vc4_drm_unbind() local
214 if (vc4->fbdev) in vc4_drm_unbind()
[all …]
Dvc4_hdmi.c55 #define HDMI_READ(offset) readl(vc4->hdmi->hdmicore_regs + offset)
56 #define HDMI_WRITE(offset, val) writel(val, vc4->hdmi->hdmicore_regs + offset)
57 #define HD_READ(offset) readl(vc4->hdmi->hd_regs + offset)
58 #define HD_WRITE(offset, val) writel(val, vc4->hdmi->hd_regs + offset)
125 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_debugfs_regs() local
146 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_dump_regs() local
165 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_connector_detect() local
167 if (vc4->hdmi->hpd_gpio) { in vc4_hdmi_connector_detect()
168 if (gpio_get_value(vc4->hdmi->hpd_gpio)) in vc4_hdmi_connector_detect()
193 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_hdmi_connector_get_modes() local
[all …]
DMakefile6 vc4-y := \
15 vc4-$(CONFIG_DEBUG_FS) += vc4_debugfs.o
17 obj-$(CONFIG_DRM_VC4) += vc4.o
Dvc4_crtc.c251 struct vc4_dev *vc4 = to_vc4_dev(dev); in require_hvs_enabled() local
260 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_disable() local
298 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_enable() local
322 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_atomic_check() local
349 vc4_crtc->dlist = ((u32 __iomem *)vc4->hvs->dlist + in vc4_crtc_atomic_check()
368 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_crtc_atomic_flush() local
397 writel(SCALER_CTL0_END, vc4->hvs->dlist); in vc4_crtc_atomic_flush()
405 (u32 __iomem *)vc4->hvs->dlist); in vc4_crtc_atomic_flush()
433 struct vc4_dev *vc4 = to_vc4_dev(dev); in vc4_enable_vblank() local
434 struct vc4_crtc *vc4_crtc = vc4->crtc[crtc_id]; in vc4_enable_vblank()
[all …]
Dvc4_drv.h75 #define HVS_READ(offset) readl(vc4->hvs->regs + offset)
76 #define HVS_WRITE(offset, val) writel(val, vc4->hvs->regs + offset)
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dbrcm,bcm-vc4.txt8 - compatible: Should be "brcm,bcm2835-vc4"
63 vc4: gpu {
64 compatible = "brcm,bcm2835-vc4";
/linux-4.4.14/drivers/gpu/drm/
DMakefile48 obj-$(CONFIG_DRM_VC4) += vc4/
DKconfig268 source "drivers/gpu/drm/vc4/Kconfig"