Lines Matching refs:drm_dev
149 struct drm_device *drm_dev; member
277 struct drm_device *drm_dev) in fimd_iommu_attach_devices() argument
281 if (is_drm_iommu_supported(ctx->drm_dev)) { in fimd_iommu_attach_devices()
289 ret = drm_iommu_attach_device(ctx->drm_dev, ctx->dev); in fimd_iommu_attach_devices()
303 if (is_drm_iommu_supported(ctx->drm_dev)) in fimd_iommu_detach_devices()
304 drm_iommu_detach_device(ctx->drm_dev, ctx->dev); in fimd_iommu_detach_devices()
929 if (ctx->pipe < 0 || !ctx->drm_dev) in fimd_te_handler()
946 drm_handle_vblank(ctx->drm_dev, ctx->pipe); in fimd_te_handler()
991 if (ctx->pipe < 0 || !ctx->drm_dev) in fimd_irq_handler()
995 exynos_drm_crtc_finish_pageflip(ctx->drm_dev, ctx->pipe); in fimd_irq_handler()
1000 drm_handle_vblank(ctx->drm_dev, ctx->pipe); in fimd_irq_handler()
1001 exynos_drm_crtc_finish_pageflip(ctx->drm_dev, ctx->pipe); in fimd_irq_handler()
1017 struct drm_device *drm_dev = data; in fimd_bind() local
1018 struct exynos_drm_private *priv = drm_dev->dev_private; in fimd_bind()
1024 ctx->drm_dev = drm_dev; in fimd_bind()
1030 ret = exynos_plane_init(drm_dev, &ctx->planes[zpos], in fimd_bind()
1037 ctx->crtc = exynos_drm_crtc_create(drm_dev, &exynos_plane->base, in fimd_bind()
1044 exynos_drm_create_enc_conn(drm_dev, ctx->display); in fimd_bind()
1046 return fimd_iommu_attach_devices(ctx, drm_dev); in fimd_bind()