linux/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.h
amd_pcie_helpers.h
amd_shared.h drm/amdgpu: fix spelling in amd_shared.h 2024-09-18 16:14:26 -04:00
amdgpu_reg_state.h
arct_ip_offset.h
atom-bits.h
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
cgs_common.h
cik_structs.h
cyan_skillfish_ip_offset.h
dimgrey_cavefish_ip_offset.h
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
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
navi14_ip_offset.h
pptable.h drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds 2024-06-05 11:02:24 -04:00
renoir_ip_offset.h
sienna_cichlid_ip_offset.h
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
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
vega10_enum.h
vega10_ip_offset.h
vega20_ip_offset.h
vi_structs.h
yellow_carp_offset.h