From patchwork Tue Mar 7 01:34:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akira Yokosawa X-Patchwork-Id: 13162597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1CE03C61DA4 for ; Tue, 7 Mar 2023 01:34:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0235410E04A; Tue, 7 Mar 2023 01:34:36 +0000 (UTC) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by gabe.freedesktop.org (Postfix) with ESMTPS id 905A110E04A for ; Tue, 7 Mar 2023 01:34:33 +0000 (UTC) Received: by mail-pl1-x632.google.com with SMTP id y11so12576276plg.1 for ; Mon, 06 Mar 2023 17:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678152873; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=yPR0+brHjZoqQtZO+fXmGA/3VIbn0at5kpY2oa01Goo=; b=ZzsOiUFkovXfrLu5+zCbuz3k1Ge5qq+m+5pDUzByYC2TKkw+946Cpg7VUHNFzzFCW4 yHt95jMqISaIokc0ppTUE/t0FXgfqKRyQ94A/+LHmRx8XlerrmWla8SuZJ2XyM+MIldK gRIXSCpRaTifRtJ6NKGd8UsucLf3Ra22NrH/w+2twUvQKn0xAdn1qHswmSNG+V3qRddn Gsoners++l25PmZSTVi0TMIefTGZ3FbE2hK63Q3h/q96slMOSNPNPXbBzhiLyD9cMycC lEQAH4JS8CRL+p5vCo4WZmA0HluEFGv5qenlYs0PH+mZHnTmp8G0lTFJwH78GorWy889 D0fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678152873; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yPR0+brHjZoqQtZO+fXmGA/3VIbn0at5kpY2oa01Goo=; b=atBKm2R92Om2QJ6u1kAHOWVMWdSgA4/yw17+cKiHGEIjwVUpXXwHLVJ0yOa5GSgau1 LWgzALIlFdvoQLzrN6BnNH/6Sd7EP+2Di8WaFLBGsRdHRhyNLiw+yLeyWFrvFyM1lzH0 2e/aAz5/QpUnpt0owcbk7K9ARaDcB+O9nQJVBQ7avPVfJy7xuVsoghp6KtKdSeGAQeCC Hm5OoMrEuqUYyStX5n2Y9Q7JxbRp9j/q4hKZXUdVEmnMFhtceEFafpuqTPXof5dNwKxl cDeB5lmG5TSUjnaObUqIrQqnzWyUS1nmudS/VKKBtc8BKQYz/gILFh3792RLM6k2gfdy sxPg== X-Gm-Message-State: AO0yUKXnAl8/i6l9WkAuHjEHb4KRqZEzhurhD8jvfB0VE/smG5Nx+EEo HIkXrkblgEd9p9vrKM9eDk0= X-Google-Smtp-Source: AK7set92/wJgWVlIwq7R7wJzs2hbh3DXTEytPcsRWrIHoz7OU7jfRBYhvxaXN1Km/tbBQCoC1oZUDQ== X-Received: by 2002:a05:6a20:918a:b0:cd:9664:3d5a with SMTP id v10-20020a056a20918a00b000cd96643d5amr14598342pzd.22.1678152873019; Mon, 06 Mar 2023 17:34:33 -0800 (PST) Received: from [192.168.11.9] (KD106167171201.ppp-bb.dion.ne.jp. [106.167.171.201]) by smtp.gmail.com with ESMTPSA id v25-20020aa78519000000b005d4e89b69e5sm6821422pfn.127.2023.03.06.17.34.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Mar 2023 17:34:32 -0800 (PST) Message-ID: <29380b3e-1daa-3aef-1749-dbd9960ba620@gmail.com> Date: Tue, 7 Mar 2023 10:34:28 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 From: Akira Yokosawa Subject: [PATCH v2 1/2] media: Fix building pdfdocs To: linux-media@vger.kernel.org, linux-doc@vger.kernel.org, Mauro Carvalho Chehab , Jonathan Corbet , Tomi Valkeinen Content-Language: en-US X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Akira Yokosawa , Laurent Pinchart , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Tomi Valkeinen Commit 8d0e3fc61abd ("media: Add 2-10-10-10 RGB formats") added documentation for a few new RGB formats. The table has column-width specifiers for 34 columns used in pdfdocs build. However, the new table has a couple of rows with 35 columns which confused Sphinx's latex builder. The resulting .tex file causes an error in a later stage of a pdfdocs build. Remove the trailing empty dash lines to fix the issue. Fixes: 8d0e3fc61abd ("media: Add 2-10-10-10 RGB formats") Reported-by: Akira Yokosawa Link: https://lore.kernel.org/r/12250823-8445-5854-dfb8-b92c0ff0851e@gmail.com/ Signed-off-by: Tomi Valkeinen Tested-by: Akira Yokosawa Reviewed-by: Laurent Pinchart Acked-by: Mauro Carvalho Chehab [akiyks: explain the cause of build error] Signed-off-by: Akira Yokosawa --- Hi all, Now that this fix missed v6.3-rc1, I went forward and amended the Changelog to explain what was wrong in the offending commit. I see that docs-next is ready for fixes to v6.3-rc1, but when the -media tree gets ready, this can be picked by Mauro. Either route is fine by me. I'd really like to have this issue fixed sooner rather than later. As a follow-up, patch 2/2 adjusts the column width specifiers. Thanks, Akira -- v2: Changelog: explain the root cause, rebased on v6.3-rc1, picked tags from v1 thread. v1: https://lore.kernel.org/r/20230208082916.68377-1-tomi.valkeinen@ideasonboard.com/ Documentation/userspace-api/media/v4l/pixfmt-rgb.rst | 3 --- 1 file changed, 3 deletions(-) base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 diff --git a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst index d330aeb4d3eb..ea545ed1aeaa 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst @@ -868,7 +868,6 @@ number of bits for each component. - r\ :sub:`4` - r\ :sub:`3` - r\ :sub:`2` - - * .. _V4L2-PIX-FMT-RGBA1010102: - ``V4L2_PIX_FMT_RGBA1010102`` @@ -909,7 +908,6 @@ number of bits for each component. - r\ :sub:`4` - r\ :sub:`3` - r\ :sub:`2` - - * .. _V4L2-PIX-FMT-ARGB2101010: - ``V4L2_PIX_FMT_ARGB2101010`` @@ -950,7 +948,6 @@ number of bits for each component. - r\ :sub:`6` - r\ :sub:`5` - r\ :sub:`4` - - .. raw:: latex From patchwork Tue Mar 7 01:36:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akira Yokosawa X-Patchwork-Id: 13162598 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B6BFC64EC4 for ; Tue, 7 Mar 2023 01:36:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 35F2B10E0A2; Tue, 7 Mar 2023 01:36:41 +0000 (UTC) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by gabe.freedesktop.org (Postfix) with ESMTPS id 920A410E34B for ; Tue, 7 Mar 2023 01:36:39 +0000 (UTC) Received: by mail-pj1-x1032.google.com with SMTP id qa18-20020a17090b4fd200b0023750b675f5so15048240pjb.3 for ; Mon, 06 Mar 2023 17:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678152999; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JOYQlgcH4lD1Ha4i8w6bRHjoNTM7YfPZ9WX5HZ9QO3I=; b=WaTSDjMCZBclEN8svJcq9Pmi6JcG+tKiz00sPCtEyk7uTzRSZJAJnijU2VlOya9vmP FoBiwEd58sL8cAsMjOL0W2CD1dQzqC1LAYHwTXgfJIKBjWwwCjsE9VzmjqxFq0zOES8F mMv5hlD7kaK3SOmyej8qjhaGXidp2hwJnFNvunBAjc8McjE75AHz7dsoFHXcf+O3XAbZ xirvX8OLJ9ehz0FXt+AHD0jS55AYRminnBrs2CPGAz3as9e5925AVmFvjeow+SdoJ1+4 jOnYwyolUyItxekQqRECZXxKAbUpKGiOb37g0la+5ORFtKbQCRWUuWxOfB10OEuc0Llm tN1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678152999; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JOYQlgcH4lD1Ha4i8w6bRHjoNTM7YfPZ9WX5HZ9QO3I=; b=J6n8SSthmyHWBMLA/cNgXzTB7AhE3Z9u0/H4/CHPBWrxP6jA4fGJ+cNYoG+ET+xdME xNMBzfIxLupPLbtNqzoVF8mmEUzwe0ac6/apSvlEVW/SC6sTuvEkbWB47AIOumKjbSTg Os6V4iSFKuU06qNUT8PanCsPxiD9ptoXhTsC+WHUWlbUJ0N0zK6ctyyC1co8YkF/jmEo clgbZUaq4F0rKE6q+GyNmhmX21WL70vKVy1suPNGo86d7TnCm2jOKU5enmOEfOtrnRMI li4ol8nCu37iQuUPbW7tnLk+IGbFZKDw+EiNxxrdxFN/YMXkZ2Qvl07URXrfyDE4Gj3a GQ5g== X-Gm-Message-State: AO0yUKWcxPLuwTErLi+dhksM96Uzfy0fC15hcZ/cyaPNTdC1hTkFgefm qd6+NwWfL/sP4wlgQnTGHj0= X-Google-Smtp-Source: AK7set9TNDTtw5wgGGIsWh6Oli4TjGs+OdUfBpBXy+tm8dWZa7Cute5zIaKXRlix9l0CLbc/IYdq4Q== X-Received: by 2002:a17:903:11cc:b0:19c:aa09:c455 with SMTP id q12-20020a17090311cc00b0019caa09c455mr15955641plh.25.1678152999128; Mon, 06 Mar 2023 17:36:39 -0800 (PST) Received: from [192.168.11.9] (KD106167171201.ppp-bb.dion.ne.jp. [106.167.171.201]) by smtp.gmail.com with ESMTPSA id l19-20020a170902f69300b0019956488546sm7311718plg.277.2023.03.06.17.36.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Mar 2023 17:36:38 -0800 (PST) Message-ID: Date: Tue, 7 Mar 2023 10:36:34 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: [PATCH v2 2/2] media: Adjust column width for pdfdocs Content-Language: en-US To: linux-media@vger.kernel.org, linux-doc@vger.kernel.org, Mauro Carvalho Chehab , Jonathan Corbet , Tomi Valkeinen References: <29380b3e-1daa-3aef-1749-dbd9960ba620@gmail.com> From: Akira Yokosawa In-Reply-To: <29380b3e-1daa-3aef-1749-dbd9960ba620@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Akira Yokosawa , Laurent Pinchart , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The column width specifiers added in commit 8d0e3fc61abd ("media: Add 2-10-10-10 RGB formats") don't suffice for column 1 and too wide for column 2. Adjust them to get a good looking table. Fixes: 8d0e3fc61abd ("media: Add 2-10-10-10 RGB formats") Cc: Tomi Valkeinen Signed-off-by: Akira Yokosawa --- new to v2 Documentation/userspace-api/media/v4l/pixfmt-rgb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst index ea545ed1aeaa..d9d7b7621d8c 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-rgb.rst @@ -778,7 +778,7 @@ number of bits for each component. \tiny \setlength{\tabcolsep}{2pt} -.. tabularcolumns:: |p{2.8cm}|p{2.0cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}| +.. tabularcolumns:: |p{3.2cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}| .. flat-table:: RGB Formats 10 Bits Per Color Component