···193193 * otherwise default one.194194 * @da_space_size: size of device address space.195195 * if 0 then default value is used for it.196196- * @pipe: the pipe number for this crtc/manager.197196 * @pending: the crtcs that have pending updates to finish198197 * @lock: protect access to @pending199198 * @wait: wait an atomic commit to finish···202203203204 struct device *dma_dev;204205 void *mapping;205205-206206- unsigned int pipe;207206208207 /* for atomic commit */209208 u32 pending;
+2-7
drivers/gpu/drm/exynos/exynos_drm_fimd.c
···982982{983983 struct fimd_context *ctx = dev_get_drvdata(dev);984984 struct drm_device *drm_dev = data;985985- struct exynos_drm_private *priv = drm_dev->dev_private;986985 struct exynos_drm_plane *exynos_plane;987986 unsigned int i;988987 int ret;989988990989 ctx->drm_dev = drm_dev;991991- ctx->pipe = priv->pipe++;990990+ ctx->pipe = drm_dev->mode_config.num_crtc;992991993992 for (i = 0; i < WINDOWS_NR; i++) {994993 ctx->configs[i].pixel_formats = fimd_formats;···10171018 if (is_drm_iommu_supported(drm_dev))10181019 fimd_clear_channels(ctx->crtc);1019102010201020- ret = drm_iommu_attach_device(drm_dev, dev);10211021- if (ret)10221022- priv->pipe--;10231023-10241024- return ret;10211021+ return drm_iommu_attach_device(drm_dev, dev);10251022}1026102310271024static void fimd_unbind(struct device *dev, struct device *master,