drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
Subsystems (3)
PATCH 1/1 drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
Nested grids in grid-table cells are not specified as proper ReST constructs.
Commit 572f2a5cd974 ("drm/i915/guc: Update firmware to v62.0.0") added a couple of kerneldoc tables of the form:
+---+-------+------------------------------------------------------+ | 1 | 31:0 | +------------------------------------------------+ | +---+-------+ | | | |...| | | Embedded `HXG Message`_ | | +---+-------+ | | | | n | 31:0 | +------------------------------------------------+ | +---+-------+------------------------------------------------------+
For "make htmldocs", they happen to work as one might expect, but they are incompatible with "make latexdocs" and "make pdfdocs", and cause the generated gpu.tex file to become incomplete and unbuildable by xelatex.
Restore the compatibility by removing those nested grids in the tables.
Size comparison of generated gpu.tex:
Sphinx 2.4.4 Sphinx 4.2.0
v5.14: 3238686 3841631
v5.15-rc1: 376270 432729
with this fix: 3377846 3998095
---
Hi all,
I know there is little interest in building pdfdocs (or LaTeX) version of kernel-doc, and this issue does not matter most of you.
But "make pdfdocs" is supposed to work, give or take those tables with squeezed columns, and at least it is expected to complete without fatal errors.
I have no idea who is responsible to those grid-tables, so added a lot of people in the To: and Cc: lists.
Does removing those nested grids look reasonable to you?
Any feedback is welcome!
Note: This patch is against the docs-next branch of Jon's -doc tree
(git://git.lwn.net/linux.git). It can be applied against v5.15-rc1 and v5.15-rc2 as well.
Thanks, Akira
--
.../gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h | 10 +++++----- .../drm/i915/gt/uc/abi/guc_communication_mmio_abi.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h +5 -5
@@ -102,11 +102,11 @@ static_assert(sizeof(struct guc_ct_buffer_desc) == 64);* | +-------+--------------------------------------------------------------+ * | | 7:0 | NUM_DWORDS = length (in dwords) of the embedded HXG message | * +---+-------+--------------------------------------------------------------+ -* | 1 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 1 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */
drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h +5 -5
@@ -38,11 +38,11 @@* +---+-------+--------------------------------------------------------------+ * | | Bits | Description | * +===+=======+==============================================================+ -* | 0 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 0 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */
base-commit: 242f4c77b1c8cebfdfa0ad5b40e2e4ae0316e57d
Signature · 1 line
2.17.1
Jani Nikula
maintainerQuoted 38 lines · Akira Yokosawa
Nested grids in grid-table cells are not specified as proper ReST constructs.
Commit572f2a5cd974("drm/i915/guc: Update firmware to v62.0.0") added a couple of kerneldoc tables of the form:+---+-------+------------------------------------------------------+ | 1 | 31:0 | +------------------------------------------------+ | +---+-------+ | | | |...| | | Embedded `HXG Message`_ | | +---+-------+ | | | | n | 31:0 | +------------------------------------------------+ | +---+-------+------------------------------------------------------+For "make htmldocs", they happen to work as one might expect, but they are incompatible with "make latexdocs" and "make pdfdocs", and cause the generated gpu.tex file to become incomplete and unbuildable by xelatex.
Restore the compatibility by removing those nested grids in the tables.
Size comparison of generated gpu.tex:
Sphinx 2.4.4 Sphinx 4.2.0v5.14: 3238686 3841631
v5.15-rc1: 376270 432729
with this fix: 3377846 3998095Fixes 572f2a5cd974 ("drm/i915/guc: Update firmware to v62.0.0")Cc John Harrison <[email protected]>Cc Michal Wajdeczko <[email protected]>Cc Matthew Brost <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Matt Roper <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>---
Hi all,
Quoted 6 lines
I know there is little interest in building pdfdocs (or LaTeX) version of kernel-doc, and this issue does not matter most of you.
But "make pdfdocs" is supposed to work, give or take those tables with squeezed columns, and at least it is expected to complete without fatal errors.
Absolutely!
Quoted 10 lines
I have no idea who is responsible to those grid-tables, so added a lot of people in the To: and Cc: lists.
Does removing those nested grids look reasonable to you?
Any feedback is welcome!
Note: This patch is against the docs-next branch of Jon's -doc tree
(git://git.lwn.net/linux.git). It can be applied against v5.15-rc1 and v5.15-rc2 as well.
I think this should go through drm-intel, and it'll find its way back to some v5.15-rc.
BR,
Jani.
Quoted 51 lines
Thanks, Akira
--.../gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h | 10 +++++----- .../drm/i915/gt/uc/abi/guc_communication_mmio_abi.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h +5
-5@@ -102,11 +102,11 @@ static_assert(sizeof(struct guc_ct_buffer_desc) == 64);* | +-------+--------------------------------------------------------------+ * | | 7:0 | NUM_DWORDS = length (in dwords) of the embedded HXG message | * +---+-------+--------------------------------------------------------------+ -* | 1 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 1 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */ drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h +5
-5@@ -38,11 +38,11 @@* +---+-------+--------------------------------------------------------------+ * | | Bits | Description | * +===+=======+==============================================================+ -* | 0 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 0 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */ base-commit:
242f4c77b1c8cebfdfa0ad5b40e2e4ae0316e57d
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
In reply to Akira Yokosawa== Series Details ==
== Series Details ==
Series: drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
URL : https://patchwork.freedesktop.org/series/94858/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10611 -> Patchwork_21098
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21098 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21098, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21098:
### IGT changes ###
#### Possible regressions ####
* igt@core_hotunplug@unbind-rebind:
- fi-bxt-dsi: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-bxt-dsi/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-bxt-dsi/igt@[email protected]
* igt@i915_module_load@reload:
- fi-snb-2600: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-snb-2600/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-snb-2600/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21098 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-compute:
- fi-cfl-guc: NOTRUN -> [SKIP][5] ([fdo#109271]) +17 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-cfl-guc/igt@amdgpu/[email protected]
* igt@amdgpu/amd_basic@cs-gfx:
- fi-skl-6700k2: NOTRUN -> [SKIP][6] ([fdo#109271]) +31 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-skl-6700k2/igt@amdgpu/[email protected]
* igt@amdgpu/amd_basic@query-info:
- fi-glk-dsi: NOTRUN -> [SKIP][7] ([fdo#109271]) +17 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-glk-dsi/igt@amdgpu/[email protected]
* igt@amdgpu/amd_basic@semaphore:
- fi-icl-y: NOTRUN -> [SKIP][8] ([fdo#109315]) +17 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-icl-y/igt@amdgpu/[email protected]
- fi-bdw-5557u: NOTRUN -> [SKIP][9] ([fdo#109271]) +27 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-bdw-5557u/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@fork-compute0:
- fi-ivb-3770: NOTRUN -> [SKIP][10] ([fdo#109271]) +18 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-ivb-3770/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@nop-compute0:
- fi-ilk-650: NOTRUN -> [SKIP][11] ([fdo#109271]) +18 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-ilk-650/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@sync-gfx0:
- fi-rkl-11600: NOTRUN -> [SKIP][12] ([fdo#109315]) +17 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-rkl-11600/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-rkl-guc: [PASS][13] -> [INCOMPLETE][14] ([i915#4130])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-rkl-guc/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-rkl-guc/igt@[email protected]
- fi-cfl-8700k: [PASS][15] -> [INCOMPLETE][16] ([i915#4130])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-cfl-8700k/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-cfl-8700k/igt@[email protected]
- fi-bdw-5557u: NOTRUN -> [WARN][17] ([i915#3718])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-bdw-5557u/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6700k2: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#2190])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-skl-6700k2/igt@[email protected]
* igt@i915_module_load@reload:
- fi-cfl-8109u: [PASS][19] -> [INCOMPLETE][20] ([i915#4130])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-cfl-8109u/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-cfl-8109u/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][21] ([fdo#109271] / [fdo#111827]) +8 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-bdw-5557u/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6700k2: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#533])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-skl-6700k2/igt@[email protected]
* igt@runner@aborted:
- fi-cfl-8109u: NOTRUN -> [FAIL][23] ([i915#2426] / [i915#3363])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-cfl-8109u/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [FAIL][24] ([i915#2426] / [i915#3363])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-kbl-soraka/igt@[email protected]
- fi-snb-2600: NOTRUN -> [FAIL][25] ([i915#2426])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-snb-2600/igt@[email protected]
#### Possible fixes ####
* igt@core_hotunplug@unbind-rebind:
- fi-ilk-650: [DMESG-WARN][26] ([i915#164]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-ilk-650/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-ilk-650/igt@[email protected]
- fi-cfl-guc: [INCOMPLETE][28] ([i915#4130]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-cfl-guc/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-cfl-guc/igt@[email protected]
- fi-rkl-11600: [INCOMPLETE][30] ([i915#4130]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-rkl-11600/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-rkl-11600/igt@[email protected]
* igt@gem_exec_suspend@basic-s0:
- fi-skl-6700k2: [DMESG-WARN][32] ([i915#1602]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-skl-6700k2/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-skl-6700k2/igt@[email protected]
* igt@i915_module_load@reload:
- fi-ilk-650: [INCOMPLETE][34] -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-ilk-650/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-ilk-650/igt@[email protected]
- fi-ivb-3770: [INCOMPLETE][36] -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-ivb-3770/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-ivb-3770/igt@[email protected]
- fi-glk-dsi: [INCOMPLETE][38] ([i915#4130]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-glk-dsi/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-glk-dsi/igt@[email protected]
- fi-kbl-guc: [INCOMPLETE][40] ([i915#4130] / [i915#4139]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-kbl-guc/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-kbl-guc/igt@[email protected]
#### Warnings ####
* igt@i915_module_load@reload:
- fi-kbl-soraka: [INCOMPLETE][42] ([i915#4136]) -> [INCOMPLETE][43] ([i915#4130])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-kbl-soraka/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-kbl-soraka/igt@[email protected]
- fi-icl-y: [INCOMPLETE][44] ([i915#4130]) -> [TIMEOUT][45] ([i915#4136])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10611/fi-icl-y/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/fi-icl-y/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#164]: https://gitlab.freedesktop.org/drm/intel/issues/164
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3718]: https://gitlab.freedesktop.org/drm/intel/issues/3718
[i915#4130]: https://gitlab.freedesktop.org/drm/intel/issues/4130
[i915#4136]: https://gitlab.freedesktop.org/drm/intel/issues/4136
[i915#4139]: https://gitlab.freedesktop.org/drm/intel/issues/4139
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Participating hosts (43 -> 36)
------------------------------
Missing (7): bat-adls-5 bat-dg1-6 fi-tgl-1115g4 fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus bat-jsl-1
Build changes
-------------
* Linux: CI_DRM_10611 -> Patchwork_21098
CI-20190529: 20190529
CI_DRM_10611: 8b0f8845694719e82824fad249557557077cd895 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6212: 0faa6b2533da9416a3428c34ca99661725577449 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21098: a7d7175da96fa437d3cca74786e5d1900c42d085 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
a7d7175da96f drm/i915/guc, docs: Fix pdfdocs build error by removing nested grid
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21098/index.html
Quoted 27 lines · Akira Yokosawa
Nested grids in grid-table cells are not specified as proper ReST constructs.
Commit572f2a5cd974("drm/i915/guc: Update firmware to v62.0.0") added a couple of kerneldoc tables of the form:+---+-------+------------------------------------------------------+ | 1 | 31:0 | +------------------------------------------------+ | +---+-------+ | | | |...| | | Embedded `HXG Message`_ | | +---+-------+ | | | | n | 31:0 | +------------------------------------------------+ | +---+-------+------------------------------------------------------+For "make htmldocs", they happen to work as one might expect, but they are incompatible with "make latexdocs" and "make pdfdocs", and cause the generated gpu.tex file to become incomplete and unbuildable by xelatex.
Restore the compatibility by removing those nested grids in the tables.
Size comparison of generated gpu.tex:
Sphinx 2.4.4 Sphinx 4.2.0v5.14: 3238686 3841631
v5.15-rc1: 376270 432729
with this fix: 3377846 3998095
Quoted 8 lines
Fixes 572f2a5cd974 ("drm/i915/guc: Update firmware to v62.0.0")Cc John Harrison <[email protected]>Cc Michal Wajdeczko <[email protected]>Cc Matthew Brost <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Matt Roper <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>
Pushed to drm-intel-gt-next, thanks for the patch.
This makes the HTML output arguably worse, but there were no comments from anyone and the pdf build needs to work.
BR,
Jani.
Quoted 71 lines
---
Hi all,I know there is little interest in building pdfdocs (or LaTeX) version of kernel-doc, and this issue does not matter most of you.
But "make pdfdocs" is supposed to work, give or take those tables with squeezed columns, and at least it is expected to complete without fatal errors.
I have no idea who is responsible to those grid-tables, so added a lot of people in the To: and Cc: lists.
Does removing those nested grids look reasonable to you?
Any feedback is welcome!
Note: This patch is against the docs-next branch of Jon's -doc tree
(git://git.lwn.net/linux.git). It can be applied against v5.15-rc1 and v5.15-rc2 as well.Thanks, Akira
--.../gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h | 10 +++++----- .../drm/i915/gt/uc/abi/guc_communication_mmio_abi.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/gt/uc/abi/guc_communication_ctb_abi.h +5
-5@@ -102,11 +102,11 @@ static_assert(sizeof(struct guc_ct_buffer_desc) == 64);* | +-------+--------------------------------------------------------------+ * | | 7:0 | NUM_DWORDS = length (in dwords) of the embedded HXG message | * +---+-------+--------------------------------------------------------------+ -* | 1 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 1 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */ drivers/gpu/drm/i915/gt/uc/abi/guc_communication_mmio_abi.h +5
-5@@ -38,11 +38,11 @@* +---+-------+--------------------------------------------------------------+ * | | Bits | Description | * +===+=======+==============================================================+ -* | 0 | 31:0 | +--------------------------------------------------------+ | -* +---+-------+ | | | -* |...| | | Embedded `HXG Message`_ | | -* +---+-------+ | | | -* | n | 31:0 | +--------------------------------------------------------+ | +* | 0 | 31:0 | | +* +---+-------+ | +* |...| | [Embedded `HXG Message`_] | +* +---+-------+ | +* | n | 31:0 | | * +---+-------+--------------------------------------------------------------+ */ base-commit:
242f4c77b1c8cebfdfa0ad5b40e2e4ae0316e57d
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Quoted 37 lines · Jani Nikula
Quoted 27 lines · Akira Yokosawa
Nested grids in grid-table cells are not specified as proper ReST constructs.
Commit572f2a5cd974("drm/i915/guc: Update firmware to v62.0.0") added a couple of kerneldoc tables of the form:+---+-------+------------------------------------------------------+ | 1 | 31:0 | +------------------------------------------------+ | +---+-------+ | | | |...| | | Embedded `HXG Message`_ | | +---+-------+ | | | | n | 31:0 | +------------------------------------------------+ | +---+-------+------------------------------------------------------+For "make htmldocs", they happen to work as one might expect, but they are incompatible with "make latexdocs" and "make pdfdocs", and cause the generated gpu.tex file to become incomplete and unbuildable by xelatex.
Restore the compatibility by removing those nested grids in the tables.
Size comparison of generated gpu.tex:
Sphinx 2.4.4 Sphinx 4.2.0v5.14: 3238686 3841631
v5.15-rc1: 376270 432729
with this fix: 3377846 3998095Quoted 8 lines
Fixes 572f2a5cd974 ("drm/i915/guc: Update firmware to v62.0.0")Cc John Harrison <[email protected]>Cc Michal Wajdeczko <[email protected]>Cc Matthew Brost <[email protected]>Cc Daniele Ceraolo Spurio <[email protected]>Cc Matt Roper <[email protected]>Cc Jonathan Corbet <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>
Quoted 4 lines
Pushed to drm-intel-gt-next, thanks for the patch.
This makes the HTML output arguably worse, but there were no comments from anyone and the pdf build needs to work.
[Dropped most CCs]
Hi Jani,
Thank you for taking care of this patch.
Jon, as this has reached upstream, can you back-merge v5.15-rc4 into docs-next so that "make pdfdocs" can complete?
I tried the back-merge without seeing any conflict. "make pdfdocs" finishes successfully now.
Thanks, Akira
Quoted 7 lines
BR,
Jani.Quoted 1 line
---
[...]
Jonathan Corbet
maintainerQuoted 2 lines · Akira Yokosawa
Jon, as this has reached upstream, can you back-merge v5.15-rc4 into docs-next so that "make pdfdocs" can complete?
OK, I've just done that.
Thanks,
jon