Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1905580rwd; Thu, 18 May 2023 20:27:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZC8/7WBS/kTB2zPLANdisJjG1/iRNYfCjKfs+z2D36RyOneDTSPFOA1GePmDjsNz5f3ha X-Received: by 2002:a05:6a20:7d94:b0:104:3f3a:c973 with SMTP id v20-20020a056a207d9400b001043f3ac973mr2186780pzj.7.1684466845212; Thu, 18 May 2023 20:27:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684466845; cv=pass; d=google.com; s=arc-20160816; b=N14O9NAyPG8LE5lSxtpzBLbBNK3Jq/54/I2tUYIK0YrwDjlh9+iNd9lnkOvM4kAB7d h+CW2Axft2Lj8lOpi09WOKxXiozHDE7UTG4eSyPXSOOwcL+Cd0Q7C+pKmAV6uMqxQE6n HjtDO1z1Jues8fjE8eu0zhpMCodFMnd15/6pgHfH4JzsNHOHN+l+U9KTnRXlmmWcF8hl ZYXsL9F87CPwrqZ1clgS/HNwQNljM+wZpPLRjbiJ39sc+EevQ3ugOSgH/YXfvwHjt3oa xfB6UKFn4THWaCv3Zt5TMyTaHwT9TQy0Q+ETPNRpQUBltTIdaXH3wngGaJ4fjtL3fQCO HSdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature; bh=X/xzZBhxsnYMR6g+PxM113Go50OkDe9y8NOOynJrwo8=; b=haUcyQnhHl+Jh68vxBDNnNW4wsQzlb8Bo4k3cy+Q4nYPMthp6wDiFYjThqIYZWDTnF i5Lb2cDQKXKU/XlcAz0rKKaFaWxLRUGXOYgxoVNu34uJJp/rdJBhYln/5WD/ACa0P0qc Cu5CNDq3N/3TxunbBHS3wt8SV/r80ua9ObTR41RYuSjCFboAQGPJE1Mn6Z2kTCTCiSKu 8tYpCB/zTNMs8la1B3xsQH5KJ2Qa9F7aFnmsGHaMEl2jpUAgo+8rBRlkt/lbQVueV12S iET9IRdHxJJ7reHaQBqqxsACp77O6NQ9iL8cZQzNfvJNOuFS9qXGq5l7ZpmikxUom6qz KJIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=yh34tv4n; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d184-20020a6336c1000000b00534855314d7si1279483pga.450.2023.05.18.20.27.13; Thu, 18 May 2023 20:27:25 -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=@amd.com header.s=selector1 header.b=yh34tv4n; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230076AbjESDKm (ORCPT + 99 others); Thu, 18 May 2023 23:10:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbjESDKi (ORCPT ); Thu, 18 May 2023 23:10:38 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2064.outbound.protection.outlook.com [40.107.223.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0006419B; Thu, 18 May 2023 20:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YnblvInAFfoxPJkf1BipKx1nL/CVhDC1u3WASDqlR0cP4q6vg9OOz3bUlbaClfVXVJ8ZVZflSp2GFddtalGzbhVBc9x2MxTzJCj4yrXgzd5wEU+dpDKnd7cg26I9vTPLd/rYgiQ+W0yJXQRVjF81uOx6Ou2zSDdU4gPAmTLU9VP7la3abL2nfZKq8SktSKl+a2ojHs+ch6Bs7b3u9dH4o0MbxPd3j1c+PGO0cYDGov324wPEVT9JWP6sufpNkhfD+t30iXEXzTWWLLPdMZjxbW8ixryLJ4XhWAqOIRlkIm5ZCGOB43MR6Db8uquAlCDCCGNoawvf04I+h2iYbd8VOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=X/xzZBhxsnYMR6g+PxM113Go50OkDe9y8NOOynJrwo8=; b=ly4zSyS7zpM99WUwh7lzHV7Yabk7293tFmMI4CBh9K+C2MbR5OVukrDi2DLT8oqLppZ8vVW/LI8T9tF8bNyFQ0gsNZta8mllTZCjQ3YWf9PkrnaLIImk7FtgjRaAy78AJSp0u+kOoQNyPfZtE9Z+N+VYZHVGK/41SEWzqDXbCklgvgwshlAD3l82LuFQJwuS6AM24vU0IpQZ6SUz2u0oKQ0xOkI/lGZbXETUm+0V+WD8xO4QqebnlFoSrJZGx+A20h4pqnZm2nhTG6UPpAiAPCN/t8SsT1Alivq3UQJZAa5L6PkhUtr4MBmzJQpDrpx/6JeEe46R9JJXejnYka5WDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X/xzZBhxsnYMR6g+PxM113Go50OkDe9y8NOOynJrwo8=; b=yh34tv4n2by0jiMy2XMFBP/x4Ab2Y+y0LrrhlxdbS2SCaJHmY2RLSoFnRVQVRYX6kysaZ2aRrQW5v6N626BXl346pPQ2KP/royQZafAfD+QtIjy30i2ofwnstOwdPm8ZO8knGduFm5SMjbu13uzV3x3PBTkSRCYyPCGErtFIz6o= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM5PR12MB1753.namprd12.prod.outlook.com (2603:10b6:3:10d::16) by IA1PR12MB6387.namprd12.prod.outlook.com (2603:10b6:208:389::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Fri, 19 May 2023 03:10:35 +0000 Received: from DM5PR12MB1753.namprd12.prod.outlook.com ([fe80::29b3:39df:b69a:7db2]) by DM5PR12MB1753.namprd12.prod.outlook.com ([fe80::29b3:39df:b69a:7db2%11]) with mapi id 15.20.6411.018; Fri, 19 May 2023 03:10:35 +0000 Message-ID: Date: Thu, 18 May 2023 23:10:32 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: linux-next: build failure after merge of the amdgpu tree Content-Language: en-US To: Stephen Rothwell , Alex Deucher Cc: Alex Deucher , James Zhu , Linux Kernel Mailing List , Linux Next Mailing List , Dave Airlie , DRI References: <20230519100608.7e836126@canb.auug.org.au> From: James Zhu Organization: AMD RTG In-Reply-To: <20230519100608.7e836126@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YQBPR0101CA0128.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:5::31) To DM5PR12MB1753.namprd12.prod.outlook.com (2603:10b6:3:10d::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR12MB1753:EE_|IA1PR12MB6387:EE_ X-MS-Office365-Filtering-Correlation-Id: 54c03855-8b2b-4bc6-b1da-08db58169d15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K6s/v6j4eCTPYHgpgHlYQPTg2i6H0TzSTqtrpt3BeAlUiLJENC2QzcZxh4uqstR3vfZjLvwGu2d/nJTFXn7cWW9GukHHEWzhxVAhrrZh6xS8IKvlW7jqkr3fe8p6iIF508xugGu3t8CdQ46APh1aFaUZkZETlMtJeaRFWzfxi+DuZYR0/Waj8PMQr9DzjWCA6QDffdUf1ZFBl7dHDjjJ6NvCLLOu1TaqvUUoJ/p7YCCbBmt9qy+wNeGnCzur1FbJ8GEwsaYDCyBtjf2kt0SfZ8tKKKl94JU3RSmukZ1nrPnvUQ5B7zbDAzH1qzpies6gI1pZUQcRdmWU+CNFZAp+v/v1q8g6gapRbhpbWm5rG5PjngaKBpHZnpLoEPE/l6+nJbBJeaObRbXmfB0n5GOTHWdeBmRx3Fm8lz5QOsUQoEGu2QRrNzJRCNDJdzH5BCZuGeMR7SwjzxNIzWENnmthAGj1i+TD+ERApsENcUVzia/tig9obJUwxNZ1VG9bssOfxxTSUR2Gp7Yq1Z+ZnFUYWTfKJRheHwDx+McQ0SQVyAsSDkZKdLgwTGyFohmmTzEoRWomPgCTDogcQeyi3XR69mTTCKp7SveT77cYpvhUx+w= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1753.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(366004)(376002)(39860400002)(136003)(451199021)(2906002)(4744005)(478600001)(8676002)(41300700001)(8936002)(31686004)(316002)(54906003)(110136005)(6666004)(6486002)(66946007)(66556008)(66476007)(5660300002)(4326008)(966005)(6512007)(36916002)(53546011)(26005)(6506007)(186003)(38100700002)(2616005)(36756003)(31696002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d2gzQmJ6WTNtdEdocVZLMXA5NHFiTXlOb2pnMEUrSUx2aGNHajVXR2dtd2hw?= =?utf-8?B?Tk9qR0U4M0QzR0lPNHFmOW1VTXRmdlM2bjVkS1QxWW5zeW5lT1BpNTBRUCtN?= =?utf-8?B?M09pRVlpbG4vOVhlTGVnQ1lySmhCOHZaSVNRT0dwOTlCcjJGN3B6eW9DN0J3?= =?utf-8?B?cTZLbFBTM00zWWVIM0VZY2lMZi95NEtnTnA5dkNpdE9JT1VjZ3E4TWhwMTlB?= =?utf-8?B?Y2FDQmVtd0Rnc2F6Y0ZOQmpEOFlZZXFQMlBDUFFYODllZjVOaUhzR25iaHlT?= =?utf-8?B?WGtlRVRJWjZyUU5tTjdSVUJDVlpITytYSzZxWWhvL00vVHBXWXVxdGo0YjE5?= =?utf-8?B?UmxrNGNSREM1eGl6Y0MyWkRBek5MVnpqUWN4MGw1aWpJUGdZS01lKzRvVFly?= =?utf-8?B?bWFnVDlRUDZtSlc5eTdsVmZhV1NYVnMzaHIwZ3BKR0dpZXlrakkveTZaUnFw?= =?utf-8?B?WS9XU0tDbG8yd051VURYdUJrZDh2cXhMZURiSmJISEorcjFoSUxKVlVwR0NL?= =?utf-8?B?M3kzWlBZM1hPYjhTbjBRcFFvSXJvMXVZMEkxZm1JL2VZZitKY2xFN2VQQmhX?= =?utf-8?B?bUxuMHY5a2tqcFBqU2wwV0ExclFkMGNDRWhtTlh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wZ0t0d0p1RXlhbEFhQkl6MUFQcStaL1oxczNW?= =?utf-8?B?c0UxRXpQamFKU09ST3p0S3dGd3EyMG02Y3Z5dUU1T2M5Ym9lT2VrTXNGcTU4?= =?utf-8?B?ZjZ2dU1jQXRSNHRxNEV3YmhTSjMxMG9SZEtERFNyU0xEVzlYZzNVcG5CZTVw?= =?utf-8?B?K3V0NWtRc3llWUVUcDViNUdIWnVSa2VqK1NsRUw3b1BYeDB3TUs2U0FZbzI1?= =?utf-8?B?UGlJVlFtTjhRTE5UYzVURElReGhXTTFSTnVEWkZaSGV2bXBwUnpEdzJOazFi?= =?utf-8?B?eWNzUTF4Q0dGdzNSTHJ0MmRZQ2tyRndpS29zRmFrUDZuTkdkVW41RVNtWjZI?= =?utf-8?B?TURiQmtrek16VHhsS2hDYi9yRDFBV3lwTHZDMjVRVkxGZkY5cmYrbHNvUXFz?= =?utf-8?B?bXlyUWRRWGljbWw3KzY5cG04Y25NSUczSTlTNXVmVDZNcVNsdzhUSiszVXdz?= =?utf-8?B?eDM3S0lJQVZDdFFZdjNCU0dueFdJclZIN2FzcEd6eHBMUWFTbzJ3aWRxTFly?= =?utf-8?B?U2ExbVJyT256N2JHNDBQVlZISWJpZ3dmVnpDdWFJY2tkMzB1ckdSLzNtQ2hW?= =?utf-8?Q?G0ORaBUeCt8+qNORr+p++Us60?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54c03855-8b2b-4bc6-b1da-08db58169d15 X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2023 03:10:35.2896 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: X6HY9ro8jQb1WDVsjvq2S67E8fTo3LqJaljg+Tot8//jOn7sA5zyEZUinpkE2OOG X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6387 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Stephen, I saw https://gitlab.freedesktop.org/agd5f/linux/-/blob/amd-staging-drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c#349 should not have this error. Thanks! James Zhu On 2023-05-18 20:06, Stephen Rothwell wrote: > Hi all, > > After merging the amdgpu tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c: In function 'amdgpu_ctx_init': > drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c:348:26: error: 'fpriv' undeclared (first use in this function) > 348 | ctx->ctx_mgr = &(fpriv->ctx_mgr); > | ^~~~~ > > Caused by commit > > 2458393a4e98 ("drm/amdgpu: keep amdgpu_ctx_mgr in ctx structure") > > I have used the amdgpu tree from next-20230518 for today. >