Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp6342157pxb; Thu, 27 Jan 2022 11:38:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyT3KnrDu/8XWFIbdEtCaphEkQfy9o66W96MFHjpGdAF5xPbauAwuvvOh1OJ2Ocj3qEytUv X-Received: by 2002:a05:6402:34ca:: with SMTP id w10mr5068314edc.145.1643312336288; Thu, 27 Jan 2022 11:38:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643312336; cv=none; d=google.com; s=arc-20160816; b=BQo94U2p5oj+SOp61t7k4HlbUMP73w7uCdy8cU4fVaNAEETL4cPpe0RmJ3pVZd6AP8 AbunYwDeJDYiuuUzv0QqZzgqqetLH1/oqwHexf3mKSFucgHgkesHtkDrQv7imwqytjQG ICRTkbzyzRvhrOQXmeOfSgor24CoGXgYNG+lOr3XkH0jQNNqjLCIlyQLCjIiqK++W8t5 FuvWi6teYk3taaOkBltJE9I13wFKn9UsatIL10e7fzYaA0UttxzxoHpf7Da5wyPiAJRA 1PBFWKpY4JSl58a+MBwvsUKIvBkyH/qdhu09GiIbcGB0200tcRu97oWGjBIojU7M4h7Y trUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=6vypQxLAzOIaDqAGzluIEpvoTPeY1C7pZgTogXPUSOs=; b=dDdmVFE+eiWUBBFUKDEd3b/lNH1uNl4IiTidodYKetTcvdCV/gD7OvpIFpaEVD0Mmv 1vBmQ6Yp1emv4pjYsJ3T9lZIDnKNlEPh6KObnygWKBOpqmGuENpDm0ge7Ev3/l/9FnAE 0YwYI8fGinGga+ZhdInBbZNI5oF2q/xO7w6C5GZ5rM770str6wON8XqaaoEe+ZdZ26Xi qkXfCcjrrhClRi7mdNhsU+oxnTwBkWb7n5oQ2lRcG/D4BpdxbjSRTtVhi3cqzvfRJvnc vA688tnALBo4P3iEV//EF+1uOKOf9DZvMuPs8xklu5JK92p8zeZJQ7CoPLMl7aiLDSVN NYgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A1nnsYJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn17si1683004edb.535.2022.01.27.11.37.33; Thu, 27 Jan 2022 11:38:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=A1nnsYJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235653AbiA0LKM (ORCPT + 99 others); Thu, 27 Jan 2022 06:10:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231377AbiA0LKL (ORCPT ); Thu, 27 Jan 2022 06:10:11 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17D32C061714; Thu, 27 Jan 2022 03:10:11 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id e17so3772229ljk.5; Thu, 27 Jan 2022 03:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=6vypQxLAzOIaDqAGzluIEpvoTPeY1C7pZgTogXPUSOs=; b=A1nnsYJ14r0sMBIxgcguMjx8Atv5DYA50WiC2glv1KAD7hIPFfnncF+x02sNw3S3Gk t62HFoDEqJHaoMtFw2NGGnefseS4HMKwS2yNZQcKffW1u5v3Vg6f7Dc3d95o6eYezdSd u9SprC8DHHPhTvUTxYVKtqD2rH5MAKQvcZJfuGjHvxuCVLpptYkGr/y9QzG5kKfqvQYh u7pjWkr5SC5rq5aUxJ2nUMB1PdC7PG/GW7HwGHvXZXzI+grtde/JiyeaiNE+nPbfeFxA o3pAI5cae9akSaOeNNKhJy+NblYt82NOwCq3qcpeVmXOmTcL9N6UOGHCh228UfpP5BDw nYbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=6vypQxLAzOIaDqAGzluIEpvoTPeY1C7pZgTogXPUSOs=; b=0bOSq2RvDnOIBIKrTxSjzecEsv70LHYryIHH1Kgnrb2kc2Ub1KbyevR0XZ9BpTXCUh y6/SD1H7Ez/AjGQ5I/I2xx9xvoRpBLtR2iykxo08cm5bDNEWiK1mvLCrleNvmmjaRqJ8 X6grafeYpdNyrZ53aIR9XGSLrHWcbXBLbsQKs0TvK0i1UC7xFPN8SE4YCO81cc/aoNBX 4LWWfYykxzDm4ZpASPjH1Wjl7HShc4s++BDSfQggfHkx5FHfawzjlMKZeXV5S4f7YlLP jwG2ukX4E5gB3Oi7nJQuXTKgFHpUd1EXADKjbaPmG3nmg8kPtoY59pVI8OKZLyCAUl/q BBfA== X-Gm-Message-State: AOAM533W5BVPQBVXmM5aL1HEDqj10aax3iKdV1m2S6zjTyNKg2+GBQZ3 N03BkAVAm4WLDuVVBYfwyDw= X-Received: by 2002:a2e:8689:: with SMTP id l9mr2474273lji.417.1643281809211; Thu, 27 Jan 2022 03:10:09 -0800 (PST) Received: from eldfell ([194.136.85.206]) by smtp.gmail.com with ESMTPSA id o7sm1401321lfu.37.2022.01.27.03.10.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 03:10:08 -0800 (PST) Date: Thu, 27 Jan 2022 13:09:59 +0200 From: Pekka Paalanen To: Javier Martinez Canillas Cc: linux-kernel@vger.kernel.org, Thomas Zimmermann , Jonathan Corbet , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, Laurent Pinchart Subject: Re: [PATCH] drm/doc: Add section in the introduction page about learning material Message-ID: <20220127130959.568c6274@eldfell> In-Reply-To: References: <20220127082058.434421-1-javierm@redhat.com> <20220127110528.20604049@eldfell> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/aEfNa3QiiQB=Kl4BoRB=JI="; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/aEfNa3QiiQB=Kl4BoRB=JI= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 27 Jan 2022 11:46:44 +0100 Javier Martinez Canillas wrote: > Hello Pekka, >=20 > Thanks a lot for your feedback. >=20 > On 1/27/22 10:05, Pekka Paalanen wrote: > > On Thu, 27 Jan 2022 09:20:58 +0100 > > Javier Martinez Canillas wrote: > > =20 > >> The Linux DRM subsystem supports complex graphics devices and it could= be > >> quite overwhelming for newcomers to learn about the subsystem's intern= als. > >> > >> There are lots of useful talks, slides and articles available that can= be > >> used to get familiar with the needed concepts and ease the learning cu= rve. > >> > >> Add a section to the intro that contains these DRM introductory materi= als. > >> > >> Suggested-by: Daniel Vetter > >> Signed-off-by: Javier Martinez Canillas > >> --- > >> > >> Documentation/gpu/introduction.rst | 36 ++++++++++++++++++++++++++++++ > >> 1 file changed, 36 insertions(+) > >> > >> diff --git a/Documentation/gpu/introduction.rst b/Documentation/gpu/in= troduction.rst > >> index 25a56e9c0cfd..35986784f916 100644 > >> --- a/Documentation/gpu/introduction.rst > >> +++ b/Documentation/gpu/introduction.rst > >> @@ -112,3 +112,39 @@ Please conduct yourself in a respectful and civil= ised manner when > >> interacting with community members on mailing lists, IRC, or bug > >> trackers. The community represents the project as a whole, and abusive > >> or bullying behaviour is not tolerated by the project. > >> + > >> +Learning material > >> +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> + > >> +Since the Linux DRM layer supports complex graphics devices, it can b= e quite > >> +overwhelming for newcomers to get familiar with all the needed concep= ts and > >> +learn the subsystem's internals. =20 > >=20 > > Hi, > >=20 > > this seems to say that DRM is going to be complicated no matter what > > hardware one wants to drive, but is that true? > >=20 > > Is there no way to say that if your display hardware is simple (no > > GPU), then the driver can be simple to write too? > > =20 >=20 > I do wonder how much one could abstract of the uAPI when writing a simple= r driver. >=20 > In other words, writing the driver should be simple but I believe that gr= asping > all the needed details about DRM may not be. > =20 > >> + > >> +To shallow the learning curve, this section contains a list of presen= tations > >> +and documents that can be used to learn about DRM/KMS and graphics in= general. > >> + > >> +The list is sorted in reverse chronological order, to keep the most u= p-to-date > >> +material at the top. But all of them contain useful information, and = it can be > >> +valuable to go through older material to understand the rationale and= context > >> +in which the recent changes to the DRM subsystem were made. > >> + > >> +Talks > >> +----- > >> + > >> +* `An Overview of the Linux and Userspace Graphics Stack `_ - Paul Kocialkowski (2020) > >> +* `Getting pixels on screen on Linux: introduction to Kernel Mode Set= ting `_ - Simon Ser (2020) > >> +* `An introduction to the Linux DRM subsystem `_ - Maxime Ripard (2017) > >> +* `Embrace the Atomic (Display) Age `_ - Daniel Vetter (2016) > >> +* `Anatomy of an Atomic KMS Driver `_ - Laurent Pinchart (2015) > >> +* `Atomic Modesetting for Drivers `_ - Daniel Vetter (2015) > >> +* `Anatomy of an Embedded KMS Driver `_ - Laurent Pinchart (2013 > >> + > >> +Slides and articles > >> +------------------- > >> + > >> +* `Understanding the Linux Graphics Stack `_ - Bootlin (2022) > >> +* `DRM KMS overview `_ - STMicroelectronics (2021) > >> +* `Linux graphic stack `_ - Nathan Gau=C3=ABr (2017) > >> +* `The DRM/KMS subsystem from a newbie=E2=80=99s point of view `_ - Boris Brezillon (2014) > >> +* `A brief introduction to the Linux graphics stack `_ - Iago Toral (2014) > >> +* `The Linux Graphics Stack `_ - Jasper St. Pierre (2012) =20 > >=20 > > That's an impressive list of links! > >=20 > > However, given the discussions that prompted this doc, I think the gist > > is missing. The reader is just flooded with stuff to read and learn > > which can be discouraging. > >=20 > > Your audience are developers who know nothing about DRM. They may have > > been writing fb drivers instead. The display hardware they want to > > drive has no GPU. Where should they get started? Which presentations to > > read/watch first? Which driver to look at for a simple example? > >=20 > > Maybe add one more section targeting that specific audience? > > =20 >=20 > Yes, I did not ignore your suggestions made over IRC but it's just that I > didn't know to write such section. Maybe we can land this section and then > as a follow-up think how a "Getting started" one should look like ? I can't write such a section myself either, and reviewing one I wouldn't be able to say if it covers everything needed but no more. Fine by me! FW I'm W here Acked-by: Pekka Paalanen Thanks, pq --Sig_/aEfNa3QiiQB=Kl4BoRB=JI= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAmHyfYcACgkQI1/ltBGq qqeLQBAAhsB5Rz0x/gq4Utp0S71M2ZTdBQLNdE29RK7Jl/Nb0tc5KxnTV0XXIqNr 5ZPetiSsNMg+rYIz/JS2B8/zxPRAEnNG8jXiT7dDYzIeX/CkiDJWLIj+PJ9/2D7z JXtSwbOkySLaXcFH+Dyecv9zikwamQUjhcFbj7NjeNRpHopG1whZDtkjZC7bESAg OU8Q+JSSE8E4x6qflQq/exrDVXQnzWccpapVTtT1uo0NOUT1FbjF83Z9KS1M1+I4 4lbfuxNgB4Bpq5udvuAg5ypON567ewffGpfMHbeVcLplMc2XVB9aPJl70x6wORaN mIUmcd2Js8UNApSkG+Jd+2oqtQG71G9fQ3qav61Ac6/k474OgzjpmbNArIhlWVbl MndqP4C1n2YMBfhfHtN/hnj0wdQIdK4rr4ugeXztPAtdNhdDTF+rsMrJJc2+9KXk 04qEY2LMKw8c1PpEfLSpOb7pqOSzwlfWP2i5Pu9NVmvR2gpnNrpFo/WlJkm7eOix k6POJIoTh0VE37lBebuGsiDAx4ZU6VGD2PGJL2HMCOmjgZe6BEe4DBO58fXF8Aam p2C2nYziyVHTkQbirOOmK/HBdshBh+khVjAJkNy63IQ9mbLGMH1aFjk6oDEt9XXO kV3XxehxiNSAbucTo/hdP3Pw+rcme8sn4a3YJYQfmpKybfKpj0E= =Lacg -----END PGP SIGNATURE----- --Sig_/aEfNa3QiiQB=Kl4BoRB=JI=--