Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2040671rwd; Fri, 2 Jun 2023 04:08:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6BPjXK9M2OO2qau72TXIrFulqNyWWKT5IHx2gXLdHCzbzQlamKREQyAIvwwiqGTPJ8avUH X-Received: by 2002:a05:6870:b303:b0:19f:2257:6865 with SMTP id a3-20020a056870b30300b0019f22576865mr1505491oao.31.1685704092106; Fri, 02 Jun 2023 04:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685704092; cv=none; d=google.com; s=arc-20160816; b=SDW9KrjaSu4J2xrKroNTvPSRVu2ef/+V+qQxrFUNFXveZdfg2K6dKLXLSWfxUdMFL1 LAUZI0hsiOhmVvwhDAiVQ2uyZhxbB47XXpnfpQEPM8bLNYxEIn3wZtfJcVQyiW7IJd8i 4/0SbmV+MuizDwa3O7zKSSvaNxZPPsUlnCzTS5Nll8xSiyjRAWVZx0nVEJ+krz5fcopA MpX4InJOurXq/wWtWUrtakoXvXzikZS22H9KMSsnAewPod+itliWjsSYzbdGtTvCPrOL +MTCwSS20qru5TlUPEXqqUTwNa3/07hobF+CJ2Vg9Q6vuygYOkd36AwY9/iOp1RQb4S8 syPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Bfi9GOSEOJsK/ZoXGukgsLboYmosvgXmnzK612DkJOY=; b=ksgP032HB+UgGMCZtkXz6IMWqI1/NPfpSYh0nL9B7W4Pg+FoeTUfVWnNtf2by0f3lF Yqt40ggVg0ucUpOumoag2PIxrPCRga4Yvfejxq0SSdR4glZ8GnMT3Bh8uNa2wIhQho6v EkkJ270H6DqvfiC3sVy9GkMU5U1dSuaOSrlKY4tFKR84ot4AyF96mZCeWe4uV8Mzw7S6 7pfPVc6DsK9k1O3txxBiop4lCq8RSjc9Ccr/vWetUYy5DKUAa3vU0BTh+Xfw/mSPMf0A T0NX0P0cFkPeIUlpXhDkxtM1udYtyoFqS80oRc8iDHlgFbb3AV3QNLYb1ILpmgPuPl3g l8+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=I4I14Myq; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q78-20020a632a51000000b0053ff4eea2fdsi809894pgq.352.2023.06.02.04.07.55; Fri, 02 Jun 2023 04:08:12 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=I4I14Myq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234510AbjFBKx4 (ORCPT + 99 others); Fri, 2 Jun 2023 06:53:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235113AbjFBKxz (ORCPT ); Fri, 2 Jun 2023 06:53:55 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D39DD123; Fri, 2 Jun 2023 03:53:53 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126156168104.26.openmobile.ne.jp [126.156.168.104]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C5E7A6E0; Fri, 2 Jun 2023 12:53:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685703209; bh=9jlD2s2+YeYZiXb3wAMmYVy0IQj66RhORVNfswvBJYI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I4I14Myq5dpuM5ld866LX/RiU/3KbhLZVmQ4IGYZklC0V6Lk1wPfbkolTcZk3S+pj 2y+lptg97WW63b0FYwMPgRP6H0xTRF9jPGlaez0Mg3kQgJIyiClMpUXSIiGuLbrEWg 989cbTDTeJbRSwFCnDOv1aAjyD5UjSqnbq6fHcLg= Date: Fri, 2 Jun 2023 13:53:50 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , Jyri Sarha , Tomi Valkeinen , Biju Das , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] drm/todo: Add atomic modesetting references Message-ID: <20230602105350.GB26944@pendragon.ideasonboard.com> References: <7cea42cd09540657875a210cd16421125497d690.1685696114.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7cea42cd09540657875a210cd16421125497d690.1685696114.git.geert+renesas@glider.be> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Hi Geert, Thank you for the patch. On Fri, Jun 02, 2023 at 11:11:34AM +0200, Geert Uytterhoeven wrote: > The section about converting existing KMS drivers to atomic modesetting > mentions the existence of a conversion guide, but does not reference it. > While the guide is old and rusty, it still contains useful information, > so add a link to it. Also link to the LWN.net articles that give an > overview about the atomic mode setting design. > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/gpu/todo.rst | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst > index 68bdafa0284f55f6..51eb67f5268c5ec1 100644 > --- a/Documentation/gpu/todo.rst > +++ b/Documentation/gpu/todo.rst > @@ -49,14 +49,19 @@ converted over. Modern compositors like Wayland or Surfaceflinger on Android > really want an atomic modeset interface, so this is all about the bright > future. > > -There is a conversion guide for atomic and all you need is a GPU for a > +There is a conversion guide for atomic[1] and all you need is a GPU for a > non-converted driver (again virtual HW drivers for KVM are still all > -suitable). > +suitable). The "Atomic mode setting design overview" series [2][3] at s/ / / Reviewed-by: Laurent Pinchart > +LWN.net can also be helpful. > > As part of this drivers also need to convert to universal plane (which means > exposing primary & cursor as proper plane objects). But that's much easier to > do by directly using the new atomic helper driver callbacks. > > + - [1] https://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html > + - [2] https://lwn.net/Articles/653071/ > + - [3] https://lwn.net/Articles/653466/ > + > Contact: Daniel Vetter, respective driver maintainers > > Level: Advanced -- Regards, Laurent Pinchart