diff mbox

drm/exynos: Fix multiplatform breakage for ipp

Message ID 1389787053-18228-1-git-send-email-tushar.behera@linaro.org
State New
Headers show

Commit Message

Tushar Behera Jan. 15, 2014, 11:57 a.m. UTC
There is no need to include "plat/map-base.h" in ipp driver. Remove
this and enable this driver for multi-platform.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
---
 drivers/gpu/drm/exynos/Kconfig          |    2 +-
 drivers/gpu/drm/exynos/exynos_drm_ipp.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

Sachin Kamat Jan. 16, 2014, 5:03 a.m. UTC | #1
Hi Tushar,

On 15 January 2014 17:27, Tushar Behera <tushar.behera@linaro.org> wrote:
> There is no need to include "plat/map-base.h" in ipp driver. Remove
> this and enable this driver for multi-platform.
>
> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>

drivers/gpu/drm/exynos/exynos_drm_gsc.c also has this header file included.
If this file is needed there, then you may have to add !ARCH_MULTIPLATFORM
as its dependency.
Tushar Behera Jan. 16, 2014, 5:07 a.m. UTC | #2
On 16 January 2014 10:33, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Hi Tushar,
>
> On 15 January 2014 17:27, Tushar Behera <tushar.behera@linaro.org> wrote:
>> There is no need to include "plat/map-base.h" in ipp driver. Remove
>> this and enable this driver for multi-platform.
>>
>> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
>
> drivers/gpu/drm/exynos/exynos_drm_gsc.c also has this header file included.
> If this file is needed there, then you may have to add !ARCH_MULTIPLATFORM
> as its dependency.
>

Yes, true. There are still some users for this header file within
exynos_drm_gsc.c, so we need to make the compilation conditional. I
will add that and resend the patch.

> --
> With warm regards,
> Sachin

Thanks.
diff mbox

Patch

diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
index f227f54..3af44c2 100644
--- a/drivers/gpu/drm/exynos/Kconfig
+++ b/drivers/gpu/drm/exynos/Kconfig
@@ -51,7 +51,7 @@  config DRM_EXYNOS_G2D
 
 config DRM_EXYNOS_IPP
 	bool "Exynos DRM IPP"
-	depends on DRM_EXYNOS && !ARCH_MULTIPLATFORM
+	depends on DRM_EXYNOS
 	help
 	  Choose this option if you want to use IPP feature for DRM.
 
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
index d519a4e..eefb429 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
@@ -16,7 +16,6 @@ 
 #include <linux/types.h>
 #include <linux/clk.h>
 #include <linux/pm_runtime.h>
-#include <plat/map-base.h>
 
 #include <drm/drmP.h>
 #include <drm/exynos_drm.h>