From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.44 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796300088; b=kp4wvCQhvyGqQ544rDXj9Hi8fYVtLtd2paGsyhA3P87MwTMf6dQcd/havb04Ouxtxzq1 bFrjZvL1NLBd9qTLIZrfBnJTXLRv8nsdH4/AnVMC80xMWEXroSOJvkjCwWnJHq35DJj08 t4SPPCYb1LGmoNq7Mg5lvmIuDO0dyL0FS3bNHyz8guL9bI6pbFeAtbWTdEAVgixYu8ps/ Wo5fjCr03YN0uU+HG66Dbrw2vGvZnFRwnmVXjS2latG+BilWLayqe6t0VFaWJIITq5+1I x65zSZxLxCXSiaSuK8q6S9L0COjnxbORnyntd8hKVOTqMu+AcVme9cqAt85te418adg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796300088; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=etxnZuiEUR6HYqW0NpyNCJQyyjkgDK0wlNF6kM5+DU0=; b=XOhCHYW3W3a0BNlgiy+O3HpPqYJSy002ENYge0YOy/mztz3TSm6oehkgfYVGzN1jDG8k P1xctM5MkXWFkg0nY7dfLzJfOCfn5qRb1H8bOLypgxZxW9P45pZzPhIXcTKYvQ5W5H1ud nCE3zDvgWaDwrPNITeXp8WKXU9A7jmZT3SVl8Zyv+LzS0li1eW0B4EtSNcpTnAhyxDS+U L+CAxRr8dHjKwgmm1JOoyfW/Bpi1NPTCO+Saguu1byWgcNLExcnwHu/xDw+Ya0hiqir7A dw5nOjBVpTTKjZmZZrMM+MQ3KnWsNU7Moo0OOzOOrGooWegFTAO/S25SzIRq1cBpLdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=ursulin.net; spf=pass smtp.mailfrom=ursulin.net; dkim=pass header.d=ursulin.net header.i=@ursulin.net header.a=rsa-sha256 header.s=google header.b=CNkBe5SH; arc=none smtp.remote-ip=209.85.128.44 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E67F9606AC09 for ; Thu, 3 Dec 2026 12:14:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E67F9606AC09 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ursulin.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ursulin.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=ursulin.net header.i=@ursulin.net header.a=rsa-sha256 header.s=google header.b=CNkBe5SH Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4a9a8d6cea8so10431175e9.1 for ; Thu, 03 Dec 2026 04:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin.net; s=google; t=1796300086; x=1796904886; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=etxnZuiEUR6HYqW0NpyNCJQyyjkgDK0wlNF6kM5+DU0=; b=CNkBe5SHsSxwiFekXdwspxEr3dr7Wc1xkIAlxrSoORZyzOW3lkGwlLmg3NzLTUjeCE y97Nfg/mREY6TgYicKJfEWELkzpBo3oj8FQgEWefEpnbqnrpmMw9YyClfUBr7ff3MPy5 N8bjA7BBWxGRrDcg1FqJ8tktzB1rtN0HC0aM6pUoFYnxiyJnMPYDURF1a2U1O7Qk1pmY ens13I+XGQyoVDwNRYz0ZsSh1CJkdlZHpYipxgpBZbzk6Opz81+y4QbeicrWk+7/EL6g A+e5q83tsbNeR7XfZCMpRhDK0AuFcZBbdWdwqDOwwBEVP1Mxzzv2lB2hds97CXsa6/Bn zuSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796300086; x=1796904886; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=etxnZuiEUR6HYqW0NpyNCJQyyjkgDK0wlNF6kM5+DU0=; b=QVGx+jTNkjIVKfpV7ZzNaplyaO38luc0l1S4bCpLwJIr6dlzHJFao4UDCbD0oFhKu9 zVkV2HW6Cfrd6bcfF+wx0gpwV/fx78gItRQqs3xZKAmg1nRTUSSwos0jCh/PTydkpacX qnSQtVUTt1Ss2cxC8GQArKaEymFb58EOi3orRKC9JBzbY+RqVWfr+32f/xLpUY5Vji0E sFTtLT/lSisDAOM1Ictnp/+RNf9LHMRVK3pWWp2ZCYbMbDhgeeIIkyW2j+bLspLzWBtp 4DA/UZFjWG7wKD6ZLjy8i0hHgK+1YkD3Oun6xw96JdR7p+Rgx3DhSnc68BQqdTWyDwOP 97XA== X-Forwarded-Encrypted: i=1; AL+hErHWnoAfY2IJohBcmFLf+bDgjvIw9u5XOWC+2Wygv7qgDQ4GCOAo1Nbb464PWnELYCrnM5p0FnzQokW5k8k=@vger.kernel.org X-Gm-Message-State: APuU4Z+Y2LoRrpCSYuPgjnDdxYKuNrimkPYr2vM6yLRZvGO5Z6OUIQWf HBRKl+7Zi8nfoWB94iYNQmD8rS2KqRe50fODWnr/vcbmulEk5JXNTLn4Vr/Zy9GGLgg= X-Gm-Gg: AZFdTZeQjj6CWY6O5iuPYfQeMNDB3EzqFJtZHtvDk8HFJLFNeSyuUhlOO5omDJs9tTe HKN4itT60wf0PNECpX7Qr9I0VhE1NOeVJd9W0Ja6q4IN3OX3VR/BCGdHqf4XrzGfnaq87rSZOVJ Y3StO+emzoS7e9WyWFErXe1tT9MuJEFiqioFK5MY+ngm7JEkiUtMFsn/JcQ2fNdOpxpI3xYJWYV mphzKyWPJEQGgpAmOX4DkGjA+BGh3vLBcJjfnhoVA9VJGJoOZgyZYvqcp4Bh/lTozxCZS6xNxiJ N4tXTcnjjygAH70h6rIyst94ogBtDPck8+3PZ0xdVSAoenuvDHGSeK7gk0av0ANe5YM0Ib3cd0U /OYiO9iGPqUjY4yloGHPmAQ4dzGJDu+6/hfTYuBQjm5N/J1OPBxyn/3pDJbXbzInKpWQd4jB8pv 4DX9fvmkqQYSytHsJkmeoZmwYq7qcau5xbsjsU6KXIVpGd977RZ0PNSC8OrDPvR6XhJsq1KGtG9 x9WBr681sAPnZiHA5Af2PPmF/Rbg3cU9tnCz4y+XQ3XMOBoNortXZs7Ub5JmxpLOUwhI4mvq5+G iUaQ+cg09XiqBVj1mGRhxnioa6MWjZV2r2jy4NW6134gvA== X-Received: by 2002:a05:600c:8287:b0:4bb:ab2c:67f7 with SMTP id 5b1f17b1804b1-4bbe1973d03mr34523945e9.8.1796300085802; Thu, 03 Dec 2026 04:14:45 -0800 (PST) Received: from [192.168.0.116] ([81.79.79.1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb90660cb4sm1184522705e9.2.2026.12.03.04.14.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Dec 2026 04:14:45 -0800 (PST) Message-ID: <4dc56c38-5038-443e-bbdb-c39475bf41cf@ursulin.net> Date: Thu, 3 Dec 2026 12:14:44 +0000 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/3] drm/sched: Eliminate NOP dependencies at insertion time To: Boris Brezillon , Xianzhong Li 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 , =?UTF-8?Q?Christian_K=C3=B6nig?= , Philipp Stanner , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "linux-media@vger.kernel.org" , "linaro-mm-sig@lists.linaro.org" 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> <20261203111718.76144d52@fedora1.home> <20261203130502.3956873e@fedora1.home> Content-Language: en-GB From: Tvrtko Ursulin In-Reply-To: <20261203130502.3956873e@fedora1.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 03/12/2026 12:05, Boris Brezillon wrote: > On Thu, 3 Dec 2026 10:38:54 +0000 > Xianzhong Li wrote: > >> Hi Boris, >> >> I finished patch v4 patch verification with glmark2 on NXP i.MX952(GPU: Mali-G310-V2@1GHz, CPU: 4xA55@1.7GHz), >> There is 7.33% improvement with patch v4, a little better than patch v1 and v2, see per-scene improvement as below >> >> TOTAL: [1591,1596,1593.50] -> [1708,1712,1710.25], +7.33% >> [build] use-vbo=false: [1512,1544,1528.00] -> [1497,1523,1510.00], -1.18% >> [build] use-vbo=true: [2797,2818,2807.50] -> [2877,2945,2909.25], +3.62% >> [texture] nearest: [2813,2835,2824.00] -> [2907,2966,2941.75], +4.17% >> [texture] linear: [2794,2798,2796.00] -> [2905,2972,2947.00], +5.40% >> [texture] mipmap: [2848,2860,2854.00] -> [2931,3032,2977.50], +4.33% >> [shading] gouraud: [2131,2138,2134.50] -> [2416,2431,2423.00], +13.52% >> [shading] blinn-phong-inf: [1939,1941,1940.00] -> [2209,2211,2210.00], +13.92% >> [shading] phong: [1497,1502,1499.50] -> [1671,1676,1674.00], +11.64% >> [shading] cel: [1355,1358,1356.50] -> [1496,1501,1499.50], +10.54% >> [bump] high-poly: [873,874,873.50] -> [936,938,937.25], +7.30% >> [bump] normals: [2914,2950,2932.00] -> [3021,3084,3057.25], +4.27% >> [bump] height: [2773,2843,2808.00] -> [2880,2906,2893.25], +3.04% >> [effect2d] 3x3: [1115,1116,1115.50] -> [1214,1220,1217.75], +9.17% >> [effect2d] 5x5: [418,419,418.50] -> [433,434,433.75], +3.64% >> [pulsar]: [2392,2425,2408.50] -> [2507,2540,2521.00], +4.67% >> [desktop] blur: [326,326,326.00] -> [423,425,424.00], +30.06% >> [desktop] shadow: [1067,1073,1070.00] -> [1189,1219,1203.00], +12.43% >> [buffer] map (non-interleave): [204,208,206.00] -> [205,207,206.00], +0.00% >> [buffer] subdata (non-interleave): [202,206,204.00] -> [207,208,207.25], +1.59% >> [buffer] map (interleave): [324,330,327.00] -> [321,323,322.50], -1.38% >> [ideas]: [577,580,578.50] -> [559,563,560.75], -3.07% >> [jellyfish]: [760,760,760.00] -> [800,807,804.50], +5.86% >> [terrain]: [56,57,56.50] -> [58,61,60.25], +6.64% >> [shadow]: [1169,1175,1172.00] -> [1387,1395,1391.75], +18.75% >> [refract]: [163,163,163.00] -> [174,177,176.00], +7.98% >> [conditionals] 0/0: [2678,2702,2690.00] -> [2788,2863,2829.75], +5.20% >> [conditionals] 5/0: [1934,1934,1934.00] -> [2194,2201,2197.25], +13.61% >> [conditionals] 0/5: [2679,2705,2692.00] -> [2799,2842,2819.75], +4.75% >> [function] low: [2384,2387,2385.50] -> [2565,2596,2578.75], +8.10% >> [function] medium: [1501,1502,1501.50] -> [1669,1677,1674.25], +11.51% >> [loop] fragment-loop=false: [2351,2355,2353.00] -> [2558,2573,2565.75], +9.04% >> [loop] fragment-uniform=false: [2354,2359,2356.50] -> [2553,2576,2562.00], +8.72% >> [loop] fragment-uniform=true: [1562,1562,1562.00] -> [1746,1752,1749.50], +12.00% >> > > After a few more runs on my side, I can say that scenes with relatively > high scores are just too erratic to be a useful comparison point > (significant diffs between runs on the same setup). The most > interesting ones are probably the ones with lower FPS (terrain, refract, > ...), and on some of those, I can definitely see an improvement > (terrain, for instance, seems to get a 40+% boost on my rk3588 setup). > I've also run gfxbench(gl_manhattan), and got a reproducible 6-ish % > improvement there. So yeah, I confirm the container unwrapping is > helping some GL workloads, and for those which are not helped, I > couldn't spot a diff above the usual noise we see between runs. I am glad to hear this! Might be the smaller the CPU the bigger the gain. Do you know if the above benchamrks see a reduction in number of deps after unwrapping, or it is about dma-fence-array/chain signalling overheads? AFAIR at least the chain is quite bad in this respect, at least in the pathological case when fences signal one by one with large enough gaps. Regards, Tvrtko