From patchwork Thu Jan 16 06:27:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 3501171 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 84097C02DC for ; Fri, 17 Jan 2014 00:02:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 863082015E for ; Fri, 17 Jan 2014 00:02:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id AED2F2015D for ; Fri, 17 Jan 2014 00:02:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 049CA1060ED; Thu, 16 Jan 2014 16:02:42 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id E144EFCCDF for ; Wed, 15 Jan 2014 22:32:17 -0800 (PST) Received: by mail-pb0-f49.google.com with SMTP id up15so1687543pbc.8 for ; Wed, 15 Jan 2014 22:32:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=10Wpo26RpN1ldhbKsN/pw2QdeZP5G4UyyUF9StRLMp0=; b=Odb8/wWyZyJynb03V1zNf8kSDIK2YWsU+6LBaskw8/wvLVDXFLJcSZ08J4RF6Im1r7 wUqVG7rGLhx8mBLCyIxXr/1G+Qva6GzBenjDSdWpY+/UlICBFCwRcV82id/lh5yRBN1x is0jX2UZ3ueX9ueQitKAXzagpTox900CcYZx47BHCGDIVAjwP8jGdAs4jIlhSRR7ApeM u5hkTReWxtv7CXr+4Z38+FpYSB9ZvxUZCHkWmukPcTXz3eget3flxuPpaSD5WN7yByfH M+NfC4MajorCqj1xrA+IzKXfrJkabEdbYjaND7+aJfttHjO8pHPb8S3ynqwlTYjGyfkd QtNQ== X-Gm-Message-State: ALoCoQmuoeKbvPmKwSbrOHIplr6KQpi9ayVtNrdGUrS01jlDufJSSObk+LSSHhX7bdrs+TdhVHoW X-Received: by 10.68.240.36 with SMTP id vx4mr7951797pbc.140.1389853931651; Wed, 15 Jan 2014 22:32:11 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id gv10sm12560059pbd.0.2014.01.15.22.32.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 Jan 2014 22:32:10 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH V2] drm/exynos: Fix multiplatform breakage for ipp/gsc Date: Thu, 16 Jan 2014 11:57:57 +0530 Message-Id: <1389853677-3485-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Mailman-Approved-At: Thu, 16 Jan 2014 16:02:05 -0800 Cc: sachin.kamat@linaro.org, arnd@arndb.de X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no need to include "plat/map-base.h" in ipp driver. Remove this and enable this driver for multi-platform. However gsc driver is not multiplatform compliant yet, so make the compilation conditional upon !ARCH_MULTIPLATFORM. Signed-off-by: Tushar Behera --- Changes for V2: * Made compilation of exynos_drm_gsc.c conditional on !ARCH_MULTIPLATFORM. drivers/gpu/drm/exynos/Kconfig | 4 ++-- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index f227f54..6e1a1a2 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. @@ -69,6 +69,6 @@ config DRM_EXYNOS_ROTATOR config DRM_EXYNOS_GSC bool "Exynos DRM GSC" - depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 + depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !ARCH_MULTIPLATFORM help Choose this option if you want to use Exynos GSC 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 #include #include -#include #include #include