Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5677283rdb; Wed, 13 Dec 2023 16:30:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZbg9gN0T/RScvi3H1kGEpi5l41sS+ISY7CHYK6LX7Acq54Ka/vUE80JmjkbaSJyhpThU1 X-Received: by 2002:a17:902:e752:b0:1d0:b926:bbcd with SMTP id p18-20020a170902e75200b001d0b926bbcdmr6061129plf.54.1702513858285; Wed, 13 Dec 2023 16:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702513858; cv=none; d=google.com; s=arc-20160816; b=mGYQKMikD5iIa3PIYx75zUULSa1GGNBg3Na8TycPkHoWpJiliLnezAZkznuu9j+kLb UqxRHdydA34lL9gWprGiLnaON0ZS/zocdATSXb3GRz3iPPBx3bp8brP4w0OzRmeV6qAl +uUhB1NeU9TWh5hEPUo4CjQ05DqmjW/WrJmbJLcW8AtkyaDrbT8ZOfW+mvFZMavipFmi 1pW4u9cJf0uSf2YXhJ60+w3Ox5wdTMAeRuB8m8ghLFLFT8+hPCFqyWJg3lIKFmgQQaE0 nhNYN1ciyHhleo7Gz86yV8uYXKletJqQDvvnpgqdhzm7re6PSQpbUbHU7HupeGQo1M9y BeuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=oN4Rq76T2MU78KSmZ3OnQmRSJOzHsfBPUD6PRxAotV0=; fh=LLi8NvQuiD4qPv108K7vCeX5/r8lD+r5tx1c+h/QsMw=; b=OlfRk3pso3smsZM6Ng2JW4JMC0YXK/EojcAd4UCmPRSSZNP47ehoHH8uvBUM8oQoFh DYsnlKt2SfbHZU4Mjsv/tXmDcHndKcxhWHrR6QGroKtj6ftoI0hh+q7+KrU3eyg9YsmA nSuHCAoLUSV/LEfN3oZ4xqkJibrSf0kc9j+8P4oM/0koPGyCCIvG8dVCZRP319ddkpyc Sao4QpIulgFo1Q3hvzhoyHchbOutqXfdo085dZ4GpinJmzkYFETiB8ZSH7CrD2gRQ/9b wN+ezfkcDck6z/xQ8NIujI4JeDImY/sC+hDansGVRqhWf5cykGf9NgVEumZjQ7sL6h6n hi6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="GgF/206o"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id t6-20020a170902b20600b001cdf0388455si10191522plr.111.2023.12.13.16.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:30:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="GgF/206o"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AD051802E8B5; Wed, 13 Dec 2023 16:30:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442803AbjLNA3j (ORCPT + 99 others); Wed, 13 Dec 2023 19:29:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234125AbjLNA3i (ORCPT ); Wed, 13 Dec 2023 19:29:38 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEA71B0 for ; Wed, 13 Dec 2023 16:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702513784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oN4Rq76T2MU78KSmZ3OnQmRSJOzHsfBPUD6PRxAotV0=; b=GgF/206owCVa3yjb137/oOxXNM3NmA792b+6j7UxnDnI0nJoCpEQ9e+o6vHXqYDg6qjr2K OBn/8EJ5GV8ZMxITbo41EJvCH8o44rh3lxRSWXvG8RRJOBCl1pAmR2HQE3hPGc29z0a4Pk USpt5Em49+JTBuAHg7i2KzrV9i6NGQY= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-529-D4pnEUADO_mlHZXYijot6A-1; Wed, 13 Dec 2023 19:29:42 -0500 X-MC-Unique: D4pnEUADO_mlHZXYijot6A-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-67a8a7f2c76so96655766d6.1 for ; Wed, 13 Dec 2023 16:29:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702513782; x=1703118582; h=mime-version:user-agent:content-transfer-encoding:organization :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oN4Rq76T2MU78KSmZ3OnQmRSJOzHsfBPUD6PRxAotV0=; b=vebvwxoABmHcjreeRfFpTbAMBZxCAfBFayGl+PqC01W5YPJdI/T/d8FnpJ50dIwy+A 2W2yjgTi6KyLB8n7BO0xXwCSAc5D6RGIU8N4crG6xpP0PdzQFXzvUzQgpfGyhvDjssDW GhYkm/syZXY2RF8hobfwXFgmHLytDe/kCGr4K6WPnnkwmg69Jdrk/lxQ6eoC+YpvuSLv sWEvQZgkBBTlHLBbSiHJdLnJ0G2fjraG/FNOsEw0jgnbH3UW05dk/LqBGgLEtg1w6eoM aexdkW1RH/t9fAdCP+bvG0rhFFwBtd9ly4OZqFY6ke882p9ETekSs1+EKe3PGgMhWlQW FO/g== X-Gm-Message-State: AOJu0Yx2C8p4Geg6AG7XkEc0m9xWE1UFqYG8GBtqMenkEitCqx8CMP6c N4bxag9j/OrV9D3PUM96UhQyvXP4GTl5raq2BjPuZV/PAXFHxow2lJRNykDLty532AHxaf5EYat FZ5aHZfm2hjV3viMz1ToBjnYX X-Received: by 2002:a0c:c302:0:b0:67e:f0c6:f63c with SMTP id f2-20020a0cc302000000b0067ef0c6f63cmr3127418qvi.73.1702513782076; Wed, 13 Dec 2023 16:29:42 -0800 (PST) X-Received: by 2002:a0c:c302:0:b0:67e:f0c6:f63c with SMTP id f2-20020a0cc302000000b0067ef0c6f63cmr3127411qvi.73.1702513781828; Wed, 13 Dec 2023 16:29:41 -0800 (PST) Received: from ?IPv6:2600:4040:5c6c:a300::feb? ([2600:4040:5c6c:a300::feb]) by smtp.gmail.com with ESMTPSA id qh10-20020a05620a668a00b0076cbcf8ad3bsm4853219qkn.55.2023.12.13.16.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:29:41 -0800 (PST) Message-ID: Subject: Re: nouveau 0000:01:00.0: drm_WARN_ON(!found_head) From: Lyude Paul To: Borislav Petkov , Paul Dufresne , Danilo Krummrich Cc: nouveau , linux-kernel , dri-devel , Ben Skeggs , Daniel Vetter Date: Wed, 13 Dec 2023 19:29:40 -0500 In-Reply-To: References: <20231111120323.GAZU9tiw8e0RSzCGB9@fat_crate.local> <20231212224037.GAZXjhZUDeoq50xKJ5@fat_crate.local> <18c613ec092.ae61cf7d6029.4389632938517239705@zoho.com> <20231213113936.GBZXmX+MKqX/qOnPn1@fat_crate.local> <20231213124936.GCZXmoYDq8nMRs75XM@fat_crate.local> <114bf9f5790f637a6cdec4957244192d3bd76a04.camel@redhat.com> Organization: Red Hat Inc. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 13 Dec 2023 16:30:55 -0800 (PST) Nevermind - I don't think I'll need the logs, I stared at the code for long enough and I think I realized what's happening. I will have a patch for you to test in just a moment, just waiting for it t= o compile so I can verify nothing else breaks On Wed, 2023-12-13 at 18:48 -0500, Lyude Paul wrote: > Hopefully you're still on at this point - if you are, could you try start= ing > the machine up with the following kernel module arguments passed to nouve= au? >=20 > debug=3Ddisp=3Dtrace >=20 > Then see if you can find any lines that mention INHERIT? I have a feeling= I'm > just going to have to add a workaround for the time being, but I'd really= love > to know how we're managing to get that far on a hardware generation we ne= ver > implemented that nvkm ioctl for=E2=80=A6 >=20 > On Wed, 2023-12-13 at 18:37 -0500, Lyude Paul wrote: > > agh - thank you for repeatedly poking on this, I've been busy enough wi= th GSP > > work I totally missed this. Yes - I'm quite surprised that this is blow= ing up, > > but considering that looks to be a GT218 I guess display state readback= must > > just work a bit differently there since that's really early on into the= NV50 > > days. > >=20 > > The reason that was a drm_WARN_ON() was because it indicates that we're= not > > reading back OR -> head assignments properly. But, I'm confused how we'= re even > > getting that far on a non-GSP platform. I'm going to dig into this now,= but if > > I don't figure out a good fix by the end of the day I'll just send a pa= tch to > > silent the warning. > >=20 > > Thanks again for bugging me about this! > >=20 > > On Wed, 2023-12-13 at 13:49 +0100, Borislav Petkov wrote: > > > On Wed, Dec 13, 2023 at 12:39:36PM +0100, Borislav Petkov wrote: > > > > We're getting close to releasing so I guess we either debug this or= shut > > > > up the WARN. > > >=20 > > > Not only that - panic_on_warn turns this into an explosion so you don= 't > > > want that in a released kernel. > > >=20 > >=20 >=20 --=20 Cheers, Lyude Paul (she/her) Software Engineer at Red Hat