From patchwork Thu Dec 6 17:57:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10716533 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 85DA815A6 for ; Thu, 6 Dec 2018 17:57:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73F762F032 for ; Thu, 6 Dec 2018 17:57:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6850A2F03A; Thu, 6 Dec 2018 17:57:47 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 1E26E2F032 for ; Thu, 6 Dec 2018 17:57:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 529696E626; Thu, 6 Dec 2018 17:57:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 463456E626 for ; Thu, 6 Dec 2018 17:57:44 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id b14so1342974wru.12 for ; Thu, 06 Dec 2018 09:57:44 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=Sdw0fW0dUbD/UioomHuKFKQg7bbP3QJ1cgr1jsvzccY=; b=MpcQDunbkOtOKgKPVJjBWTWNzZkTGF8LOZhXTDcmoocID/kgtHI0D1lvxW5KCwbWzG FJavp5fmZ6HIgu14p6ah5QkyLEAfDBrmVrXMFXdR2073AKyYef6eMS+mW7Gkk2c24kPO HdWhkYiZxILvuvqM1wmg50C/3V6JNDweum93QcZ7l8yfk3CqXUSo6kOKbiagQN4Ia7/5 Gf0+NMhzgwYFhKpRsk4XzU6OlVEjUVTtsKIaic/plIFCzIGJzkxNYfAKqSyGEywV6rUz oEIgWE0kaPtQzlk/iMHIoJG28qQVNVD4gQM8NcwSW2Wz2HbKEB2/pC5TqY/PcDv/yPVu zxOg== X-Gm-Message-State: AA+aEWb0K8jSxeYsr0AJtl53NZgQtNaXVMQNlqpoVj2yxf5cruw1U1ro s3YA9I+4hpK61d7Kn33D/UI= X-Google-Smtp-Source: AFSGD/URxa7kHlFMbBILNP3EMMMx+1bU4e6tukpJccjt2RN00kPdE2kFE+1mI1VEIexbUq+sj6xLeQ== X-Received: by 2002:a5d:5443:: with SMTP id w3mr24381145wrv.4.1544119062916; Thu, 06 Dec 2018 09:57:42 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id y34sm2051307wrd.68.2018.12.06.09.57.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 09:57:42 -0800 (PST) From: Thierry Reding To: Thierry Reding Subject: [PATCH] drm/tegra: sor: Remove temporary workaround Date: Thu, 6 Dec 2018 18:57:41 +0100 Message-Id: <20181206175741.29248-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding Remove the temporary workaround of storing the Tegra186 HDMI/DP I/O pad ID in the SOR driver. The definition has long been available in the soc/tegra/pmc.h header file. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/sor.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 22a54434a757..07a077bd73e4 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -31,14 +31,6 @@ #include "sor.h" #include "trace.h" -/* - * XXX Remove this after the commit adding it to soc/tegra/pmc.h has been - * merged. Having this around after the commit is merged should be safe since - * the preprocessor will effectively replace all occurrences and therefore no - * duplicate will be defined. - */ -#define TEGRA_IO_PAD_HDMI_DP0 26 - #define SOR_REKEY 0x38 struct tegra_sor_hdmi_settings {