From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=148.251.105.195 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796293046; b=Son/qbh5K4VSs6gXOJhsZAFJR33ATOsuyIDoCH9mu5ey3NKVQzeTHOQmBHO10SsGGByM gqic0XP+zeBYXZMQrqL5MZxpkmN/Ih82CYgtVtxFKKBFOm3dvFjhcyFa8sk9upUpD3YDU tM3uWvA6GF7F4wtb6tLDO3I1jyFWxY862iEExJEoJsW8hCnk+pQsdDBS9PLrmWlmgONgl F3aET6NGz3Qpibss6GX6pRSAhqX5KzmRn/vGkOI0d1Pljg5OLX224IwXXaY81i+6r6Z0N nhXdoW9u6WSlhq/sH+66gRd0UYAEf+LFqNgdf8D4nplCcaBDCZpB0KmA390SqJKB/YQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796293046; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:In-Reply-To:References:Organization:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=o2F3sDTUJfWsV2ACd4J8q7Oa3HlyJmM0S5rZsNgtHwY=; b=rfOQXlzF8trWWOveR3FzJOKFpO98fTLww+KIu2LIwQ1iKyPhWxQ9fIWvyn/qLIKJT3fP Qqp/oBqVK71ls68xWcd/Fu8cnhJLnRtBzwCk2U/kOl8+QsUZmpnfMyIuB2PpbVzWN8d5Q FAaWuCvtoImPeePyMGLp5QH6a7U+KbO2Onol9Ges0ZQWA/37VShe7GSpJ3DdGNlYAwd23 VzAdpz8Egre7a+2HQF7loSzH7ccnpdhxddR7SzuF+Od5AGmoWw1EjF7n4M8i/nWP08xjW OfCgbXu9d3WcxYfOEwpDiF0VKPIUEVn0fCP77HgUf73AfqaAlYCWSGLRbBqTcOAq7AQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=kGRyKtaW; arc=none smtp.remote-ip=148.251.105.195 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6AE59606A322; Thu, 3 Dec 2026 10:17:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6AE59606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=kGRyKtaW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1796293043; bh=8gf2b4POhGDE3L+cMDRBk+sqAV4gF7l8DDS6Cv3floI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kGRyKtaWNSW1q1eVbW/SsjhoaQTd6+7YRol7ODPxVWX1MSLsYyZVv+LyNVlh0CYcI jHhHpib2lq1NVbWOd4wEpc19ZNBcAZcbh8Hxh/HVBKSll/qwMYpWvaPZBIbNXewStb 9fmMgud4oS1I/92V97I7nKS7jxCC9XXEPmg7u389zprLvRc4GBVd9WGLtJAq+uPPPP bOgYxwvjlGo+Wyn0laLPS8kzUiOxYyOFpxGi6AbGBxHT6z8cN7D7/D1SdReDDhrMPN xafLOsaNz0GKXIYGW83FcPYgtz7Fffm/QyIXXs/FQXT/DUcDCtsv094aihpfICRlk+ lrEiAcNCcAhEg== Received: from fedora1.home (unknown [100.64.0.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id 8AD0F17E05F2; Thu, 03 Dec 2026 11:17:22 +0100 (CET) Date: Thu, 3 Dec 2026 11:17:18 +0100 From: Boris Brezillon To: Tvrtko Ursulin Cc: Steven Price , Liviu Dudau , Akash Goel , Karunika Choo , Lukas Zapolskas , Chris Diamand , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sumit Semwal , Christian =?UTF-8?B?S8O2bmln?= , Philipp Stanner , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, Xianzhong Li Subject: Re: [PATCH v4 1/3] drm/sched: Eliminate NOP dependencies at insertion time Message-ID: <20261203111718.76144d52@fedora1.home> In-Reply-To: <20261203103833.0f99048a@fedora1.home> References: <20261202-panhtor-dep-skip-v4-0-f84482d7a49c@collabora.com> <20261202-panhtor-dep-skip-v4-1-f84482d7a49c@collabora.com> <287283e4-261b-4ebb-92a5-14d5d2a2b443@ursulin.net> <20261203103833.0f99048a@fedora1.home> Organization: Collabora X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 3 Dec 2026 10:38:33 +0100 Boris Brezillon wrote: > > I guess I need to come up with a different benchmark and look at > > different metrics. Like (soft)irq/s, power, not sure. > > Well, the thing is, it probably varies between drivers and depends > on different factors: > > 1. how HW -> CPU signaling works, and how long it takes to process > the IRQ, schedule the work and push a job to the FW ring buffer > 2. how deep the ring buffer is > 3. how likely we are to have queueX -> queueX deps with no other deps > (you seem to prove that this almost never happens on the amdgpu > stack, but I'm sure that's true on panfrost/panthor), or even how > external/internal deps are ordered in the chain/array > 4. what the UMD does (internal timeline_syncobj, export/import SYNC_FD > dances, ...) Forgot 5. How beefy your CPU is => I've tested on an rk3588, which I guess is more powerful (more cores, higher freq) than the NXP platform Xianzhong is testing on, and I don't see such a huge difference between wrapped and unwrapped (~1.5% improvement, which is close to the noise we usually get between glmark runs). The tests were done with both devfreq and cpufreq governor set to performance, and RPM disabled.