From patchwork Thu Aug 15 04:26:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Ruffell X-Patchwork-Id: 11095329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D89A71399 for ; Thu, 15 Aug 2019 08:38:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C60BB28842 for ; Thu, 15 Aug 2019 08:38:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B77AD28868; Thu, 15 Aug 2019 08:38:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E87C728842 for ; Thu, 15 Aug 2019 08:38:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 38E136E92E; Thu, 15 Aug 2019 08:35:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6081C6E898 for ; Thu, 15 Aug 2019 04:26:58 +0000 (UTC) Received: from mail-pl1-f197.google.com ([209.85.214.197]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hy7Lk-0002Hq-PM for dri-devel@lists.freedesktop.org; Thu, 15 Aug 2019 04:26:56 +0000 Received: by mail-pl1-f197.google.com with SMTP id g18so731644plj.19 for ; Wed, 14 Aug 2019 21:26:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d2jNOLpMPlA9TRX1XtwWml9P/iFeL6L1jrBEvqQDx20=; b=aH241A2B1LD63IXyZERX8iQZ4I8eO48dSeIbCOYWMaQl4JjDzaOrboDvK4l5CHYNzk U1VoUkNZENF/ewmh4s76rvdzMGo2NpuAoAt00mzFmEepdMjuRgjuE4I1u5SlZWra2hi0 QXT6cRhyUcLEfmq4LmlFcs8PBMNgRyo0IYKP3tcUPDz1f5jChGfQolBAGfRvz9uPwvV1 hthYBCO0s5l8CFRRAKJPsw1Yn5RNWZqdmsOdrVwt6uQZ4j8y6UPPMSqxqYUHEL/oUX6w 3AioBRZx6NNNIomf7j8d7LYRr9pjXT3oDKoqTVYbPNTkRFpGIqIezN5JXNEZoNyO/k0+ n/Hw== X-Gm-Message-State: APjAAAVLmsyndGrJr0FS9rJAImdgpu+LbMFZKUc0DS50qw835htVFAkm BFON+v7flbd/vB9M18R9kfFYLrNfqV1oVEbQw0Wrl1TQ9mA7VJXm8jk9rxwiHf0O45GloDYwwSg 26wwzUB+yIJPoiN5OBeWSoc7fRZwoLUl3m8VkGjLlnOzdiA== X-Received: by 2002:a17:902:d715:: with SMTP id w21mr2677748ply.261.1565843215192; Wed, 14 Aug 2019 21:26:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqKyN1jLUsIg0uuPPQ8FMobMAki85iYt8ZfUm9usjLhW9CwZ6xD9+TSB6IF8bRGRVpdYrh7w== X-Received: by 2002:a17:902:d715:: with SMTP id w21mr2677734ply.261.1565843215061; Wed, 14 Aug 2019 21:26:55 -0700 (PDT) Received: from localhost.localdomain (125-238-115-161-fibre.sparkbb.co.nz. [125.238.115.161]) by smtp.gmail.com with ESMTPSA id t8sm240758pji.24.2019.08.14.21.26.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 21:26:54 -0700 (PDT) From: Matthew Ruffell To: dri-devel@lists.freedesktop.org Subject: [PATCH 1/1] drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC depend on ARM64 Date: Thu, 15 Aug 2019 16:26:40 +1200 Message-Id: <20190815042640.26938-2-matthew.ruffell@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190815042640.26938-1-matthew.ruffell@canonical.com> References: <20190815042640.26938-1-matthew.ruffell@canonical.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 15 Aug 2019 08:34:58 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guang Lou Yang , Zhanglei Mao , David Airlie , Chen Feng , Xinliang Liu , Xinwei Kong , Rongrong Zou , Gavin Guo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hisilicon developed hibmc_drm for their arm64 based soc and did not intend for this driver to be used on any other architecture than arm64. Using it on amd64 leads to incorrect video modes being used, making the screen unreadable, forcing users to manually blacklist the module on the kernel command line to use the d-i server installer or any graphical sessions. Make CONFIG_DRM_HISI_HIBMC firmly depend on ARM64 to ensure it is not built for other architectures. Signed-off-by: Matthew Ruffell --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/Kconfig b/drivers/gpu/drm/hisilicon/hibmc/Kconfig index f20eedf0073a..35a3c5f0c38c 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/Kconfig +++ b/drivers/gpu/drm/hisilicon/hibmc/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_HISI_HIBMC tristate "DRM Support for Hisilicon Hibmc" - depends on DRM && PCI && MMU + depends on DRM && PCI && MMU && ARM64 select DRM_KMS_HELPER select DRM_VRAM_HELPER