aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-26 19:19:50 -0400
committerDave Airlie <airlied@redhat.com>2016-04-26 19:19:50 -0400
commit69056e9a43765f5ef7cbf3b9d3ffd4e597271956 (patch)
tree13f1f0d54df76d9845a9c30a38491f913851f2a2
parent027b3f8ba9277410c3191d72d1ed2c6146d8a668 (diff)
parent077d67374e81c39f3f7b6b57119325f770b810b9 (diff)
Merge branch 'drm/next/du' of git://linuxtv.org/pinchartl/fbdev into drm-next
misc rcar changes. * 'drm/next/du' of git://linuxtv.org/pinchartl/fbdev: drm: rcar-du: Fix compilation warning drm: rcar-du: Use ARCH_RENESAS drm: rcar-du: Clarify vsp dependency
-rw-r--r--drivers/gpu/drm/rcar-du/Kconfig4
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig
index 1f10fa0928b4..7fc3ca5ce6c7 100644
--- a/drivers/gpu/drm/rcar-du/Kconfig
+++ b/drivers/gpu/drm/rcar-du/Kconfig
@@ -2,7 +2,7 @@ config DRM_RCAR_DU
2 tristate "DRM Support for R-Car Display Unit" 2 tristate "DRM Support for R-Car Display Unit"
3 depends on DRM && OF 3 depends on DRM && OF
4 depends on ARM || ARM64 4 depends on ARM || ARM64
5 depends on ARCH_SHMOBILE || COMPILE_TEST 5 depends on ARCH_RENESAS || COMPILE_TEST
6 select DRM_KMS_HELPER 6 select DRM_KMS_HELPER
7 select DRM_KMS_CMA_HELPER 7 select DRM_KMS_CMA_HELPER
8 select DRM_GEM_CMA_HELPER 8 select DRM_GEM_CMA_HELPER
@@ -27,6 +27,6 @@ config DRM_RCAR_LVDS
27config DRM_RCAR_VSP 27config DRM_RCAR_VSP
28 bool "R-Car DU VSP Compositor Support" 28 bool "R-Car DU VSP Compositor Support"
29 depends on DRM_RCAR_DU 29 depends on DRM_RCAR_DU
30 depends on VIDEO_RENESAS_VSP1 30 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
31 help 31 help
32 Enable support to expose the R-Car VSP Compositor as KMS planes. 32 Enable support to expose the R-Car VSP Compositor as KMS planes.
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 0f251dc11082..fb9242d27883 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -297,7 +297,6 @@ static int rcar_du_probe(struct platform_device *pdev)
297{ 297{
298 struct device_node *np = pdev->dev.of_node; 298 struct device_node *np = pdev->dev.of_node;
299 struct rcar_du_device *rcdu; 299 struct rcar_du_device *rcdu;
300 struct drm_connector *connector;
301 struct drm_device *ddev; 300 struct drm_device *ddev;
302 struct resource *mem; 301 struct resource *mem;
303 int ret; 302 int ret;