|
@@ -260,23 +260,6 @@ static int fimd_mgr_initialize(struct exynos_drm_manager *mgr,
|
|
mgr->drm_dev = ctx->drm_dev = drm_dev;
|
|
mgr->drm_dev = ctx->drm_dev = drm_dev;
|
|
mgr->pipe = ctx->pipe = priv->pipe++;
|
|
mgr->pipe = ctx->pipe = priv->pipe++;
|
|
|
|
|
|
- /*
|
|
|
|
- * enable drm irq mode.
|
|
|
|
- * - with irq_enabled = true, we can use the vblank feature.
|
|
|
|
- *
|
|
|
|
- * P.S. note that we wouldn't use drm irq handler but
|
|
|
|
- * just specific driver own one instead because
|
|
|
|
- * drm framework supports only one irq handler.
|
|
|
|
- */
|
|
|
|
- drm_dev->irq_enabled = true;
|
|
|
|
-
|
|
|
|
- /*
|
|
|
|
- * with vblank_disable_allowed = true, vblank interrupt will be disabled
|
|
|
|
- * by drm timer once a current process gives up ownership of
|
|
|
|
- * vblank event.(after drm_vblank_put function is called)
|
|
|
|
- */
|
|
|
|
- drm_dev->vblank_disable_allowed = true;
|
|
|
|
-
|
|
|
|
/* attach this sub driver to iommu mapping if supported. */
|
|
/* attach this sub driver to iommu mapping if supported. */
|
|
if (is_drm_iommu_supported(ctx->drm_dev)) {
|
|
if (is_drm_iommu_supported(ctx->drm_dev)) {
|
|
/*
|
|
/*
|