]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/panfrost: cleanup comments
authorTom Rix <trix@redhat.com>
Wed, 2 Mar 2022 12:45:35 +0000 (04:45 -0800)
committerSteven Price <steven.price@arm.com>
Wed, 2 Mar 2022 13:53:24 +0000 (13:53 +0000)
For spdx
change tab to space delimiter
Use // for *.c

Replacements
commited to committed
regsiters to registers
initialze to initialize

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302124535.358060-1-trix@redhat.com
drivers/gpu/drm/panfrost/panfrost_drv.c
drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c
drivers/gpu/drm/panfrost/panfrost_issues.h
drivers/gpu/drm/panfrost/panfrost_mmu.c
drivers/gpu/drm/panfrost/panfrost_regs.h

index 96bb5a4656278091ec9f30691cd694bad1bedf01..94b6f0a19c83a81b4c59b2fbf9040dbfe9d13f47 100644 (file)
@@ -562,7 +562,7 @@ static int panfrost_probe(struct platform_device *pdev)
 
        pfdev->coherent = device_get_dma_attr(&pdev->dev) == DEV_DMA_COHERENT;
 
-       /* Allocate and initialze the DRM device. */
+       /* Allocate and initialize the DRM device. */
        ddev = drm_dev_alloc(&panfrost_drm_driver, &pdev->dev);
        if (IS_ERR(ddev))
                return PTR_ERR(ddev);
index b0142341e22357d46fb8ccbb939a160288a0fc3e..77e7cb6d1ae3b8f4fae97007ffc4cf5756d82bc8 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+// SPDX-License-Identifier: GPL-2.0
 /* Copyright (C) 2019 Arm Ltd.
  *
  * Based on msm_gem_freedreno.c:
index 8e59d765bf19f1bd71af569ce5811c17cafc49a2..501a76c5e95ff4b878424369b6d8a81eeb6912b5 100644 (file)
@@ -14,7 +14,7 @@
  */
 enum panfrost_hw_issue {
        /* Need way to guarantee that all previously-translated memory accesses
-        * are commited */
+        * are committed */
        HW_ISSUE_6367,
 
        /* On job complete with non-done the cache is not flushed */
index 39562f2d11a47aa28052d5a04fc3f84cc688a3eb..d3f82b26a631dbbb45e7ab15abb9c4acb85d1def 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier:    GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
 /* Copyright 2019 Linaro, Ltd, Rob Herring <robh@kernel.org> */
 
 #include <drm/panfrost_drm.h>
index 16e776cc82ea5616b5ac853a3c6d8646754c45f6..0b6cd8fdcb473cc8c72fd7a67b0b0dc398404764 100644 (file)
 #define AS_FAULTADDRESS_LO(as)         (MMU_AS(as) + 0x20) /* (RO) Fault Address for address space n, low word */
 #define AS_FAULTADDRESS_HI(as)         (MMU_AS(as) + 0x24) /* (RO) Fault Address for address space n, high word */
 #define AS_STATUS(as)                  (MMU_AS(as) + 0x28) /* (RO) Status flags for address space n */
-/* Additional Bifrost AS regsiters */
+/* Additional Bifrost AS registers */
 #define AS_TRANSCFG_LO(as)             (MMU_AS(as) + 0x30) /* (RW) Translation table configuration for address space n, low word */
 #define AS_TRANSCFG_HI(as)             (MMU_AS(as) + 0x34) /* (RW) Translation table configuration for address space n, high word */
 #define AS_FAULTEXTRA_LO(as)           (MMU_AS(as) + 0x38) /* (RO) Secondary fault address for address space n, low word */