linux-yocto/drivers/gpu/drm/amd/include
Mukul Joshi 6ae9e1aba9 drm/amdkfd: Update logic for CU occupancy calculations
Currently, the code uses the IH_VMID_X_LUT register to map
a queue's vmid to the corresponding PASID. This logic is racy
since CP can update the VMID-PASID mapping anytime especially
when there are more processes than number of vmids. Update the
logic to calculate CU occupancy by matching doorbell offset of
the queue with valid wave counts against the process's queues.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-25 12:56:00 -04:00
..
asic_reg drm/amdgpu/uvd4: fix mask and shift definitions 2024-08-13 10:26:48 -04:00
ivsrcid drm/amd/amdgpu: Map ISP interrupts as generic IRQs 2024-06-27 17:34:40 -04:00
aldebaran_ip_offset.h
amd_acpi.h
amd_pcie_helpers.h
amd_pcie.h
amd_shared.h drm/amdgpu: fix spelling in amd_shared.h 2024-09-18 16:14:26 -04:00
amdgpu_reg_state.h drm/amdgpu: Fix null pointer dereference 2024-01-22 17:13:28 -05:00
arct_ip_offset.h drm/amd/include: Clean up errors in arct_ip_offset.h 2024-01-18 15:38:03 -05:00
atom-bits.h drm/amdgpu: Clean up errors in atom-bits.h 2024-01-18 15:38:05 -05:00
atom-names.h
atom-types.h
atombios.h
atomfirmware.h drm/amdgpu/atomfirmware: Silence UBSAN warning 2024-09-10 13:44:29 -04:00
atomfirmwareid.h
beige_goby_ip_offset.h drm/amd/amdgpu: Clean up errors in beige_goby_ip_offset.h 2024-01-18 15:38:31 -05:00
cgs_common.h drm/amdgpu: Clean up errors in cgs_common.h 2024-01-18 15:38:25 -05:00
cik_structs.h
cyan_skillfish_ip_offset.h drm/amd: Clean up errors in vega10_ip_offset.h 2024-01-18 15:38:15 -05:00
dimgrey_cavefish_ip_offset.h drm/amdgpu: Clean up errors in dimgrey_cavefish_ip_offset.h 2024-01-18 15:38:19 -05:00
discovery.h drm/amdgpu: support for gc_info table v1.3 2024-08-23 10:54:57 -04:00
displayobject.h
dm_pp_interface.h drm/amd/pp: Clean up errors in dm_pp_interface.h 2024-01-18 15:38:17 -05:00
kgd_kfd_interface.h drm/amdkfd: Update logic for CU occupancy calculations 2024-09-25 12:56:00 -04:00
kgd_pp_interface.h drm/amdgpu: Disable dpm_enabled flag while VF is in reset 2024-08-13 12:12:52 -04:00
mes_v11_api_def.h drm/amdgpu: increase mes log buffer size for gfx12 2024-07-27 17:32:05 -04:00
mes_v12_api_def.h drm/amdgpu/mes12: update mes_v12_api_def.h 2024-08-13 10:29:18 -04:00
navi10_enum.h
navi10_ip_offset.h
navi12_ip_offset.h drm/amdgpu: Clean up errors in navi12_ip_offset.h 2024-01-18 15:38:09 -05:00
navi14_ip_offset.h drm/amd/include/navi14_ip_offset: Clean up errors in navi14_ip_offset.h 2024-01-18 15:38:27 -05:00
pptable.h drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds 2024-06-05 11:02:24 -04:00
renoir_ip_offset.h drm/amd/display: Clean up errors in renoir_ip_offset.h 2024-01-18 15:38:33 -05:00
sienna_cichlid_ip_offset.h drm/amd/include/sienna_cichlid_ip_offset: Clean up errors in sienna_cichlid_ip_offset.h 2024-01-18 15:38:23 -05:00
soc15_hw_ip.h
soc15_ih_clientid.h
soc21_enum.h drm/amdgpu: Update soc24_enum.h and soc21_enum.h 2024-06-05 11:25:14 -04:00
soc24_enum.h drm/amdgpu: Update soc24_enum.h and soc21_enum.h 2024-06-05 11:25:14 -04:00
umsch_mm_4_0_api_def.h drm/amdgpu/umsch: update UMSCH 4.0 FW interface 2024-03-27 01:44:07 -04:00
v9_structs.h
v10_structs.h drm/amdgpu: Clean up errors in v10_structs.h 2024-01-18 15:38:29 -05:00
v11_structs.h
v12_structs.h drm/amdkfd: Added MQD manager files for GFX12. 2024-05-02 16:18:12 -04:00
vangogh_ip_offset.h drm/amd/include/vangogh_ip_offset: Clean up errors in vangogh_ip_offset.h 2024-01-18 15:38:21 -05:00
vega10_enum.h
vega10_ip_offset.h drm/amd/include/vega10_ip_offset:Clean up errors in vega10_ip_offset.h 2024-01-18 15:38:13 -05:00
vega20_ip_offset.h drm/amd/include/vega20_ip_offset: Clean up errors in vega20_ip_offset.h 2024-01-18 15:38:36 -05:00
vi_structs.h
yellow_carp_offset.h