linux/drivers/gpu/drm/amd/amdgpu
Chunming Zhou fe70766487 drm/amdgpu: add pipeline sync for compute job
hardware ring is async processed, the job is executed in parallel.
In some case, this will result vm fault, like jobs with different vmids.

This works around a CPC hw issue which will eventually be fixed in fw.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-11 12:31:16 -04:00
..
amdgpu.h drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_acp.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
amdgpu_acp.h drm/amd: make a type-safe cgs_device struct. (v2) 2016-05-04 20:20:28 -04:00
amdgpu_acpi.c drm/amdgpu: mv amdgpu_acpi.h to amd/include/amd_acpi.h 2015-12-21 16:42:05 -05:00
amdgpu_afmt.c
amdgpu_amdkfd.c drm/amdgpu: Return -EPROBE_DEFER when amdkfd not loaded 2016-02-27 22:52:40 +02:00
amdgpu_amdkfd.h drm/amdgpu: Return -EPROBE_DEFER when amdkfd not loaded 2016-02-27 22:52:40 +02:00
amdgpu_amdkfd_gfx_v7.c drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions() 2016-01-28 14:39:34 +02:00
amdgpu_amdkfd_gfx_v8.c drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions() 2016-01-28 14:39:34 +02:00
amdgpu_atombios.c drm/amdgpu: add an interface to get gfx constants from atombios 2016-05-04 20:24:57 -04:00
amdgpu_atombios.h drm/amdgpu: add an interface to get gfx constants from atombios 2016-05-04 20:24:57 -04:00
amdgpu_atpx_handler.c drm/amdgpu: print a message if ATPX dGPU power control is missing 2016-04-27 12:27:09 -04:00
amdgpu_benchmark.c drm/amd: make some function-local tables static const 2016-05-04 20:20:20 -04:00
amdgpu_bios.c drm/amdgpu: do not store bios_header_start in amdgpu_device 2016-05-02 13:08:56 -04:00
amdgpu_bo_list.c drm/amdgpu: move get_user_pages out of amdgpu_ttm_tt_pin_userptr v6 2016-03-08 11:01:50 -05:00
amdgpu_cgs.c drm/amdgpu: fix memory leak in CGS (FW info) 2016-05-04 20:29:20 -04:00
amdgpu_connectors.c drm/amd: make some function-local tables static const 2016-05-04 20:20:20 -04:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_ctx.c drm/amdgpu: fix coding style in amdgpu_ctx.c 2016-02-12 15:42:54 -05:00
amdgpu_device.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
amdgpu_display.c drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
amdgpu_dpm.c drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh 2016-05-04 20:31:02 -04:00
amdgpu_dpm.h
amdgpu_drv.c Merge branch 'drm-next-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-05-06 14:17:22 +10:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c drm/amdgpu: don't init fbdev if we don't have any connectors 2016-01-26 00:35:56 -05:00
amdgpu_fence.c drm/amdgpu: Replace rcu_assign_pointer() with RCU_INIT_POINTER() 2016-05-04 20:31:06 -04:00
amdgpu_gart.c drm/amdgpu: optionally enable GART debugfs file 2016-05-02 15:26:57 -04:00
amdgpu_gds.h
amdgpu_gem.c Merge branch 'drm-next-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-05-06 14:17:22 +10:00
amdgpu_gfx.c
amdgpu_gfx.h
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c drm/amd: Mark some tables as const 2016-05-04 20:20:00 -04:00
amdgpu_irq.h drm/amdgpu: add irq domain support 2016-01-11 09:52:57 -05:00
amdgpu_job.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_kms.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
amdgpu_mn.c drm/amdgpu: add invalidate_page callback for userptrs 2016-03-21 11:52:14 -04:00
amdgpu_mode.h drm/amdgpu: bump the afmt limit for CZ, ST, Polaris 2016-05-04 20:23:43 -04:00
amdgpu_object.c drm/amdgpu: set metadata pointer to NULL after freeing. 2016-05-03 11:53:44 -04:00
amdgpu_object.h drm/ttm: remove use_ticket parameter from ttm_bo_reserve 2016-05-04 20:21:21 -04:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amd/powerplay: add dpm force multiple levels on cz/tonga/fiji/polaris (v2) 2016-05-04 20:29:47 -04:00
amdgpu_pm.h
amdgpu_powerplay.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
amdgpu_powerplay.h drm/amd/powerplay: add basic powerplay framework 2015-12-21 16:42:07 -05:00
amdgpu_prime.c drm/amdgpu: cleanup gem init/finit 2016-02-16 17:46:24 -05:00
amdgpu_ring.c drm/amdgpu: fix the coding style in amdgpu_ring.c 2016-05-04 20:21:12 -04:00
amdgpu_sa.c Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-03-18 07:16:25 +10:00
amdgpu_sync.c drm/amdgpu: use a sync object for VMID fences v2 2016-05-04 20:19:16 -04:00
amdgpu_test.c drm/amdgpu: clean up hw semaphore support in driver 2016-02-10 14:16:49 -05:00
amdgpu_trace.h drm/amdgpu: trace the pd_addr in vm_grab_id as well 2016-02-29 11:33:59 -05:00
amdgpu_trace_points.c
amdgpu_ttm.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
amdgpu_ucode.c
amdgpu_ucode.h
amdgpu_uvd.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_uvd.h drm/amdgpu: send UVD IB tests directly to the ring again 2016-02-10 14:17:23 -05:00
amdgpu_vce.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
amdgpu_vce.h drm/amdgpu: send VCE IB tests directly to the ring again 2016-02-10 14:17:24 -05:00
amdgpu_vm.c drm/amdgpu: add pipeline sync for compute job 2016-05-11 12:31:16 -04:00
atom.c drm/amdgpu/atom: add support for new div32 opcodes (v3) 2015-10-14 16:16:24 -04:00
atom.h drm/amdgpu/atom: add support for new div32 opcodes (v3) 2015-10-14 16:16:24 -04:00
atombios_crtc.c drm/amdgpu/atom: add support for new SetPixelClock table 2016-05-04 20:23:58 -04:00
atombios_crtc.h drm/amdgpu/atom: add SetDCEClock helper 2016-05-04 20:23:53 -04:00
atombios_dp.c drm/amdgpu/dp: add back special handling for NUTMEG 2016-03-08 11:26:34 -05:00
atombios_dp.h
atombios_encoders.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
ci_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
ci_dpm.h
ci_smc.c
cik.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
cik.h
cik_dpm.h
cik_ih.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
cik_ih.h
cik_sdma.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
cik_sdma.h
cikd.h drm/amdgpu: fix rb bitmap & cu bitmap calculation 2016-03-03 01:00:20 -05:00
clearstate_ci.h
clearstate_defs.h
clearstate_vi.h
cz_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
cz_dpm.h drm/amdgpu/cz: add code to enable forcing VCE clocks 2016-01-13 12:12:43 -05:00
cz_ih.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
cz_ih.h
cz_smc.c drm/amdgpu: Update SMC/DPM for Stoney 2015-10-21 12:19:46 -04:00
cz_smumgr.h
dce_v8_0.c Merge branch 'drm-next-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-05-06 14:17:22 +10:00
dce_v8_0.h
dce_v10_0.c Merge branch 'drm-next-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-05-06 14:17:22 +10:00
dce_v10_0.h
dce_v11_0.c Merge branch 'drm-next-4.7' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-05-06 14:17:22 +10:00
dce_v11_0.h
fiji_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
fiji_smc.c drm/amdgpu/smu: skip SMC ucode loading on SR-IOV capable boards (v2) 2016-02-10 14:17:13 -05:00
fiji_smum.h drm/amdgpu: rename fiji_smumgr.h to fiji_smum.h 2015-12-21 16:42:44 -05:00
gfx_v7_0.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
gfx_v8_0.h
gmc_v7_0.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
gmc_v7_0.h
gmc_v8_0.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
gmc_v8_0.h
iceland_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
iceland_ih.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
iceland_ih.h
iceland_sdma_pkt_open.h
iceland_smc.c drm/amdgpu/smu: skip SMC ucode loading on SR-IOV capable boards (v2) 2016-02-10 14:17:13 -05:00
iceland_smumgr.h
Kconfig drm/amdgpu: optionally enable GART debugfs file 2016-05-02 15:26:57 -04:00
kv_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
kv_dpm.h
kv_smc.c
Makefile drm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c 2016-02-10 14:17:23 -05:00
ObjectID.h
ppsmc.h
sdma_v2_4.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: keep vm in job instead of ib (v2) 2016-05-11 12:31:16 -04:00
sdma_v3_0.h
smu_ucode_xfer_vi.h drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. 2016-05-04 20:26:26 -04:00
tonga_dpm.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
tonga_ih.c Linux 4.6-rc7 2016-05-09 13:49:56 +10:00
tonga_ih.h
tonga_sdma_pkt_open.h
tonga_smc.c drm/amdgpu/smu: skip SMC ucode loading on SR-IOV capable boards (v2) 2016-02-10 14:17:13 -05:00
tonga_smum.h drm/amdgpu: rename tonga_smumgr.h to tonga_smum.h 2015-12-21 16:42:43 -05:00
uvd_v4_2.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
uvd_v4_2.h
uvd_v5_0.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu/uvd6: add bypass support for fiji (v3) 2016-05-04 20:30:57 -04:00
uvd_v6_0.h
vce_v2_0.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
vce_v2_0.h
vce_v3_0.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
vce_v3_0.h
vi.c drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
vi.h
vi_dpm.h
vid.h drm/amdgpu: fix rb bitmap & cu bitmap calculation 2016-03-03 01:00:20 -05:00