Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3053247rwe; Mon, 29 Aug 2022 05:11:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Wokzc65QmUqEJLtgWNfVX7XARKwyV3I8dtl1/sccjS93XObM7TW5yGZJ0YujIdzY98z4T X-Received: by 2002:a17:902:e548:b0:172:aafb:4927 with SMTP id n8-20020a170902e54800b00172aafb4927mr16819783plf.106.1661775113820; Mon, 29 Aug 2022 05:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661775113; cv=none; d=google.com; s=arc-20160816; b=FyC4bHeWVJv+S5D1hhQHkAVSAUVVmbHdSh9xGcU6Febo/ByNKyv06dOcAnIJ0rX4t5 kqjDtFpExtSwPR4mLFzoQ0e2LLbTlFGcLHq4ishAxvmbfuXiQud7tg4dgrl5wEubMDN5 4sPY2uBmSvhtuLN9alVYCAa93ch4lAzv7p4X0DdirCLjaFuh0X991+SB/FECt3n6Wg86 MtjoYT5p1KuLPfcWAj+cOSH5CMqpgOS9FVUhok67elzhjaG7iaju6KqCgZe/inE50QwB AbeldOiEpKfyhQ28TlL7TebZ/m3tK8NcFCDl1zPwv4ILO3q+Py9csT6fzpYl5CTJvd4w C0Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RzAIOk6JRdRYNBK79pHt4NIl3Xx9VRCwUJ7ZJIXwzwk=; b=K/I0QcRmb/HlzbcQw+wCsF88vupJWjLpNR+WiUss+rUIyCCjBHkQFQGdSBhQquzJKS nTa5mWDrOHNw9IYG1HniRcrE1+1aII5n/tYFLAUSxhWptjCIvRk+CpQwQLy5fcBuRZJa CJ4vPuSVSjM5rObHlNnoV7adra8LlAD9F8IjKIzsD6D4K6XEuihyB+2+Y7wn5fOgrTfw 9IqyFg//7OgcycGoJW9zTcwL7/Na51EUIXpBTR4NC+Nn1BZf2G5s3obPvW5ymDVre6ug HTu0jWC9Sho0ODDjL7HcbBbf1pOx+H3qiSOt60st+XPThE4tocC6Iu9JfqXNWrnlSXFE TqKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KGYcVOkj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e123-20020a621e81000000b0052adcf5e6dasi559232pfe.186.2022.08.29.05.11.42; Mon, 29 Aug 2022 05:11:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KGYcVOkj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232168AbiH2Ldg (ORCPT + 99 others); Mon, 29 Aug 2022 07:33:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232459AbiH2LbR (ORCPT ); Mon, 29 Aug 2022 07:31:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A7C67C51D; Mon, 29 Aug 2022 04:18:39 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 192426119E; Mon, 29 Aug 2022 11:18:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E8B3C433C1; Mon, 29 Aug 2022 11:18:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661771918; bh=3dS8Cl8OdudEu8+bE1purv/USvTN3iusgBurK2pHTfg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KGYcVOkj6cxbm73RSYQ+euU8a/4zozO2c+Wg817UJoYYGVRXeWqz/H0m2h1eu5rhJ KTq2vSgS7stTb8bi4iOipER3pFarhzKJuUewRgiRpfvUeIjt4PlMrFRPw7m9dbgReS pscRtmjSm0h/Jfx5+d0WKN5hcL0963Kyv2tKZoz8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Prike Liang , Aaron Liu , Alex Deucher Subject: [PATCH 5.19 140/158] drm/amdkfd: Fix isa version for the GC 10.3.7 Date: Mon, 29 Aug 2022 12:59:50 +0200 Message-Id: <20220829105814.955906840@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220829105808.828227973@linuxfoundation.org> References: <20220829105808.828227973@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Prike Liang commit ee8086dbc1585d9f4020a19447388246a5cff5c8 upstream. Correct the isa version for handling KFD test. Fixes: 7c4f4f197e0c ("drm/amdkfd: Add GC 10.3.6 and 10.3.7 KFD definitions") Signed-off-by: Prike Liang Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c @@ -377,12 +377,8 @@ struct kfd_dev *kgd2kfd_probe(struct amd f2g = &gfx_v10_3_kfd2kgd; break; case IP_VERSION(10, 3, 6): - gfx_target_version = 100306; - if (!vf) - f2g = &gfx_v10_3_kfd2kgd; - break; case IP_VERSION(10, 3, 7): - gfx_target_version = 100307; + gfx_target_version = 100306; if (!vf) f2g = &gfx_v10_3_kfd2kgd; break;