Documentation/gpu: Fix brackets
Subsystems (6)
PATCH 1/1 Documentation/gpu: Fix brackets
Remove needless '(' and add missing ')'.
Signed-off-by Manuel Ebner <[email protected]>
--- Documentation/gpu/drm-vm-bind-locking.rst | 2 +- Documentation/gpu/nova/core/todo.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/gpu/drm-vm-bind-locking.rst +1 -1
@@ -170,7 +170,7 @@ submission is therefore preceded with a re-validation section: validate_gem_bo(&gpu_vm_bo->gem_bo); // The following list iteration needs the Gem object's - // dma_resv to be held (it protects the gpu_vm_bo's list of + // dma_resv to be held. It protects the gpu_vm_bo's list of // gpu_vmas, but since local gem objects share the gpu_vm's // dma_resv, it is already held at this point. for_each_gpu_vma_of_gpu_vm_bo(&gpu_vm_bo, &gpu_vma)
Documentation/gpu/nova/core/todo.rst +1 -1
@@ -33,7 +33,7 @@ A good example from nova-core would be the ``Chipset`` enum type, which defines the value ``AD102``. When probing the GPU the value ``0x192`` can be read from a certain register indication the chipset AD102. Hence, the enum value ``AD102`` should be derived from the number ``0x192``. Currently, nova-core uses a custom -implementation (``Chipset::from_u32`` for this. +implementation (``Chipset::from_u32``) for this. Instead, it would be desirable to have something like the ``FromPrimitive`` trait [1] from the num crate.
Signature · 1 line
2.54.0
Hi,
Quoted 7 lines · Manuel Ebner
Remove needless '(' and add missing ')'.
Signed-off-by Manuel Ebner <[email protected]>--- Documentation/gpu/drm-vm-bind-locking.rst | 2 +- Documentation/gpu/nova/core/todo.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
This patch probably should be 2 patches since these files have different maintainers.
Documentation/gpu/drm-vm-bind-locking.rst submission is therefore preceded with a re-validation section: · line 175
Quoted 12 lines
Documentation/gpu/drm-vm-bind-locking.rst +1
-1@@ -170,7 +170,7 @@ submission is therefore preceded with a re-validation section: validate_gem_bo(&gpu_vm_bo->gem_bo); // The following list iteration needs the Gem object's - // dma_resv to be held (it protects the gpu_vm_bo's list of + // dma_resv to be held. It protects the gpu_vm_bo's list of // gpu_vmas, but since local gem objects share the gpu_vm's // dma_resv, it is already held at this point.
I think that I must like parenthetical phrases more than you do. ;)
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 14 lines
Documentation/gpu/drm-vm-bind-locking.rst +0
-0for_each_gpu_vma_of_gpu_vm_bo(&gpu_vm_bo, &gpu_vma)Documentation/gpu/nova/core/todo.rst +1
-1@@ -33,7 +33,7 @@ A good example from nova-core would be the ``Chipset`` enum type, which defines the value ``AD102``. When probing the GPU the value ``0x192`` can be read from a certain register indication the chipset AD102. Hence, the enum value ``AD102`` should be derived from the number ``0x192``. Currently, nova-core uses a custom -implementation (``Chipset::from_u32`` for this. +implementation (``Chipset::from_u32``) for this. Instead, it would be desirable to have something like the ``FromPrimitive`` trait [1] from the num crate.
Signature · 1 line
~Randy