exynos_crtc = to_exynos_crtc(crtc);
if (exynos_crtc->manager->type == out_type)
- return exynos_crtc->manager->pipe;
+ return exynos_crtc->pipe;
}
return -EPERM;
* @type: one of EXYNOS_DISPLAY_TYPE_LCD and HDMI.
* @drm_dev: pointer to the drm device
* @crtc: crtc object.
- * @pipe: the pipe number for this crtc/manager
* @ops: pointer to callbacks for exynos drm specific functionality
* @ctx: A pointer to the manager's implementation specific context
*/
enum exynos_drm_output_type type;
struct drm_device *drm_dev;
struct drm_crtc *crtc;
- int pipe;
struct exynos_drm_manager_ops *ops;
};
priv = drm_dev->dev_private;
mgr->drm_dev = ctx->drm_dev = drm_dev;
- mgr->pipe = ctx->pipe = priv->pipe++;
+ ctx->pipe = priv->pipe++;
/* attach this sub driver to iommu mapping if supported. */
if (is_drm_iommu_supported(ctx->drm_dev)) {
struct exynos_drm_private *priv = drm_dev->dev_private;
mgr->drm_dev = ctx->drm_dev = drm_dev;
- mgr->pipe = ctx->pipe = priv->pipe++;
+ ctx->pipe = priv->pipe++;
return 0;
}
priv = drm_dev->dev_private;
mgr->drm_dev = mixer_ctx->drm_dev = drm_dev;
- mgr->pipe = mixer_ctx->pipe = priv->pipe++;
+ mixer_ctx->pipe = priv->pipe++;
/* acquire resources: regs, irqs, clocks */
ret = mixer_resources_init(mixer_ctx);