Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panfrost: cleanup comments

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

authored by

Tom Rix and committed by
Steven Price
81d9d7f8 15043036

+5 -5
+1 -1
drivers/gpu/drm/panfrost/panfrost_drv.c
··· 562 562 563 563 pfdev->coherent = device_get_dma_attr(&pdev->dev) == DEV_DMA_COHERENT; 564 564 565 - /* Allocate and initialze the DRM device. */ 565 + /* Allocate and initialize the DRM device. */ 566 566 ddev = drm_dev_alloc(&panfrost_drm_driver, &pdev->dev); 567 567 if (IS_ERR(ddev)) 568 568 return PTR_ERR(ddev);
+1 -1
drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 1 + // SPDX-License-Identifier: GPL-2.0 2 2 /* Copyright (C) 2019 Arm Ltd. 3 3 * 4 4 * Based on msm_gem_freedreno.c:
+1 -1
drivers/gpu/drm/panfrost/panfrost_issues.h
··· 14 14 */ 15 15 enum panfrost_hw_issue { 16 16 /* Need way to guarantee that all previously-translated memory accesses 17 - * are commited */ 17 + * are committed */ 18 18 HW_ISSUE_6367, 19 19 20 20 /* On job complete with non-done the cache is not flushed */
+1 -1
drivers/gpu/drm/panfrost/panfrost_mmu.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 1 + // SPDX-License-Identifier: GPL-2.0 2 2 /* Copyright 2019 Linaro, Ltd, Rob Herring <robh@kernel.org> */ 3 3 4 4 #include <drm/panfrost_drm.h>
+1 -1
drivers/gpu/drm/panfrost/panfrost_regs.h
··· 293 293 #define AS_FAULTADDRESS_LO(as) (MMU_AS(as) + 0x20) /* (RO) Fault Address for address space n, low word */ 294 294 #define AS_FAULTADDRESS_HI(as) (MMU_AS(as) + 0x24) /* (RO) Fault Address for address space n, high word */ 295 295 #define AS_STATUS(as) (MMU_AS(as) + 0x28) /* (RO) Status flags for address space n */ 296 - /* Additional Bifrost AS regsiters */ 296 + /* Additional Bifrost AS registers */ 297 297 #define AS_TRANSCFG_LO(as) (MMU_AS(as) + 0x30) /* (RW) Translation table configuration for address space n, low word */ 298 298 #define AS_TRANSCFG_HI(as) (MMU_AS(as) + 0x34) /* (RW) Translation table configuration for address space n, high word */ 299 299 #define AS_FAULTEXTRA_LO(as) (MMU_AS(as) + 0x38) /* (RO) Secondary fault address for address space n, low word */