Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4243131rwl; Mon, 3 Apr 2023 01:57:41 -0700 (PDT) X-Google-Smtp-Source: AKy350ZNgSK4dQf4kUqkTyhU5v0FBeeuQYbQcl0ev2+/wOhQonJys2lntBCVdYFvNO9o8hIRUxsv X-Received: by 2002:a17:90a:3:b0:23f:dd27:169e with SMTP id 3-20020a17090a000300b0023fdd27169emr37580976pja.17.1680512261579; Mon, 03 Apr 2023 01:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680512261; cv=none; d=google.com; s=arc-20160816; b=nZwpMTDWhBYnczlJ/jqe22BlvuDxsV2QGFz2tHLmBZwUWRZ2OfN7mNRu5aIVwoN1In T1/EBr1PifQQFOJLEQNDFieCS/MslauJ0WqtTjKDjgiq2v+A4442QB3yJi1U8BeKGccE ZD/SsLN8BnZcE+9CVSkovIUumWzH+CWGJ0Tos/cliYkssL316sbv3Kw7j3l1vUppFped 53C7jliIPZSdIA/6guNENCdJvRRZISEFgsquhmNFQlXryJgOWPf+QXYXga2O63l8IwkD O1NaW7IUqoy75YEbfj2hOuJr/qNYKHpUFCPpv4w6nzP/pLdv/MDBp8tOfzUiyhYZKHYn LBpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FymDryzt1xBzbE+SpKvnTozEFbclbNgIFpbMS++SyVU=; b=K24aRrFTwmzyptAIsYlEjiHBzxwF7k23ByNtwAw2Vf6flDhW4aUuvPOScVpe5fWHoz oPAb3Gkd8CxW/27h2C4py0ZMX6tRd9MFaNkBPhzj+Vt46ovy3LoDVdTh0ElPaCJJ+7sp jZZAqq0bv8LfkBeJMuDzWTq3Bddc32k/3u9bWTMaCV9USaAzH105507oP9pOE9pW5YNh 0RxQgHHdMbjF5t5wg0GQfxq8V+qzOxLSnGjAVIj+2wYZORygvqyp1Qt5XcOOtZQuQFRI n3n8h3ziOYTfoOJoXdQEEjOiwmDiOoGLtDYPoQcNumWEHhlsf8gXTG/ME9nUUHZBXrf4 guAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WQLhONVA; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob16-20020a17090b391000b00240263ef11bsi7788413pjb.120.2023.04.03.01.57.27; Mon, 03 Apr 2023 01:57:41 -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=@gmail.com header.s=20210112 header.b=WQLhONVA; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbjDCIvm (ORCPT + 99 others); Mon, 3 Apr 2023 04:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbjDCIvk (ORCPT ); Mon, 3 Apr 2023 04:51:40 -0400 Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD2653AB2; Mon, 3 Apr 2023 01:51:39 -0700 (PDT) Received: by mail-ua1-x92b.google.com with SMTP id m5so20276578uae.11; Mon, 03 Apr 2023 01:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680511899; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FymDryzt1xBzbE+SpKvnTozEFbclbNgIFpbMS++SyVU=; b=WQLhONVAXpN5OHyuTesxZLQCVH84lLcS8R//4zp4N5W1jHxF5GlEOMu++thn0Z8osa wse+65L8OESh9bizgwSYVrNCi5XOk2wqGxaeu9Jxmgn9TswzAZPTyxn8SbhIhHNbLlwk giSe4Ewsddb2G9rIwlLNlJdMjHjB19E39XCmz6rhVoPMVxtkOKu0NmFmvPeczy7Lmq/+ Ne6t3WZ+wZXYABufxAHZokA+Q9B2D8HCKfkyK+yTg4Sa5g5/DiZnb7eYyOKjkmS56/BD 13NPRof6md+4O6dicSgoOh5+j6l/+pCyvlFC5fZ2DLSyGJjreVZCYeHqHgz1x/zNg8lH 0BnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680511899; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FymDryzt1xBzbE+SpKvnTozEFbclbNgIFpbMS++SyVU=; b=Hjx5KhezhMm0BT3/r1LXb1qyNPu6+boXvynn1o560iA7QVj+FBn0B3gZZqjWxqoNu/ L/W0hBdtYDN8KxMiPV1lQy2GPsAF4QOxesM0HHC5VYQVQxIwodMroIvdWoAa5iV9HQmu hALKT/oWDwJB9ANiFqj58jwPiTTdIuAPUynKiG8OCnLz1ETbRNd3hsweT5cwV6+i251W w7Wpj1e153GlMkQ/qT641G+gBkMlPO30SDi+MuCsjgbYLd15IsMo/e1UD7eFSVf5KNrl rW2hax6p+c4xD02z62fHowQpPeEn+W6xGrSpZyoFOuiqKr0U+l35A0pjahWXVJ5wcK0h aTnA== X-Gm-Message-State: AAQBX9crVi7l5+mLaawslpggxErt99Qt2912gHz0UcqWszmhsCfXNRnS pqJNe+CxA4tj38poVQJ6Dddo97yuQTfZDb6IpXk= X-Received: by 2002:a1f:a8d4:0:b0:43c:6ef1:7200 with SMTP id r203-20020a1fa8d4000000b0043c6ef17200mr1391338vke.3.1680511898929; Mon, 03 Apr 2023 01:51:38 -0700 (PDT) MIME-Version: 1.0 References: <20230403121617.61e2a929@canb.auug.org.au> In-Reply-To: <20230403121617.61e2a929@canb.auug.org.au> From: Qiang Yu Date: Mon, 3 Apr 2023 16:51:27 +0800 Message-ID: Subject: Re: linux-next: build failure after merge of the drm-misc tree To: Stephen Rothwell Cc: Daniel Vetter , Intel Graphics , DRI , Lucas Stach , Erico Nunes , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 I think you can just revert the following three lima commits when merge: * 4a66f3da99dc ("drm/lima: add show_fdinfo for drm usage stats") * 87767de835ed ("drm/lima: allocate unique id per drm_file") * bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr") Regards, Qiang On Mon, Apr 3, 2023 at 10:16=E2=80=AFAM Stephen Rothwell wrote: > > Hi all, > > After merging the drm-misc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release': > drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' h= as no member named 'elapsed_ns' > 53 | mgr->elapsed_ns[i] +=3D entity->elapsed_ns; > | ^~ > drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage': > drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' = has no member named 'elapsed_ns' > 125 | usage[i] +=3D entity->elapsed_ns; > | ^~ > > Caused by commit > > bccafec957a5 ("drm/lima: add usage counting method to ctx_mgr") > > interacting with commit > > baad10973fdb ("Revert "drm/scheduler: track GPU active time per entity"= ") > > from Linus' tree. > > I can't see any obvious way to fix this up, so I have used teh drm-misc > tree from next-20230331 for today. > > -- > Cheers, > Stephen Rothwell