Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2649029lqp; Mon, 25 Mar 2024 05:41:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdEDyWmVi742qqdayETq0/j78UBj7QFqS8bC5vulF+Kwbxb+CR92r97wpBvjH14t0KVtftQRXL+tQ8lFHrGyzIKwbdMkiMTjfu1IfGFg== X-Google-Smtp-Source: AGHT+IF/NgfSNXXFHauaQV8H2Mwp2ubCfclaO944rlDRoZgTpYLIJTK9EE13wtVfn2dDFQE+Ar69 X-Received: by 2002:a05:6a20:3d05:b0:1a3:ae03:1d12 with SMTP id y5-20020a056a203d0500b001a3ae031d12mr7033071pzi.53.1711370476802; Mon, 25 Mar 2024 05:41:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711370476; cv=pass; d=google.com; s=arc-20160816; b=PdUJnUu1R26iut4+vAERMnubSE8csbBleUWfzV4cZOQAEbc8RJ/SNh+Ggxmyhm08eS 1kpwMWhSquY+eD6A07UNq6BRKXoZLNNRFaqscPt5rCJnvVyivg+RJaEv5GP+RBlOWUyE 14+xAEFnYgVD84/3DH/bDpGuOttkPTsMZQkUf6ZgE+wPZvtKb7ZI8kteo1IIP+TjPDM4 NaxQXUaXsckrSxiuGfPTDO3w/tzTnFngCBXYN1Y6JMOwT8R1QeDuqMxn9ZGl8ZuHNbdq +uQYStRarkMRQr68wvpauHMwKIDl+ljopirWrBJIEpii4fPCtRHSdTwZHvePK5lxA9GK GEJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=0gFt+NRQnk0L+ZfNU+jHUAfdaw3eXRXT7MLsZnUt+u0=; fh=PXKk0h5tOYrfvLOsca+I8y9oqIXj3i9JJuE9vl6NMgM=; b=0Nt0hX6NC2iz6zOa7YLsXc7UgZlRxp2c1GStIYyiM6XWhkxx5olLzbs63eaY1Utx/G bJWhuJQlwIRi2KWswE0MvZEXp/FuFFSRLoL7VgIjD5d/e872bwfDDRG2CuaaccOApdlG RSgnH3Fdvig0cV+98HqpGgbgyfD2uIK3k6co50ABHtUbi9eUlIVXw9NIBIaG4VtUd28d YZPt8MkywsVFNHL37OUDpEBXIxjEsE2Lrs1b2yYF1BY/i69aZNDCfrW0lDBp153g7SJR UkkXPQUffcgwzhQjnTSbD37HOQn4sK1rgnoKXV+yFcIXc2Bw377h7L2EQ6x1NwQUoFKV WBww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUpBhcU4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116487-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 11-20020a63194b000000b005dc956b1631si7456544pgz.371.2024.03.25.05.41.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 05:41:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116487-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUpBhcU4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116487-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4113D29785B for ; Mon, 25 Mar 2024 12:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE3296FE13; Mon, 25 Mar 2024 07:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XUpBhcU4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3390D180A75; Mon, 25 Mar 2024 07:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350627; cv=none; b=Y6nZr5ErM9usZlm2BeBY5dzg/Vkc8ZqvU9YTrCTITDes+ilZGCJZjAdUWXlxgAO5HPZA5NlRSWyDDftI1G92mJ/F7kXs6R/6Cd7rEcwtBaJvktfjnSv/eYmkF4A9bXWVO7Bf3uCV/RVriso1k8qS3x4n7fCC+bC0spPIRLzDRGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350627; c=relaxed/simple; bh=BOO5AFiKarAvKdN17nScbLEokRrc/g2D/BQM9yhP4d4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X/PqwWcoxR9Fj2dukxxsnA9cxMn5dkYwG5HfXJ4NM3U9SYpI/qQsQ8GNpcVbvzpIvkJEiYkVePMmKxA4rLJ7lww/SoH+GZum4X4SukNWpOeNfGwoQEu4bSPBfwiL0oNbPwpLVDos8/FEAQdcW4kWMRpcKerWcFfzvGOY5Z67O/k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XUpBhcU4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56255C433C7; Mon, 25 Mar 2024 07:10:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711350626; bh=BOO5AFiKarAvKdN17nScbLEokRrc/g2D/BQM9yhP4d4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XUpBhcU4GiganFQWfcpsbaYVp+TsJUR7YCqoseHr5vZC0zMb+B2R5tSiJS9wEGs5i l26JyR1LurvCl22zfC9wlGhYjNiqb1/jW6GwMWiXDulr1ECjCaxKJ8GHElD9typr/r xIr9JRV3OtQWryAMUNEdkuaH/PTVfMxSpYdbaTtPW3CyrD74V8fYHhcIYa/M5LDqsC ilHVHSVTcdeMBjMzZvGW1r4QgrqqyC+auJ1ZQKC5IZwmlSEfiTLs6V3c2PDFCco7c7 cHziWs6eB2Saz+fTKwatFYcm6UIv455fJxW0zdPpbBvMfjw0aFu6iR2GhrSOelQsk7 nY5UqTzGjEMoQ== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivami , linux-scsi@vger.kernel.org, "Martin K . Petersen" , Jaroslav Kysela , linux-sound@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, Hans de Goede , platform-driver-x86@vger.kernel.org, ntb@lists.linux.dev, Lee Jones , David Airlie , amd-gfx@lists.freedesktop.org, Jason Gunthorpe , linux-rdma@vger.kernel.org, "David S . Miller" , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/28] drm: amdgpu: Use PCI_IRQ_INTX Date: Mon, 25 Mar 2024 16:09:21 +0900 Message-ID: <20240325070944.3600338-11-dlemoal@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240325070944.3600338-1-dlemoal@kernel.org> References: <20240325070944.3600338-1-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c index 7e6d09730e6d..d18113017ee7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c @@ -279,7 +279,7 @@ int amdgpu_irq_init(struct amdgpu_device *adev) adev->irq.msi_enabled = false; if (!amdgpu_msi_ok(adev)) - flags = PCI_IRQ_LEGACY; + flags = PCI_IRQ_INTX; else flags = PCI_IRQ_ALL_TYPES; -- 2.44.0