Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3317025rwl; Mon, 27 Mar 2023 12:13:22 -0700 (PDT) X-Google-Smtp-Source: AKy350aKDzEK68nEbKEWsbLubUp2lm8dniDs3rVcfwqWk1kwp+2Egka3QQnW29TMGDC1yqzBv2WX X-Received: by 2002:a17:906:801:b0:92e:efa:b9b4 with SMTP id e1-20020a170906080100b0092e0efab9b4mr15430640ejd.22.1679944402188; Mon, 27 Mar 2023 12:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679944402; cv=none; d=google.com; s=arc-20160816; b=RlH7DB3S9NaHxIyO2bJIYghq502DQWXMEH7m2Nbpbg6c3/mvNuT5Oa02fS+yE+ue3s v1OIt3H1SvgqB9fBZ/mye+k0BpaIkOd1DEaEl1sXX3pOmfU39lSFu/p6fYgMndQzzyux mq6ksDztVlh9OGrOGjBNJcGj4lCHMvEre5SO6fozRIDXb9Rc8u7dnuSCirECNPt7zDPA Dak7kqBbxikwXSaCDVAtW74eNV+BSk0HE2fo9KUINDeaBhH/FLrFzmR5zZ7RXjL4ut8Z +I7XJjgctrGYJd74NBH3V71fWwvohaR89nNtNqmWpsJCGvCG9JYSsQn0LoOYgD0vZUhU YHtw== 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=q/6pCbry1/ETo4U2530l82j/Esz1dkFEPg21dCL6WTw=; b=wluwf2HZDtWF6Rwi+Wf7swYrIv+wFjsooZIGPFCH1vPlUKLJb9oQw9mQe7M6ezzf0f Wn49lm0mJG5PqO9ygGAsXODIMclJxmq+m2wtguNizKIp8ygBXZjcv76WNvkEHgW7UPbz i5TAHi1Xz0hSonR4IOnpttFBYLEC9dCFJLh02aHW0mP00GzbWDURlxINmvoN++KjZVpj 472L/skFz2QK1XbXj5q2Ergqo0WOzhDVtfQwkNn/afXLo1omCWJiY4FyiHBZ7gGo58YH 0ni0dGR9rQ4XqOjBiZD8rBaHMU+Jm5yOBcRG0YWtH2is6imeOfeOszSfKl3kuJSdwKPT R9qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qEjf8I4G; 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 n8-20020aa7d048000000b005002e71a84fsi27308322edo.137.2023.03.27.12.12.57; Mon, 27 Mar 2023 12:13:22 -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=qEjf8I4G; 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 S232546AbjC0TGF (ORCPT + 99 others); Mon, 27 Mar 2023 15:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjC0TGB (ORCPT ); Mon, 27 Mar 2023 15:06:01 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E83D2134; Mon, 27 Mar 2023 12:06:00 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id q6so4346231iot.2; Mon, 27 Mar 2023 12:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679943960; 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=q/6pCbry1/ETo4U2530l82j/Esz1dkFEPg21dCL6WTw=; b=qEjf8I4GOQ3ShgwJE6dqrPcG9qSLP1lpAnbSL/0QwbfT1gw6trLRerbTznbRPCRWGl ptSbtzVddhG0DF8sVXgPL8e0GpPUdTihkFWyQ2IeBBZCx3d9pTXVufkQvN4Ln2eoFpho minaZRNBe4lO/t3G2g5qBtUXF96q+1EmUvZVp86unc7ExQxECI7xGikVOPtjmWcztXlO RvVP3tNTL8YCaIKjtdq6QujfVIMo6xUontUVN+nJQBg/aNtTfhXedAA3JZ25BODvyIt1 EK3lQYu0LF0cIkZghChlDy5bfu+7aBMkXpcUyHtmnra0GZc1Y0wCFi+hqwWmUvZdo855 UU9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679943960; 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=q/6pCbry1/ETo4U2530l82j/Esz1dkFEPg21dCL6WTw=; b=iu727alM6AIfswEzBidd94Bvvv3RjV4VxcRG3RL81zYj52kIlZ9Z1wRZsY0IsB9bl/ USjWHGNPelS6lf4MMAJpylHHMaOipDC2x4G60KiIodzHogkDnBn873kh+mLsCPeqTqhT WRoh+fh5OpaQ1fb7vpYKfoEOmAAwHBs3V8exFY44PLfm0MErB6Fu0a37rpZQB9CHJidz NpgfwSLgY+j6bGCJGDgCvai7jv2vuTaiPonEfX3HZi+9VI0oI7KInf37rUZGOngiKpZv klT/j/43UQq1DUdFqxGCNcaqsHBmwx3LUO8mrcl0cJxeTSGVt5/wu9XH2wPUlIG7RQ0q YJDg== X-Gm-Message-State: AO0yUKUFZVkaX7+wbTTyTMfDjxIiPPKBxkxgILMru+uoiu5rUd+G8mAS kHEXtWvwNCTeRBWx/OgtecrvL7FnVyphkBN//vQ= X-Received: by 2002:a02:2208:0:b0:3ad:65e:e489 with SMTP id o8-20020a022208000000b003ad065ee489mr5198516jao.1.1679943959800; Mon, 27 Mar 2023 12:05:59 -0700 (PDT) MIME-Version: 1.0 References: <20230308155322.344664-1-robdclark@gmail.com> In-Reply-To: <20230308155322.344664-1-robdclark@gmail.com> From: Matt Turner Date: Mon, 27 Mar 2023 15:05:48 -0400 Message-ID: Subject: Re: [PATCH v10 00/15] dma-fence: Deadline awareness To: Rob Clark Cc: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Luben Tuikov , =?UTF-8?Q?Christian_K=C3=B6nig?= , Rodrigo Vivi , Bas Nieuwenhuizen , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Douglas Anderson , Gustavo Padovan , Konrad Dybcio , "moderated list:DMA BUFFER SHARING FRAMEWORK" , "open list:DRM DRIVER FOR MSM ADRENO GPU" , "open list:DOCUMENTATION" , open list , "open list:DMA BUFFER SHARING FRAMEWORK" , Liu Shixin , Sean Paul , Stephen Boyd , Vinod Polimera 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 On Wed, Mar 8, 2023 at 10:53=E2=80=AFAM Rob Clark wro= te: > > From: Rob Clark > > This series adds a deadline hint to fences, so realtime deadlines > such as vblank can be communicated to the fence signaller for power/ > frequency management decisions. > > This is partially inspired by a trick i915 does, but implemented > via dma-fence for a couple of reasons: > > 1) To continue to be able to use the atomic helpers > 2) To support cases where display and gpu are different drivers > > This iteration adds a dma-fence ioctl to set a deadline (both to > support igt-tests, and compositors which delay decisions about which > client buffer to display), and a sw_sync ioctl to read back the > deadline. IGT tests utilizing these can be found at: I read through the series and didn't spot anything. Have a rather weak Reviewed-by: Matt Turner Thanks!