]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/exynos: remove pipe member of struct exynos_drm_manager
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 4 Nov 2014 20:44:47 +0000 (18:44 -0200)
committerInki Dae <daeinki@gmail.com>
Sun, 25 Jan 2015 12:28:07 +0000 (21:28 +0900)
It is not longer used. This is part of the process of removing
struct exynos_drm_manager entirely.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_mixer.c

index 68aae38b2cf9c09bee6b52743c5d90757e6ce8fb..0fe981bc693b414168aab684ddb1d4720e99e1ca 100644 (file)
@@ -436,7 +436,7 @@ int exynos_drm_crtc_get_pipe_from_type(struct drm_device *drm_dev,
 
                exynos_crtc = to_exynos_crtc(crtc);
                if (exynos_crtc->manager->type == out_type)
-                       return exynos_crtc->manager->pipe;
+                       return exynos_crtc->pipe;
        }
 
        return -EPERM;
index 0a565f83be4d81dd323089b4bc4acadb79d7a779..1d024c0421a89e122f54f230983e3a8e0c075160 100644 (file)
@@ -207,7 +207,6 @@ struct exynos_drm_manager_ops {
  * @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
  */
@@ -216,7 +215,6 @@ struct exynos_drm_manager {
        enum exynos_drm_output_type type;
        struct drm_device *drm_dev;
        struct drm_crtc *crtc;
-       int pipe;
        struct exynos_drm_manager_ops *ops;
 };
 
index f1f3b34982971d0ecadfd3230c5883faa0f43b06..4df151ca74f3308c2446fc2cff4c830a3dd6d7e7 100644 (file)
@@ -299,7 +299,7 @@ static int fimd_mgr_initialize(struct exynos_drm_manager *mgr,
        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)) {
index e78764f800de03975cee22ac3142f4ec942fb8ab..785d2fe47fe04064ffe0d959b358c05551787eb8 100644 (file)
@@ -302,7 +302,7 @@ static int vidi_mgr_initialize(struct exynos_drm_manager *mgr,
        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;
 }
index 16197a627c473deabf3924a556f84da78a50117e..57c4622f9d41d2cc8fd0f889b28a58c1a68b7094 100644 (file)
@@ -863,7 +863,7 @@ static int mixer_initialize(struct exynos_drm_manager *mgr,
        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);