1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/amdgpu
Christian König d18b8eadd8 drm/amdgpu: install ctx entities with cmpxchg
Since we removed the context lock we need to make sure that not two threads
are trying to install an entity at the same time.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 461fa7b0ac ("drm/amdgpu: remove ctx->lock")
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-03-04 13:03:30 -05:00
..
aldebaran.c drm/amdgpu: Refactor mode2 reset logic for v13.0.2 2022-03-04 13:03:29 -05:00
aldebaran.h
aldebaran_reg_init.c
amdgpu.h drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c drm/amd: add support to check whether the system is set to s3 2022-02-02 18:35:00 -05:00
amdgpu_afmt.c
amdgpu_amdkfd.c
amdgpu_amdkfd.h drm/amdkfd: CRIU Implement KFD resume ioctl 2022-02-07 17:59:41 -05:00
amdgpu_amdkfd_aldebaran.c drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_arcturus.c drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_arcturus.h
amdgpu_amdkfd_fence.c
amdgpu_amdkfd_gfx_v7.c drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_gfx_v8.c drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_gfx_v9.c drm/amdgpu: Fix some kerneldoc warnings 2022-02-14 15:08:40 -05:00
amdgpu_amdkfd_gfx_v9.h drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_gfx_v10.c drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
amdgpu_amdkfd_gfx_v10_3.c drm/amdkfd: implement get_atc_vmid_pasid_mapping_info for gfx10.3 2022-03-04 13:03:30 -05:00
amdgpu_amdkfd_gpuvm.c drm/amdgpu: Fix some kerneldoc warnings 2022-02-14 15:08:40 -05:00
amdgpu_atombios.c
amdgpu_atombios.h
amdgpu_atomfirmware.c
amdgpu_atomfirmware.h
amdgpu_atpx_handler.c
amdgpu_benchmark.c drm/amdgpu: use ktime rather than jiffies for benchmark results 2022-02-23 14:02:51 -05:00
amdgpu_bios.c drm/amdgpu: switch to common helper to read bios from rom 2022-01-25 18:00:33 -05:00
amdgpu_bo_list.c
amdgpu_bo_list.h
amdgpu_cgs.c
amdgpu_connectors.c drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
amdgpu_connectors.h
amdgpu_cs.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_csa.c drm/amdgpu: rename amdgpu_vm_bo_rmv to _del 2022-02-07 17:14:10 -05:00
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: install ctx entities with cmpxchg 2022-03-04 13:03:30 -05:00
amdgpu_ctx.h drm/amdgpu: remove ctx->lock 2022-02-11 16:19:23 -05:00
amdgpu_debugfs.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
amdgpu_debugfs.h
amdgpu_device.c drm/amdgpu: remove unused gpu_info firmwares 2022-03-02 18:40:07 -05:00
amdgpu_df.h
amdgpu_discovery.c drm/amdgpu: fix typo in amdgpu_discovery.c 2022-02-23 14:26:36 -05:00
amdgpu_discovery.h
amdgpu_display.c drm/amdgpu: Use IP versions in convert_tiling_flags_to_modifier() 2022-03-02 18:40:07 -05:00
amdgpu_display.h
amdgpu_dma_buf.c
amdgpu_dma_buf.h
amdgpu_doorbell.h
amdgpu_drv.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
amdgpu_drv.h
amdgpu_eeprom.c
amdgpu_eeprom.h
amdgpu_encoders.c
amdgpu_fdinfo.c
amdgpu_fdinfo.h
amdgpu_fence.c drm/amdgpu: Move scheduler init to after XGMI is ready 2022-02-09 12:15:04 -05:00
amdgpu_fru_eeprom.c drm/amdgpu: Prevent random memory access in FRU code 2022-02-07 17:59:53 -05:00
amdgpu_fru_eeprom.h
amdgpu_fw_attestation.c
amdgpu_fw_attestation.h
amdgpu_gart.c drm/amdgpu: check the GART table before invalidating TLB 2022-02-07 18:01:16 -05:00
amdgpu_gart.h drm/amdgpu: remove gart.ready flag 2022-01-19 22:32:47 -05:00
amdgpu_gds.h
amdgpu_gem.c Merge tag 'amd-drm-next-5.18-2022-02-11-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-02-14 10:31:51 +10:00
amdgpu_gem.h
amdgpu_gfx.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in gfx ras block 2022-03-02 18:40:05 -05:00
amdgpu_gfx.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in gfx ras block 2022-03-02 18:40:05 -05:00
amdgpu_gfxhub.h
amdgpu_gmc.c drm/amdgpu: convert code name to ip version for noretry set 2022-03-02 18:40:06 -05:00
amdgpu_gmc.h drm/amdgpu: Move xgmi ras initialization from .late_init to .early_init 2022-01-25 18:00:33 -05:00
amdgpu_gtt_mgr.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_hdp.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in hdp ras block 2022-03-02 18:40:06 -05:00
amdgpu_hdp.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in hdp ras block 2022-03-02 18:40:06 -05:00
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c
amdgpu_ids.c
amdgpu_ids.h
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c
amdgpu_irq.h
amdgpu_job.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_job.h
amdgpu_jpeg.c
amdgpu_jpeg.h
amdgpu_kms.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_mca.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mca ras block 2022-03-02 18:40:06 -05:00
amdgpu_mca.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mca ras block 2022-03-02 18:40:06 -05:00
amdgpu_mes.h
amdgpu_mmhub.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras block 2022-03-02 18:40:05 -05:00
amdgpu_mmhub.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras block 2022-03-02 18:40:05 -05:00
amdgpu_mn.c
amdgpu_mn.h
amdgpu_mode.h drm/amdgpu: derive GTT display support from DM 2022-02-23 14:02:51 -05:00
amdgpu_nbio.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in nbio ras block 2022-03-02 18:40:06 -05:00
amdgpu_nbio.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in nbio ras block 2022-03-02 18:40:06 -05:00
amdgpu_object.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_object.h
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pmu.c
amdgpu_pmu.h
amdgpu_preempt_mgr.c drm/amdgpu: remove PL_PREEMPT accounting 2022-02-14 15:05:39 +01:00
amdgpu_psp.c drm/amdgpu: Add DFC CAP support for aldebaran 2022-03-04 13:03:30 -05:00
amdgpu_psp.h
amdgpu_rap.c
amdgpu_rap.h
amdgpu_ras.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
amdgpu_ras.h drm/amdgpu: Modify .ras_fini function pointer parameter 2022-03-02 18:40:05 -05:00
amdgpu_ras_eeprom.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_ras_eeprom.h
amdgpu_res_cursor.h
amdgpu_reset.c drm/amdgpu: Refactor mode2 reset logic for v13.0.2 2022-03-04 13:03:29 -05:00
amdgpu_reset.h drm/amdgpu: Fix compile error. 2022-02-10 10:23:40 +01:00
amdgpu_ring.c drm/amdgpu: Move scheduler init to after XGMI is ready 2022-02-09 12:15:04 -05:00
amdgpu_ring.h drm/amdgpu: Move scheduler init to after XGMI is ready 2022-02-09 12:15:04 -05:00
amdgpu_rlc.c
amdgpu_rlc.h drm/amdgpu: retire rlc callbacks sriov_rreg/wreg 2022-01-25 18:00:33 -05:00
amdgpu_sa.c
amdgpu_sched.c
amdgpu_sched.h
amdgpu_sdma.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in sdma ras block 2022-03-02 18:40:06 -05:00
amdgpu_sdma.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in sdma ras block 2022-03-02 18:40:06 -05:00
amdgpu_securedisplay.c
amdgpu_securedisplay.h
amdgpu_smuio.h
amdgpu_socbb.h
amdgpu_sync.c drm/amdgpu: use dma_fence_chain_contained 2022-02-08 09:25:40 +01:00
amdgpu_sync.h
amdgpu_trace.h drm/amdgpu: add reset register dump trace on GPU 2022-02-23 14:26:36 -05:00
amdgpu_trace_points.c
amdgpu_ttm.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_ttm.h drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_ucode.c
amdgpu_ucode.h drm/amdgpu: Move CAP firmware loading to the beginning of PSP firmware list 2022-03-02 18:40:06 -05:00
amdgpu_umc.c drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in umc ras block 2022-03-02 18:40:06 -05:00
amdgpu_umc.h drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in umc ras block 2022-03-02 18:40:06 -05:00
amdgpu_umr.h
amdgpu_uvd.c drm/amd/amdgpu/amdgpu_uvd: Fix forgotten unmap buffer object 2022-02-09 16:57:52 -05:00
amdgpu_uvd.h
amdgpu_vce.c
amdgpu_vce.h
amdgpu_vcn.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
amdgpu_vcn.h drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_virt.h drm/amdgpu: Fix wait for RLCG command completion 2022-02-16 17:30:02 -05:00
amdgpu_vkms.c Revert "drm/amdgpu: add modifiers in amdgpu_vkms_plane_init()" 2022-02-23 16:31:06 -05:00
amdgpu_vkms.h
amdgpu_vm.c drm/amdgpu: fix suspend/resume hang regression 2022-03-02 18:40:06 -05:00
amdgpu_vm.h drm/amdgpu: rename amdgpu_vm_bo_rmv to _del 2022-02-07 17:14:10 -05:00
amdgpu_vm_cpu.c
amdgpu_vm_sdma.c
amdgpu_vram_mgr.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
amdgpu_xgmi.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
amdgpu_xgmi.h Merge tag 'amd-drm-next-5.18-2022-02-25' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-03-01 16:19:02 +10:00
amdgv_sriovmsg.h
arct_reg_init.c
athub_v1_0.c drm/amdgpu: convert code name to ip version for athub 2022-01-27 15:49:36 -05:00
athub_v1_0.h
athub_v2_0.c drm/amdgpu: add 1.3.1/2.4.0 athub CG support 2022-01-27 15:49:42 -05:00
athub_v2_0.h
athub_v2_1.c drm/amdgpu: add 1.3.1/2.4.0 athub CG support 2022-01-27 15:49:42 -05:00
athub_v2_1.h
atom.c drm: Convert open-coded yes/no strings to yesno() 2022-02-07 13:04:25 -08:00
atom.h
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
cik.c drm/amd: Refactor amdgpu_aspm to be evaluated per device 2022-02-17 15:59:05 -05:00
cik.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_gfx10.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
dce_v6_0.h
dce_v8_0.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
dce_v8_0.h
dce_v10_0.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
dce_v10_0.h
dce_v11_0.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
dce_v11_0.h
df_v1_7.c
df_v1_7.h
df_v3_6.c drm/amdgpu: Wrong order for config and counter_id parameters 2022-01-27 15:50:22 -05:00
df_v3_6.h
dimgrey_cavefish_reg_init.c
emu_soc.c
gfx_v6_0.c
gfx_v6_0.h
gfx_v7_0.c
gfx_v7_0.h
gfx_v8_0.c
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
gfx_v9_0.h
gfx_v9_4.c
gfx_v9_4.h
gfx_v9_4_2.c
gfx_v9_4_2.h
gfx_v10_0.c drm/amdgpu/gfx10: drop unused cyan skillfish firmware 2022-03-02 18:40:07 -05:00
gfx_v10_0.h
gfxhub_v1_0.c
gfxhub_v1_0.h
gfxhub_v1_1.c
gfxhub_v1_1.h
gfxhub_v2_0.c
gfxhub_v2_0.h
gfxhub_v2_1.c drm/amdgpu: add utcl2_harvest to gc 10.3.1 2022-02-09 15:08:05 -05:00
gfxhub_v2_1.h
gmc_v6_0.c drm/amdgpu: remove gart.ready flag 2022-01-19 22:32:47 -05:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: remove gart.ready flag 2022-01-19 22:32:47 -05:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: remove gart.ready flag 2022-01-19 22:32:47 -05:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: Set correct DMA mask for aldebaran 2022-03-04 13:03:29 -05:00
gmc_v9_0.h
gmc_v10_0.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
gmc_v10_0.h
hdp_v4_0.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
hdp_v4_0.h
hdp_v5_0.c
hdp_v5_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
jpeg_v1_0.c
jpeg_v1_0.h
jpeg_v2_0.c
jpeg_v2_0.h
jpeg_v2_5.c
jpeg_v2_5.h
jpeg_v3_0.c drm/amdgpu: convert to UVD IP version checking 2022-01-25 18:00:36 -05:00
jpeg_v3_0.h
Kconfig
Makefile drm/amdgpu: drop testing module parameter 2022-02-23 14:02:51 -05:00
mca_v3_0.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
mca_v3_0.h
mes_api_def.h
mes_v10_1.c
mes_v10_1.h
mmhub_v1_0.c
mmhub_v1_0.h
mmhub_v1_7.c
mmhub_v1_7.h
mmhub_v2_0.c
mmhub_v2_0.h
mmhub_v2_3.c drm/amdgpu: add support for gmc10 for gc 10.3.6 2022-02-17 15:59:05 -05:00
mmhub_v2_3.h
mmhub_v9_4.c
mmhub_v9_4.h
mmsch_v1_0.h
mmsch_v2_0.h
mmsch_v3_0.h
mxgpu_ai.c drm/amdgpu: Move in_gpu_reset into reset_domain 2022-02-09 12:17:57 -05:00
mxgpu_ai.h
mxgpu_nv.c drm/amdgpu: Move in_gpu_reset into reset_domain 2022-02-09 12:17:57 -05:00
mxgpu_nv.h
mxgpu_vi.c drm-misc-next for v5.18: 2022-02-25 05:50:18 +10:00
mxgpu_vi.h
navi10_ih.c
navi10_ih.h
navi10_sdma_pkt_open.h
nbio_v2_3.c
nbio_v2_3.h
nbio_v6_1.c
nbio_v6_1.h
nbio_v7_0.c
nbio_v7_0.h
nbio_v7_2.c drm/amdgpu: add support for nbio 7.3.0 2022-02-18 14:07:00 -05:00
nbio_v7_2.h
nbio_v7_4.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
nbio_v7_4.h
nv.c drm/amdgpu: enable gfx power gating for GC 10.3.7 2022-03-02 18:40:06 -05:00
nv.h
nvd.h
ObjectID.h
psp_gfx_if.h
psp_v3_1.c
psp_v3_1.h
psp_v10_0.c
psp_v10_0.h
psp_v11_0.c
psp_v11_0.h
psp_v11_0_8.c
psp_v11_0_8.h
psp_v12_0.c
psp_v12_0.h
psp_v13_0.c drm/amdgpu: Add DFC CAP support for aldebaran 2022-03-04 13:03:30 -05:00
psp_v13_0.h
sdma_common.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: Remove redundant .ras_fini initialization in some ras blocks 2022-03-02 18:40:06 -05:00
sdma_v4_0.h
sdma_v4_4.c
sdma_v4_4.h
sdma_v5_0.c drm/amdgpu/sdma5: drop unused cyan skillfish firmware 2022-03-02 18:40:07 -05:00
sdma_v5_0.h
sdma_v5_2.c drm/amdgpu: add support for sdma 5.2.6 2022-02-18 14:06:59 -05:00
sdma_v5_2.h
si.c drm/amd: Refactor amdgpu_aspm to be evaluated per device 2022-02-17 15:59:05 -05:00
si.h
si_dma.c
si_dma.h
si_enums.h
si_ih.c
si_ih.h
sid.h
smu_v11_0_i2c.c drm/amdgpu: Set FRU bus for Aldebaran and Vega 20 2022-02-07 17:59:53 -05:00
smu_v11_0_i2c.h drm/amd: Expose the FRU SMU I2C bus 2022-01-27 15:49:48 -05:00
smuio_v9_0.c
smuio_v9_0.h
smuio_v11_0.c
smuio_v11_0.h
smuio_v11_0_6.c
smuio_v11_0_6.h
smuio_v13_0.c
smuio_v13_0.h
soc15.c drm/amdgpu: centrally calls the .ras_fini function of all ras blocks 2022-03-02 18:40:05 -05:00
soc15.h
soc15_common.h drm/amdgpu: switch to amdgpu_sriov_rreg/wreg 2022-01-25 18:00:33 -05:00
soc15d.h
ta_rap_if.h
ta_ras_if.h
ta_secureDisplay_if.h
ta_xgmi_if.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_0.c
umc_v6_0.h
umc_v6_1.c drm/amdgpu: add umc_fill_error_record to make code more simple 2022-01-27 15:48:56 -05:00
umc_v6_1.h
umc_v6_7.c drm/amdgpu: print more error info 2022-02-14 15:08:41 -05:00
umc_v6_7.h drm/amdgpu: get hash bit for CH4 in umc channel index 2022-01-27 15:49:13 -05:00
umc_v8_7.c drm/amdgpu: Remove unused get_umc_v8_7_channel_index function 2022-02-23 14:02:51 -05:00
umc_v8_7.h
uvd_v3_1.c
uvd_v3_1.h
uvd_v4_2.c
uvd_v4_2.h
uvd_v5_0.c
uvd_v5_0.h
uvd_v6_0.c
uvd_v6_0.h
uvd_v7_0.c
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c
vce_v4_0.h
vcn_v1_0.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
vcn_v1_0.h
vcn_v2_0.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
vcn_v2_0.h
vcn_v2_5.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
vcn_v2_5.h
vcn_v3_0.c drm/amdgpu/vcn: Add vcn firmware log 2022-03-04 13:03:30 -05:00
vcn_v3_0.h
vega10_ih.c
vega10_ih.h
vega10_reg_init.c
vega10_sdma_pkt_open.h
vega20_ih.c
vega20_ih.h
vega20_reg_init.c
vi.c drm/amd: Refactor amdgpu_aspm to be evaluated per device 2022-02-17 15:59:05 -05:00
vi.h
vid.h