Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1945200rwd; Fri, 2 Jun 2023 02:27:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kj+4JYjU23sXdMQdMycqqnAFHbNSoGmJC+knIK/hLHqra9WgEWgbkoG5b1a8x6I8Gl8gj X-Received: by 2002:aca:1c10:0:b0:398:6d:4900 with SMTP id c16-20020aca1c10000000b00398006d4900mr1899466oic.24.1685698035898; Fri, 02 Jun 2023 02:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685698035; cv=none; d=google.com; s=arc-20160816; b=u4RR0KMUEkspTjn4Rnr7sWl6SM46mTBeUX6k4iR4gF0pWl7XNF425XomB/05l+v4/Q RFxvWXvj5sPyLvm0tJC9kVreE9lBmbF5YBImPy01flf9GmzLVZLueeotUsFHgNuMrwoS jIeJTajBNi9+4lZpqvB5WDwOerxG5yUPbxhTq3UOTl+EAihD9WtpoF9QrHN1TJbXFZF+ SiBlUmr58yyN1BIxeO5aNlwi7SEvGCI43cWDj0Nm0FowtU2uaafXZc6uaKwEFcwHjq2i K5x2Qz/f6BUaQ9/tdFG765uMUqRv6sVMkqSVvM3HiNk2vpIEzPEyVDBD9G9ERm1f4dR4 /u3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4rYCWHMHLbwy7OoyqYFa0Pp5uDoqhOuA/QlIh79NQR4=; b=CyjbSi8OVEjpescS033BQbdAICeH7yRYI84Wvh6hmwsQTEWpYu2OWzRuvGrElJ/gVg B1CyT0BaowZ3AUs3gB6fXQpHWQpwJbAUnH3IpDlXPWWdaitRYPBi94JrF60rUX3GFCf2 CCrjfAJT2ZfQQstJ4d53xQ1ZY6GPfKvNNVpBgpaffia3QjKNoikXfs3PZZDGTIBnQCxp TKdFZ9MlakDSMisdezasrqY67v31iyPmqjHfMnSeFOe5sDier5JLrPLvb29F+t0UEs9x czI9lv1IkOxuJmh+NT8v6d7yrrbbAGHYykrbqC2UIGf5BMumtANHRt5Fd4v5f2VfD4pA FGWA== ARC-Authentication-Results: i=1; mx.google.com; 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 w1-20020a170902c78100b001a8096ef2bfsi629052pla.34.2023.06.02.02.27.00; Fri, 02 Jun 2023 02:27:15 -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; 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 S234576AbjFBJNQ (ORCPT + 99 others); Fri, 2 Jun 2023 05:13:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235097AbjFBJMo (ORCPT ); Fri, 2 Jun 2023 05:12:44 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00CAE1703 for ; Fri, 2 Jun 2023 02:11:47 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:158c:2ccf:1f70:e136]) by andre.telenet-ops.be with bizsmtp id 49Bg2A0061tRZS8019BgaW; Fri, 02 Jun 2023 11:11:46 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q50ob-00BvaL-2W; Fri, 02 Jun 2023 11:11:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q50ou-00ASIJ-6O; Fri, 02 Jun 2023 11:11:40 +0200 From: Geert Uytterhoeven To: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , Jyri Sarha , Tomi Valkeinen , Laurent Pinchart , Biju Das Cc: dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] drm/todo: Add atomic modesetting references Date: Fri, 2 Jun 2023 11:11:34 +0200 Message-Id: <7cea42cd09540657875a210cd16421125497d690.1685696114.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, 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 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 +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 -- 2.34.1