From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 318FBC25B4E for ; Sun, 22 Jan 2023 15:28:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbjAVP2q (ORCPT ); Sun, 22 Jan 2023 10:28:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjAVP2p (ORCPT ); Sun, 22 Jan 2023 10:28:45 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C98EA20074 for ; Sun, 22 Jan 2023 07:28:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 80932B80B1F for ; Sun, 22 Jan 2023 15:28:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD066C433D2; Sun, 22 Jan 2023 15:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674401322; bh=85kQ0T4gD/QejF0oASW15FZVXbt2jPFPzQ8XZIW3dcY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rpj6zwdpA3OS3u9H7f7id534/fvufhL1zb1s2QMWwcYnaEvJrhEYZiyJ659d/aPIF Wipa4OHqOdP+X9Hn8ht2mRzMz3WX1im3w342jpJYUnYCG+7cG6LU2pW94MQip3mFT0 0XzDq8UtgmLnzVTQfCnoxxgSqq89HpaUj1k4WJGA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yifan Zhang , Aaron Liu , Alex Deucher , "Limonciello, Mario" Subject: [PATCH 6.1 166/193] drm/amdgpu/discovery: set the APU flag for GC 11.0.4 Date: Sun, 22 Jan 2023 16:04:55 +0100 Message-Id: <20230122150253.995420918@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230122150246.321043584@linuxfoundation.org> References: <20230122150246.321043584@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Yifan Zhang commit dd2d9c7fd7716838d477e257f43facd68c53d3a9 upstream. Set the APU flag appropriately for GC 11.0.4. Signed-off-by: Yifan Zhang Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher Cc: "Limonciello, Mario" Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -2199,6 +2199,7 @@ int amdgpu_discovery_set_ip_blocks(struc case IP_VERSION(10, 3, 6): case IP_VERSION(10, 3, 7): case IP_VERSION(11, 0, 1): + case IP_VERSION(11, 0, 4): adev->flags |= AMD_IS_APU; break; default: