General cleanup and SPDX update
Subsystems (3)
cover General cleanup and SPDX update
There are a bunch of warnings from checkpatch and kerneldoc style issues that this cleanup series tries to address and also update the SPDX License header for all the KFD files within amdgpu driver.
Rajneesh Bhardwaj (4):
drm/amdgpu: Fix some kerneldoc warnings
drm/amdkfd: updade SPDX license header
drm/amdkfd: Fix leftover errors and warnings
drm/amdgpu: Fix a kerneldoc warning
.../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4 ++-- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++++- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 14 +++++++------ drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 8 +++++--- .../drm/amd/amdkfd/kfd_device_queue_manager.c | 20 +++++++++---------- .../drm/amd/amdkfd/kfd_device_queue_manager.h | 11 +++++----- .../amd/amdkfd/kfd_device_queue_manager_cik.c | 3 ++- .../amd/amdkfd/kfd_device_queue_manager_v10.c | 12 ++--------- .../amd/amdkfd/kfd_device_queue_manager_v9.c | 3 ++- .../amd/amdkfd/kfd_device_queue_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 5 +++-- .../gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 6 ++++-- drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 4 +++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 5 +++-- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 4 +++- .../gpu/drm/amd/amdkfd/kfd_packet_manager.c | 3 ++- .../drm/amd/amdkfd/kfd_packet_manager_v9.c | 3 ++- .../drm/amd/amdkfd/kfd_packet_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 3 ++- .../amd/amdkfd/kfd_pm4_headers_aldebaran.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_diq.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 7 ++++--- drivers/gpu/drm/amd/amdkfd/kfd_pm4_opcodes.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 7 ++++--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 3 ++- .../amd/amdkfd/kfd_process_queue_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 9 +++++---- drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 3 ++- 50 files changed, 137 insertions(+), 94 deletions(-)
Signature · 1 line
2.17.1
PATCH 1/4 drm/amdgpu: Fix some kerneldoc warnings
Fix few kerneldoc warnings and one typo.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c +2 -2
@@ -715,7 +715,7 @@ static void get_wave_count(struct amdgpu_device *adev, int queue_idx,* process whose pasid is provided as a parameter. The process could have ZERO * or more queues running and submitting waves to compute units. * -* @kgd: Handle of device from which to get number of waves in flight +* @adev: Handle of device from which to get number of waves in flight * @pasid: Identifies the process for which this query call is invoked * @pasid_wave_cnt: Output parameter updated with number of waves in flight that * belong to process with given pasid
@@ -724,7 +724,7 @@ static void get_wave_count(struct amdgpu_device *adev, int queue_idx,* * Note: It's possible that the device has too many queues (oversubscription) * in which case a VMID could be remapped to a different PASID. This could lead -* to an iaccurate wave count. Following is a high-level sequence: +* to an inaccurate wave count. Following is a high-level sequence: * Time T1: vmid = getVmid(); vmid is associated with Pasid P1 * Time T2: passId = getPasId(vmid); vmid is associated with Pasid P2 * In the sequence above wave count obtained from time T1 will be incorrectly
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +1 -1
@@ -121,7 +121,7 @@ static size_t amdgpu_amdkfd_acc_size(uint64_t size) }/** -* @amdgpu_amdkfd_reserve_mem_limit() - Decrease available memory by size +* amdgpu_amdkfd_reserve_mem_limit() - Decrease available memory by size * of buffer including any reserved for control structures * * @adev: Device to which allocated BO belongs to
Signature · 1 line
2.17.1
PATCH 2/4 drm/amdkfd: updade SPDX license header
In reply to Rajneesh BhardwajUpdate the SPDX License header for all the KFD files.
--- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_aldebaran.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_diq.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_opcodes.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 3 ++- 46 files changed, 92 insertions(+), 46 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_crat.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2015-2017 Advanced Micro Devices, Inc. +* Copyright 2015-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_crat.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2016-2017 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2018 Advanced Micro Devices, Inc. +* Copyright 2018-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2016-2018 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_events.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_events.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2016-2018 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_iommu.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2018 Advanced Micro Devices, Inc. +* Copyright 2018-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_iommu.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2018 Advanced Micro Devices, Inc. +* Copyright 2018-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_module.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2018 Advanced Micro Devices, Inc. +* Copyright 2018-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2016-2018 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2016-2018 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pasid.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2016 Advanced Micro Devices, Inc. +* Copyright 2016-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_aldebaran.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2020 Advanced Micro Devices, Inc. +* Copyright 2020-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_diq.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_pm4_opcodes.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_process.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2020 Advanced Micro Devices, Inc. +* Copyright 2020-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2020 Advanced Micro Devices, Inc. +* Copyright 2020-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_topology.c +2 -1
@@ -1,5 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/amdkfd/kfd_topology.h +2 -1
@@ -1,5 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* -* Copyright 2014 Advanced Micro Devices, Inc. +* Copyright 2014-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"),
Signature · 1 line
2.17.1
PATCH 3/4 drm/amdkfd: Fix leftover errors and warnings
In reply to Rajneesh BhardwajA bunch of errors and warnings are leftover KFD over the years, attempt to fix the errors and most warnings reported by checkpatch tool. Still a few warnings remain which may be false positives so ignore them for now.
--- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 11 ++++++----- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 5 +++-- .../drm/amd/amdkfd/kfd_device_queue_manager.c | 17 ++++++++--------- .../drm/amd/amdkfd/kfd_device_queue_manager.h | 8 +++----- .../amd/amdkfd/kfd_device_queue_manager_v10.c | 9 --------- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 1 + .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 1 + drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 4 ++-- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 4 ++-- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 6 +++--- 17 files changed, 37 insertions(+), 44 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +6 -5
@@ -37,7 +37,7 @@#include <linux/ptrace.h> #include <linux/dma-buf.h> #include <linux/fdtable.h> -#include <asm/processor.h> +#include <linux/processor.h> #include "kfd_priv.h" #include "kfd_device_queue_manager.h" #include "kfd_svm.h"
@@ -1133,11 +1133,12 @@ static int kfd_ioctl_free_memory_of_gpu(struct file *filep,return ret; } -static bool kfd_flush_tlb_after_unmap (struct kfd_dev *dev) { +static bool kfd_flush_tlb_after_unmap (struct kfd_dev *dev) +{return KFD_GC_VERSION (dev) ==IP_VERSION (9 ,4 ,2 ) || - (KFD_GC_VERSION (dev) ==IP_VERSION (9 ,4 ,1 ) && - dev->adev->sdma.instance[0 ].fw_version >=18 ) || -KFD_GC_VERSION (dev) ==IP_VERSION (9 ,4 ,0 ); + (KFD_GC_VERSION (dev) ==IP_VERSION (9 ,4 ,1 ) && + dev->adev->sdma.instance[0 ].fw_version >=18 ) || +KFD_GC_VERSION (dev) ==IP_VERSION (9 ,4 ,0 ); } static int kfd_ioctl_map_memory_to_gpu(struct file *filep,
drivers/gpu/drm/amd/amdkfd/kfd_crat.c +1 -1
@@ -1382,7 +1382,7 @@ static int kfd_fill_gpu_cache_info(struct kfd_dev *kdev, num_of_cache_types =ARRAY_SIZE (vegam_cache_info);break ;default : -switch (KFD_GC_VERSION (kdev)) { +switch (KFD_GC_VERSION (kdev)) {case IP_VERSION (9 ,0 ,1 ): pcache_info = vega10_cache_info; num_of_cache_types =ARRAY_SIZE (vega10_cache_info);
drivers/gpu/drm/amd/amdkfd/kfd_crat.h +1 -1
@@ -233,7 +233,7 @@ struct crat_subtype_ccompute {#define CRAT_IOLINK_FLAGS_NO_ATOMICS_32_BIT (1 << 2)#define CRAT_IOLINK_FLAGS_NO_ATOMICS_64_BIT (1 << 3)#define CRAT_IOLINK_FLAGS_NO_PEER_TO_PEER_DMA (1 << 4) -#define CRAT_IOLINK_FLAGS_BI_DIRECTIONAL (1 << 31) +#define CRAT_IOLINK_FLAGS_BI_DIRECTIONAL (1 << 31)#define CRAT_IOLINK_FLAGS_RESERVED_MASK 0x7fffffe0/*
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c +1 -1
@@ -36,7 +36,7 @@ static int kfd_debugfs_open(struct inode *inode, struct file *file) }static int kfd_debugfs_hang_hws_read (struct seq_file *m,void *data) { -seq_printf (m,"echo gpu_id > hang_hws\n" ); +seq_puts (m,"echo gpu_id > hang_hws\n" );return 0 ; }
drivers/gpu/drm/amd/amdkfd/kfd_device.c +3 -2
@@ -439,7 +439,8 @@ static int kfd_gws_init(struct kfd_dev *kfd)return ret; } -static void kfd_smi_init (struct kfd_dev *dev) { +static void kfd_smi_init (struct kfd_dev *dev) +{INIT_LIST_HEAD (&dev->smi_clients);spin_lock_init (&dev->smi_lock); }
@@ -572,7 +573,7 @@ bool kgd2kfd_device_init(struct kfd_dev *kfd,svm_migrate_init (kfd->adev); -if (kgd2kfd_resume_iommu (kfd)) +if (kgd2kfd_resume_iommu (kfd)) goto device_iommu_error;if (kfd_resume (kfd))
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +8 -9
@@ -677,9 +677,9 @@ static int update_queue(struct device_queue_manager *dqm, struct queue *q, } retval = mqd_mgr->destroy_mqd (mqd_mgr, q->mqd, - (dqm->dev->cwsr_enabled? -KFD_PREEMPT_TYPE_WAVEFRONT_SAVE : -KFD_PREEMPT_TYPE_WAVEFRONT_DRAIN ), + (dqm->dev->cwsr_enabled ? +KFD_PREEMPT_TYPE_WAVEFRONT_SAVE : +KFD_PREEMPT_TYPE_WAVEFRONT_DRAIN ),KFD_UNMAP_LATENCY_MS , q->pipe, q->queue);if (retval) {pr_err ("destroy mqd failed\n" );
@@ -772,9 +772,9 @@ static int evict_process_queues_nocpsch(struct device_queue_manager *dqm,continue ; retval = mqd_mgr->destroy_mqd (mqd_mgr, q->mqd, - (dqm->dev->cwsr_enabled? -KFD_PREEMPT_TYPE_WAVEFRONT_SAVE : -KFD_PREEMPT_TYPE_WAVEFRONT_DRAIN ), + (dqm->dev->cwsr_enabled ? +KFD_PREEMPT_TYPE_WAVEFRONT_SAVE : +KFD_PREEMPT_TYPE_WAVEFRONT_DRAIN ),KFD_UNMAP_LATENCY_MS , q->pipe, q->queue);if (retval && !ret)/* Return the first error, but keep going to
@@ -1099,7 +1099,7 @@ static int start_nocpsch(struct device_queue_manager *dqm)pr_info ("SW scheduler is used" );init_interrupts (dqm); - +if (dqm->dev->adev->asic_type ==CHIP_HAWAII ) r =pm_init (&dqm->packet_mgr, dqm);if (!r)
@@ -2235,8 +2235,7 @@ int dqm_debugfs_hqds(struct seq_file *m, void *data)int r =0 ;if (!dqm->sched_running) { -seq_printf (m," Device is stopped\n" ); - +seq_puts (m," Device is stopped\n" );return 0 ; }
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h +3 -5
@@ -92,7 +92,7 @@ union GRBM_GFX_INDEX_BITS {* * @initialize: Initializes the pipelines and memory module for that device. * -* @start: Initializes the resources/modules the the device needs for queues +* @start: Initializes the resources/modules the device needs for queues * execution. This function is called on device initialization and after the * system woke up after suspension. *
@@ -113,7 +113,7 @@ union GRBM_GFX_INDEX_BITS {* * @evict_process_queues: Evict all active queues of a process * -* @restore_process_queues: Restore all evicted queues queues of a process +* @restore_process_queues: Restore all evicted queues of a process * * @get_wave_state: Retrieves context save state and optionally copies the * control stack, if kept in the MQD, to the given userspace address.
@@ -303,9 +303,7 @@ static inline void dqm_unlock(struct device_queue_manager *dqm)static inline int read_sdma_queue_counter (uint64_t __user *q_rptr,uint64_t *val) { -/* -* SDMA activity counter is stored at queue's RPTR + 0x8 location. -*/ +/* SDMA activity counter is stored at queue's RPTR + 0x8 location. */ return get_user (*val, q_rptr +1 ); }#endif /* KFD_DEVICE_QUEUE_MANAGER_H_ */
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c +0 -9
@@ -62,15 +62,6 @@ static int update_qpd_v10(struct device_queue_manager *dqm, (SH_MEM_ALIGNMENT_MODE_UNALIGNED <<SH_MEM_CONFIG__ALIGNMENT_MODE__SHIFT ) | (3 <<SH_MEM_CONFIG__INITIAL_INST_PREFETCH__SHIFT ); -#if 0 -/* TODO: -* This shouldn't be an issue with Navi10. Verify. -*/ -if (vega10_noretry) - qpd->sh_mem_config |= -1 <<SH_MEM_CONFIG__RETRY_DISABLE__SHIFT ; -#endif - qpd->sh_mem_ape1_limit =0 ; qpd->sh_mem_ape1_base =0 ; }
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c +1 -1
@@ -35,7 +35,7 @@#include "kfd_priv.h" #include <linux/mm.h> #include <linux/mman.h> -#include <asm/processor.h> +#include <linux/processor.h> /* * The primary memory I/O features being added for revisions of gfxip
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c +2 -1
@@ -120,7 +120,8 @@ static void event_interrupt_poison_consumption(struct kfd_dev *dev,kfd_signal_poison_consumed_event (dev, pasid);/* resetting queue passes, do page retirement without gpu reset -resetting queue fails, fallback to gpu reset solution */ +* resetting queue fails, fallback to gpu reset solution +*/ if (!ret)amdgpu_amdkfd_ras_poison_consumption_handler (dev->adev, false);else
drivers/gpu/drm/amd/amdkfd/kfd_migrate.c +1 -1
@@ -363,7 +363,7 @@ svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange,if (r) goto out_free_vram_pages;amdgpu_res_next (&cursor, (j +1 ) *PAGE_SIZE ); - j=0 ; + j =0 ; }else { j++; }
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +1 -0
@@ -101,6 +101,7 @@ void mqd_symmetrically_map_cu_mask(struct mqd_manager *mm,struct kfd_cu_info cu_info;uint32_t cu_per_sh[KFD_MAX_NUM_SE ][KFD_MAX_NUM_SH_PER_SE ] = {0 };int i, se, sh, cu; +amdgpu_amdkfd_get_cu_info (mm->dev->adev, &cu_info);if (cu_mask_count > cu_info.cu_active_number)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +1 -1
@@ -206,7 +206,7 @@ static void update_mqd(struct mqd_manager *mm, void *mqd,/* GC 10 removed WPP_CLAMP from PQ Control */ m->cp_hqd_pq_control |=CP_HQD_PQ_CONTROL__NO_UPDATE_RPTR_MASK |2 <<CP_HQD_PQ_CONTROL__SLOT_BASED_WPTR__SHIFT | -1 <<CP_HQD_PQ_CONTROL__QUEUE_FULL_EN__SHIFT ; +1 <<CP_HQD_PQ_CONTROL__QUEUE_FULL_EN__SHIFT ; m->cp_hqd_pq_doorbell_control |=1 <<CP_HQD_PQ_DOORBELL_CONTROL__DOORBELL_BIF_DROP__SHIFT ; }
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +1 -0
@@ -329,6 +329,7 @@ static void init_mqd_hiq(struct mqd_manager *mm, void **mqd, struct queue_properties *q) {struct vi_mqd *m; +init_mqd (mm, mqd, mqd_mem_obj, gart_addr, q); m =get_mqd (*mqd);
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h +2 -2
@@ -102,8 +102,8 @@ struct pm4_mes_set_resources {struct pm4_mes_runlist {union { -union PM4_MES_TYPE_3_HEADER header;/* header */ -uint32_t ordinal1; +union PM4_MES_TYPE_3_HEADER header;/* header */ +uint32_t ordinal1; };union {
drivers/gpu/drm/amd/amdkfd/kfd_priv.h +2 -2
@@ -794,7 +794,7 @@ struct svm_range_list {atomic_t drain_pagefaults;struct delayed_work restore_work;DECLARE_BITMAP (bitmap_supported,MAX_GPU_INSTANCE ); -struct task_struct *faulting_task; +struct task_struct *faulting_task; };/* Process data */
@@ -915,7 +915,7 @@ bool kfd_dev_is_large_bar(struct kfd_dev *dev);int kfd_process_create_wq (void );void kfd_process_destroy_wq (void );struct kfd_process *kfd_create_process (struct file *filep); -struct kfd_process *kfd_get_process (const struct task_struct *); +struct kfd_process *kfd_get_process (const struct task_struct *task);struct kfd_process *kfd_lookup_process_by_pasid (u32 pasid);struct kfd_process *kfd_lookup_process_by_mm (const struct mm_struct *mm);
drivers/gpu/drm/amd/amdkfd/kfd_topology.c +3 -3
@@ -1442,9 +1442,9 @@ int kfd_topology_add_device(struct kfd_dev *gpu) }/* -* Overwrite ATS capability according to needs_iommu_device to fix -* potential missing corresponding bit in CRAT of BIOS. -*/ +* Overwrite ATS capability according to needs_iommu_device to fix +* potential missing corresponding bit in CRAT of BIOS. +*/ if (dev->gpu->use_iommu_v2) dev->node_props.capability |=HSA_CAP_ATS_PRESENT ;else
Signature · 1 line
2.17.1
PATCH 4/4 drm/amdgpu: Fix a kerneldoc warning
In reply to Rajneesh BhardwajAdd missing parameters to fix a kerneldoc warning
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +5 -1
@@ -554,7 +554,11 @@ void amdgpu_device_wreg(struct amdgpu_device *adev,/** * amdgpu_mm_wreg_mmio_rlc - write register either with direct/indirect mmio or with RLC path if in range * -* this function is invoked only the debugfs register access +* @adev: amdgpu_device pointer +* @reg: mmio/rlc register +* @v: value to write +* +* this function is invoked only for the debugfs register access */ void amdgpu_mm_wreg_mmio_rlc (struct amdgpu_device *adev,uint32_t reg,uint32_t v)
Signature · 1 line
2.17.1
Am 2022-02-11 um 13:59 schrieb Rajneesh Bhardwaj:
Quoted 3 lines
There are a bunch of warnings from checkpatch and kerneldoc style issues that this cleanup series tries to address and also update the SPDX License header for all the KFD files within amdgpu driver.
The series is
Quoted 60 lines
Rajneesh Bhardwaj (4):
drm/amdgpu: Fix some kerneldoc warnings
drm/amdkfd: updade SPDX license header
drm/amdkfd: Fix leftover errors and warnings
drm/amdgpu: Fix a kerneldoc warning.../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 4 ++-- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++++- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 14 +++++++------ drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_crat.h | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c | 5 +++-- drivers/gpu/drm/amd/amdkfd/kfd_device.c | 8 +++++--- .../drm/amd/amdkfd/kfd_device_queue_manager.c | 20 +++++++++---------- .../drm/amd/amdkfd/kfd_device_queue_manager.h | 11 +++++----- .../amd/amdkfd/kfd_device_queue_manager_cik.c | 3 ++- .../amd/amdkfd/kfd_device_queue_manager_v10.c | 12 ++--------- .../amd/amdkfd/kfd_device_queue_manager_v9.c | 3 ++- .../amd/amdkfd/kfd_device_queue_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c | 5 +++-- .../gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 6 ++++-- drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_iommu.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 2 +- drivers/gpu/drm/amd/amdkfd/kfd_module.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c | 4 +++- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 5 +++-- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 3 ++- .../gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 4 +++- .../gpu/drm/amd/amdkfd/kfd_packet_manager.c | 3 ++- .../drm/amd/amdkfd/kfd_packet_manager_v9.c | 3 ++- .../drm/amd/amdkfd/kfd_packet_manager_vi.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h | 3 ++- .../amd/amdkfd/kfd_pm4_headers_aldebaran.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_diq.h | 3 ++- .../gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 7 ++++--- drivers/gpu/drm/amd/amdkfd/kfd_pm4_opcodes.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 7 ++++--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 3 ++- .../amd/amdkfd/kfd_process_queue_manager.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_queue.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 3 ++- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 9 +++++---- drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 3 ++- 50 files changed, 137 insertions(+), 94 deletions(-)