Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp881604ybx; Fri, 1 Nov 2019 12:49:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTWoptpG2Nzu6CW6aATxNUCJxtjMo68lHmyrTsad5qlM5xdqaopkdQ5UwDNbX+sMn0srJQ X-Received: by 2002:a05:6402:78b:: with SMTP id d11mr5026936edy.92.1572637756248; Fri, 01 Nov 2019 12:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572637756; cv=none; d=google.com; s=arc-20160816; b=CRm9fgEIElCMLsKZqIyfBc/uw1cy36g8cSMbfkHtYQpCtjkb7rtZ9C6EYeyFpYfO8a L2Zal6wYALNRjAKV9E0wFrtsAsusAAWbBGPj9miFHuUZZpGRDaWwaO15iQrIdKB6sB/i hI0Dg6iFlIFM38V/VxU88o4YtUkaKv9Y/4axgJovhic6Vy0FJ8873yzp7CX0fNbW5BE5 ktO0EmDpTU8xnrLUbBPANdO2iYQdd4dGEcSJRKzHfD/2FONF3Pt14ehMV+shtUo86SqX I2G18/fxXJeEzXi2IZ1IYSCibZadXptaLFNTOjh6AGuquHD5zcGlLFzH7nhC0/jDRZMW 1otg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=axzshPELM7/h/f56rh7I6+q9RKvy3Fkbh152ongAIZo=; b=hC4xyFE3ili0UKBGq/YbM5zJ1OSbl5m+wPKHQQ0OtLV5YDaV4vOFpjIFWNNox8LcwE sD3qJtTqcQxkmOsA9UBqwRAjnGeuIQmPhO55UNryEtf3CIGxa+sNBLKKhfre3ne3GxKx wt9QHs4Hhni4HqaaBFy05hbx4AAMno7KcV3oBRBZbhvmB2RQ/IW05mmLKekoxAN4G8xP St6eghlYjvv7j6+1ZJSCXx9933HSESrMbHB7DbuZ9jp3NENMYQi7RZ/qCXXqtecioCX1 6PqXe8tyEqLp/RnfBvUFad0tCjkGVDY+vgShDElYRAypy1814j5Idl/kYGZanxOnvLZ9 IxWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LWzaFQtV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a27si1231261edm.187.2019.11.01.12.48.52; Fri, 01 Nov 2019 12:49:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LWzaFQtV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727437AbfKAToS (ORCPT + 99 others); Fri, 1 Nov 2019 15:44:18 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:32900 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbfKAToR (ORCPT ); Fri, 1 Nov 2019 15:44:17 -0400 Received: by mail-io1-f68.google.com with SMTP id n17so12131882ioa.0 for ; Fri, 01 Nov 2019 12:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=axzshPELM7/h/f56rh7I6+q9RKvy3Fkbh152ongAIZo=; b=LWzaFQtV8lpRJL4zRxgdrqJXFvoWyXicqfLJbq4fqq9D4a5jegOQkkt6TItBaijwyF UiSLZdvb4KbyvXkIug/VziNjxWrWpxIfOe1cq+3vyMhbfZwv5tRFafD7MKI1RQ/dZGCR h6K9PPGKZwLD955fa25U/L1m2f7Kf1k1h3pUU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=axzshPELM7/h/f56rh7I6+q9RKvy3Fkbh152ongAIZo=; b=FFLbkaENujIlnN4bUyJfDKVFa7vapvB3b/5/ScNjSNIoPFCxvqIhOw6mC88rLvhTVb rN3npmyp8TT04VkbOrQ/2Lrif/NmVLiduWKmoiSYnNpZAoAblzHBA87lfs8zAfesBi0G yanTXJSPIdYkkYVJN4nAnpml23dVY0uQVgKUcD606b/EnI6eBXKjzYOcRvr6vLMx/KF4 QGIbHRJo7sSXZYDDn9pYUUAE6c5Iggf8j+Nbj2hZRhEcXzHCLKztXDt1yFOJEzM2Th2Q m1sVWe+6fO38Ui1AFCRaSbhnQb7nPdSWSgv/aCHdheCwh2u+wKxeAK3vDQ9AZV+rkFmI fBcQ== X-Gm-Message-State: APjAAAXf7XCESqxpzBHvXg4zuQgcJX/UJtC2sX0NiRrPWlCaFPiXjKsL iL7iYe5rA1iOsLZugPD+VitdPWUrA8G4nDFe91CrIw== X-Received: by 2002:a5d:9053:: with SMTP id v19mr11719168ioq.244.1572637455610; Fri, 01 Nov 2019 12:44:15 -0700 (PDT) MIME-Version: 1.0 References: <20191101180713.5470-1-robdclark@gmail.com> <20191101180713.5470-2-robdclark@gmail.com> In-Reply-To: From: Rob Clark Date: Fri, 1 Nov 2019 12:44:04 -0700 Message-ID: Subject: Re: [PATCH 2/2] drm/atomic: clear new_state pointers at hw_done To: Maarten Lankhorst Cc: Rob Clark , dri-devel , Sean Paul , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 1, 2019 at 11:33 AM Maarten Lankhorst wrote: > > Op 01-11-2019 om 19:07 schreef Rob Clark: > > From: Rob Clark > > > > The new state should not be accessed after this point. Clear the > > pointers to make that explicit. > > > > This makes the error corrected in the previous patch more obvious. > > > > Signed-off-by: Rob Clark > > Would be nice if you could cc intel-gfx@lists.freedesktop.org next time, so I know our CI infrastructure is happy; > > It wouldn't surprise me if it catches 1 or 2 abuses in i915. > > Otherwise Reviewed-by: Maarten Lankhorst > > Perhaps you could mail this to version to intel-gfx-trybot@lists.freedesktop.org using git-send-email so we at least get i915 results? ok, I sent both patches to trybot, hopefully it tries them together, as this patch without the self-refresh fix will definitely fall over BR, -R