Commit 3eeb0d03 authored by Srinivasan Shanmugam's avatar Srinivasan Shanmugam Committed by Alex Deucher

drm/amdgpu: Fix up missing kdoc parameter 'inst' in get_wave_count() &...

drm/amdgpu: Fix up missing kdoc parameter 'inst' in get_wave_count() & kgd_gfx_v9_get_cu_occupancy()

Fix these warnings by adding 'inst' arguments to kdocs.

gcc with W=1
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:692: warning: Function parameter or member 'inst' not described in 'get_wave_count'
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:763: warning: Function parameter or member 'inst' not described in 'kgd_gfx_v9_get_cu_occupancy'

Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ca2943fe
...@@ -686,6 +686,7 @@ static void unlock_spi_csq_mutexes(struct amdgpu_device *adev) ...@@ -686,6 +686,7 @@ static void unlock_spi_csq_mutexes(struct amdgpu_device *adev)
* @wave_cnt: Output parameter updated with number of waves in flight * @wave_cnt: Output parameter updated with number of waves in flight
* @vmid: Output parameter updated with VMID of queue whose wave count * @vmid: Output parameter updated with VMID of queue whose wave count
* is being collected * is being collected
* @inst: xcc's instance number on a multi-XCC setup
*/ */
static void get_wave_count(struct amdgpu_device *adev, int queue_idx, static void get_wave_count(struct amdgpu_device *adev, int queue_idx,
int *wave_cnt, int *vmid, uint32_t inst) int *wave_cnt, int *vmid, uint32_t inst)
...@@ -724,6 +725,7 @@ static void get_wave_count(struct amdgpu_device *adev, int queue_idx, ...@@ -724,6 +725,7 @@ static void get_wave_count(struct amdgpu_device *adev, int queue_idx,
* belong to process with given pasid * belong to process with given pasid
* @max_waves_per_cu: Output parameter updated with maximum number of waves * @max_waves_per_cu: Output parameter updated with maximum number of waves
* possible per Compute Unit * possible per Compute Unit
* @inst: xcc's instance number on a multi-XCC setup
* *
* Note: It's possible that the device has too many queues (oversubscription) * 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 * in which case a VMID could be remapped to a different PASID. This could lead
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment