OpenCloudOS-Kernel/drivers/gpu/drm/amd/amdgpu
Christian König 3cb485f340 drm/amdgpu: fix context switch
Properly protect the state and also handle submission failures.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
2015-06-03 21:03:34 -04:00
..
Kconfig drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
Makefile drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
ObjectID.h
amdgpu.h drm/amdgpu: fix context switch 2015-06-03 21:03:34 -04:00
amdgpu_acpi.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_acpi.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_afmt.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_atombios.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_atombios.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_atpx_handler.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_benchmark.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_bios.c drm/amdgpu: Do not directly dereference pointers to BIOS area. 2015-06-03 21:03:16 -04:00
amdgpu_bo_list.c drm/amdgpu: let bo_list handler start from 1 2015-06-03 21:03:22 -04:00
amdgpu_connectors.c drm/amdgpu: fix const warnings in amdgpu_connectors.c 2015-06-03 21:03:15 -04:00
amdgpu_connectors.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_cs.c drm/amdgpu: fix context switch 2015-06-03 21:03:34 -04:00
amdgpu_ctx.c drm/amdgpu: add ctx_id to the WAIT_CS IOCTL (v4) 2015-06-03 21:03:29 -04:00
amdgpu_device.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
amdgpu_display.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_dpm.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_dpm.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_drv.c drm/amdgpu: add VI pci ids 2015-06-03 21:03:19 -04:00
amdgpu_drv.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_encoders.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_family.h drm/amdgpu: add amdgpu_family.h 2015-06-03 21:03:13 -04:00
amdgpu_fb.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_fence.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_gart.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_gds.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_gem.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_gfx.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_gfx.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_i2c.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_i2c.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ib.c drm/amdgpu: fix context switch 2015-06-03 21:03:34 -04:00
amdgpu_ih.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ih.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ioc32.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_irq.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_irq.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_kms.c drm/amdgpu: make the CTX ioctl thread-safe 2015-06-03 21:03:27 -04:00
amdgpu_mn.c drm/amdgpu: fix userptr lockup 2015-06-03 21:03:26 -04:00
amdgpu_mode.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_object.c drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC 2015-06-03 21:03:24 -04:00
amdgpu_object.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_pll.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_pll.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_pm.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_pm.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_prime.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ring.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_sa.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_semaphore.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_sync.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_test.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_trace.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_trace_points.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ttm.c drm/amdgpu: fix userptr BO unpin bug (v2) 2015-06-03 21:03:25 -04:00
amdgpu_ucode.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ucode.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_uvd.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_uvd.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_vce.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_vce.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_vm.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atom-bits.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atom-names.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atom-types.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atom.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atom.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios.h
atombios_crtc.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_crtc.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_dp.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_dp.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_encoders.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_encoders.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_i2c.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_i2c.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
ci_dpm.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
ci_dpm.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
ci_smc.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik_dpm.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik_ih.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik_ih.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik_sdma.c drm/amdgpu: cleanup HDP flush handling 2015-06-03 21:03:32 -04:00
cik_sdma.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cikd.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
clearstate_ci.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
clearstate_defs.h drm/amdgpu: add clearstate_defs.h 2015-06-03 21:03:12 -04:00
clearstate_vi.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_dpm.c drm/amdgpu fix amdgpu.dpm=0 (v2) 2015-06-03 21:03:24 -04:00
cz_dpm.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_ih.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_ih.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_ppsmc.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_smc.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_smumgr.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
dce_v8_0.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
dce_v8_0.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
dce_v10_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
dce_v10_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
dce_v11_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
dce_v11_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
gfx_v7_0.c drm/amdgpu: fix context switch 2015-06-03 21:03:34 -04:00
gfx_v7_0.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
gfx_v8_0.c drm/amdgpu: fix context switch 2015-06-03 21:03:34 -04:00
gfx_v8_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
gmc_v7_0.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
gmc_v7_0.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
gmc_v8_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
gmc_v8_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_dpm.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_ih.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_ih.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_sdma_pkt_open.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_smc.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
iceland_smumgr.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
kv_dpm.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
kv_dpm.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
kv_smc.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
ppsmc.h drm/amdgpu: add ppsmc.h 2015-06-03 21:03:13 -04:00
pptable.h
sdma_v2_4.c drm/amdgpu: cleanup HDP flush handling 2015-06-03 21:03:32 -04:00
sdma_v2_4.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
sdma_v3_0.c drm/amdgpu: cleanup HDP flush handling 2015-06-03 21:03:32 -04:00
sdma_v3_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
smu7.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
smu7_discrete.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
smu7_fusion.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
smu8.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
smu8_fusion.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
smu_ucode_xfer_cz.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
smu_ucode_xfer_vi.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_dpm.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_ih.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_ih.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_ppsmc.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_sdma_pkt_open.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_smc.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
tonga_smumgr.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
uvd_v4_2.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
uvd_v4_2.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
uvd_v5_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
uvd_v5_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
uvd_v6_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
uvd_v6_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vce_v2_0.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
vce_v2_0.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
vce_v3_0.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vce_v3_0.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vi.c drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vi.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vi_dpm.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
vid.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00