linux-stable/drivers/gpu/drm/amd/amdgpu
Alex Xie 4a9ed1009b drm/amdgpu: Fix use of interruptible waiting
1. The signal interrupt can affect the expected behaviour.
2. There is no good mechanism to handle the corresponding error.
When signal interrupt happens, unpin is not called.
As a result, inside AMDGPU, the statistic of pin size will be wrong.

Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-04-28 17:33:07 -04:00
..
amdgpu.h drm/amdgpu: increase gtt size to 3GB by default v2 2017-04-28 17:32:54 -04:00
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: Remove checking for atombios 2017-01-27 11:12:39 -05:00
amdgpu_afmt.c gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level> 2017-03-29 23:53:24 -04:00
amdgpu_amdkfd.c
amdgpu_amdkfd.h
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_atombios.c drm/amdgpu: fix to clear ASIC INIT COMPLETE bit on resuming phase 2017-04-28 17:32:13 -04:00
amdgpu_atombios.h drm/amdgpu: Read vram width from integrated system info table 2017-04-04 14:42:40 -04:00
amdgpu_atomfirmware.c drm/amdgpu: fix to clear ASIC INIT COMPLETE bit on resuming phase 2017-04-28 17:32:13 -04:00
amdgpu_atomfirmware.h drm/amdgpu: add basic support for atomfirmware.h (v3) 2017-03-29 23:54:17 -04:00
amdgpu_atpx_handler.c gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level> 2017-03-29 23:53:24 -04:00
amdgpu_benchmark.c drm/amdgpu: Fix use of interruptible waiting 2017-04-28 17:33:07 -04:00
amdgpu_bios.c amdgpu: detect if we are using atomfirmware or atombios for vbios (v2) 2017-03-29 23:54:16 -04:00
amdgpu_bo_list.c drm/amdgpu: Avoid using signed integer to store pointer value 2017-04-06 13:28:07 -04:00
amdgpu_cgs.c drm/amd/amdgpu: fix Tonga S3 resume hang on rhel6.8 2017-03-29 23:55:49 -04:00
amdgpu_connectors.c
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: fix fence memory leak in wait_all_fence V2 2017-04-07 15:15:45 -04:00
amdgpu_ctx.c drm/amdgpu:fix race condition 2017-04-28 16:38:00 -04:00
amdgpu_device.c drm/amdgpu: Fix use of interruptible waiting 2017-04-28 17:33:06 -04:00
amdgpu_display.c drm/amdgpu: Fail fb creation from imported dma-bufs. (v2) 2017-04-07 12:20:39 -04:00
amdgpu_dpm.c drm: Use pr_cont where appropriate 2017-03-29 23:53:24 -04:00
amdgpu_dpm.h drm/amdgpu: implement read_sensor() for pre-powerplay chips 2017-03-29 23:53:03 -04:00
amdgpu_drv.c drm/amdgpu: bump version number to note race fix and new fence functionality 2017-04-28 17:32:22 -04:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level> 2017-03-29 23:53:24 -04:00
amdgpu_fence.c
amdgpu_gart.c drm/amdgpu: gart fixes for vega10 2017-03-29 23:54:42 -04:00
amdgpu_gds.h
amdgpu_gem.c drm/amdgpu: fix VM clearing in amdgpu_gem_object_close 2017-04-28 17:32:53 -04:00
amdgpu_gfx.c drm/amdgpu: simplify allocation of scratch regs 2017-01-27 11:13:32 -05:00
amdgpu_gfx.h
amdgpu_gtt_mgr.c drm/amdgpu: add gtt print like vram when dump mm table V2 2017-04-28 17:32:53 -04:00
amdgpu_i2c.c drm/amdgpu: Remove checking for atombios 2017-01-27 11:12:39 -05:00
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu: split VMID management by VMHUB 2017-04-28 17:32:18 -04:00
amdgpu_ih.c
amdgpu_ih.h drm/amdgpu: update IH IV ring entry for soc-15 2017-03-29 23:54:36 -04:00
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu: fix over allocating of IRQ sources 2017-04-06 13:27:20 -04:00
amdgpu_irq.h drm/amdgpu: switch ih handling to two levels (v3) 2017-03-29 23:53:37 -04:00
amdgpu_job.c drm/amdgpu: fix no-vmid job 2017-04-28 17:32:55 -04:00
amdgpu_kms.c drm/amdgpu: Avoid using signed integer to store pointer value 2017-04-06 13:28:07 -04:00
amdgpu_mn.c drm/amdgpu: use a 64bit interval tree for VM management v2 2017-04-04 13:40:32 -04:00
amdgpu_mode.h drm: Add acquire ctx parameter to ->set_config 2017-03-29 09:56:25 +02:00
amdgpu_object.c drm/amdgpu: Fix use of interruptible waiting 2017-04-28 17:33:06 -04:00
amdgpu_object.h drm/amd/amdgpu: add amdgpu_bo_gpu_accessible helper function 2017-01-27 11:13:17 -05:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amdgpu: add get_clockgating callback for soc15 (v3) 2017-03-29 23:55:20 -04:00
amdgpu_pm.h drm/amdgpu: add parse clock gating state 2017-01-27 11:13:07 -05:00
amdgpu_powerplay.c drm/amd/powerplay: add Vega10 powerplay support (v5) 2017-03-29 23:54:54 -04:00
amdgpu_powerplay.h
amdgpu_prime.c
amdgpu_psp.c drm/amdgpu/psp: skip loading SDMA/RLCG under SRIOV VF 2017-04-28 17:32:56 -04:00
amdgpu_psp.h drm/amdgpu: Destroy psp ring in hw_fini 2017-04-28 17:32:46 -04:00
amdgpu_ring.c drm/amd/amdgpu: Correct ring wptr address in debugfs (v2) 2017-03-29 23:55:53 -04:00
amdgpu_ring.h drm/amdgpu: assign VM invalidation engine manually v2 2017-04-28 17:32:19 -04:00
amdgpu_sa.c
amdgpu_sync.c
amdgpu_sync.h
amdgpu_test.c drm/amdgpu: remove unused sync testing 2017-03-29 23:53:29 -04:00
amdgpu_trace.h drm/amdgpu: trace vm hub during flush as well v2 2017-04-28 17:32:21 -04:00
amdgpu_trace_points.c
amdgpu_ttm.c drm/amdgpu: add gtt print like vram when dump mm table V2 2017-04-28 17:32:53 -04:00
amdgpu_ttm.h drm/amdgpu: user BO priority instead of self coding it (v2) 2017-01-27 12:20:33 -05:00
amdgpu_ucode.c drm/amdgpu: Fix firmware UCODE_ID_STORAGE issue (v2) 2017-04-28 17:32:14 -04:00
amdgpu_ucode.h drm/amdgpu: add psp firmware header info 2017-03-29 23:54:41 -04:00
amdgpu_uvd.c drm/amdgpu: use a 64bit interval tree for VM management v2 2017-04-04 13:40:32 -04:00
amdgpu_uvd.h drm/amdgpu: add uvd enc run queue 2017-03-29 23:53:46 -04:00
amdgpu_vce.c drm/amdgpu/vce4: enable ring & ib test for sriov 2017-04-28 17:32:16 -04:00
amdgpu_vce.h drm/amdgpu: move amdgpu_vce structure to vce header 2017-03-29 23:53:44 -04:00
amdgpu_virt.c drm/amdgpu/virt: add two functions for MM table 2017-04-28 17:32:58 -04:00
amdgpu_virt.h drm/amdgpu/virt: add two functions for MM table 2017-04-28 17:32:58 -04:00
amdgpu_vm.c drm/amdgpu: PRT support for gfx9 (v3) 2017-04-28 17:32:47 -04:00
amdgpu_vm.h drm/amdgpu: PRT support for gfx9 (v3) 2017-04-28 17:32:47 -04:00
amdgpu_vram_mgr.c drm/amdgpu: use TTM_PL_FLAG_CONTIGUOUS v2 2017-04-04 23:34:27 -04:00
atom.c drm/amdgpu: move atom scratch setup into amdgpu_atombios.c 2017-03-29 23:54:17 -04:00
atom.h drm/amdgpu: move atom scratch setup into amdgpu_atombios.c 2017-03-29 23:54:17 -04:00
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c drm/amdgpu: Remove checking for atombios 2017-01-27 11:12:39 -05:00
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
ci_dpm.c drm/amdgpu: fix memory clock can't switch on CI. 2017-04-28 17:32:43 -04:00
ci_dpm.h drm/amd/amdgpu: add power profile support for CI 2017-03-29 23:52:52 -04:00
ci_smc.c
cik.c drm/amdgpu: use new flag to handle different firmware loading method 2017-03-29 23:54:33 -04:00
cik.h
cik_dpm.h
cik_ih.c drm/amdgpu/ih: store the full context id 2017-03-29 23:53:37 -04:00
cik_ih.h
cik_sdma.c drm/amdgpu: fix vm pte pde flags to 64-bit for sdma (v3) 2017-03-29 23:55:50 -04:00
cik_sdma.h
cikd.h drm/amd: Spelling s/SDMA_WRTIE_SUB_OPCODE_TILED/SDMA_WRITE_SUB_OPCODE_TILED/ 2017-03-29 23:53:21 -04:00
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h drm/amdgpu: add gfx9 clearstate header 2017-03-29 23:54:30 -04:00
clearstate_si.h drm/amdgpu: move misc si headers into amdgpu 2017-01-27 12:20:41 -05:00
clearstate_vi.h
cz_ih.c drm/amdgpu/ih: store the full context id 2017-03-29 23:53:37 -04:00
cz_ih.h
dce_v6_0.c drm/amdgpu: Add missing lb_vblank_lead_lines setup to DCE-6 path. 2017-04-28 17:33:03 -04:00
dce_v6_0.h
dce_v8_0.c Merge tag 'drm-misc-next-2017-04-07' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-11 07:41:10 +10:00
dce_v8_0.h
dce_v10_0.c Merge tag 'drm-misc-next-2017-04-07' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-11 07:41:10 +10:00
dce_v10_0.h
dce_v11_0.c Merge tag 'drm-misc-next-2017-04-07' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-11 07:41:10 +10:00
dce_v11_0.h
dce_virtual.c drm: Add acquire ctx to ->gamma_set hook 2017-04-06 10:21:55 +02:00
dce_virtual.h
gfx_v6_0.c drm/amd/amdgpu: Change comp GFXv6 ring name to remove space 2017-04-28 17:32:44 -04:00
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu: split VMID management by VMHUB 2017-04-28 17:32:18 -04:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu: split VMID management by VMHUB 2017-04-28 17:32:18 -04:00
gfx_v8_0.h
gfx_v9_0.c drm/amd/amdgpu: Change comp GFXv9 ring name to remove space 2017-04-28 17:32:44 -04:00
gfx_v9_0.h drm/amdgpu: implement GFX 9.0 support (v2) 2017-03-29 23:54:45 -04:00
gfxhub_v1_0.c drm/amdgpu: cleanup get_invalidate_req v2 2017-04-06 13:27:18 -04:00
gfxhub_v1_0.h drm/amdgpu: Add GMC 9.0 support (v2) 2017-03-29 23:54:44 -04:00
gmc_v6_0.c drm/amdgpu: increase gtt size to 3GB by default v2 2017-04-28 17:32:54 -04:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: increase gtt size to 3GB by default v2 2017-04-28 17:32:54 -04:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: increase gtt size to 3GB by default v2 2017-04-28 17:32:54 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: increase gtt size to 3GB by default v2 2017-04-28 17:32:54 -04:00
gmc_v9_0.h drm/amdgpu: Add GMC 9.0 support (v2) 2017-03-29 23:54:44 -04:00
iceland_ih.c drm/amdgpu/ih: store the full context id 2017-03-29 23:53:37 -04:00
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig
kv_dpm.c drm/amdgpu: switch ih handling to two levels (v3) 2017-03-29 23:53:37 -04:00
kv_dpm.h
kv_smc.c
Makefile drm/amdgpu/virt: impl mailbox for ai 2017-03-29 23:55:05 -04:00
mmhub_v1_0.c drm/amdgpu/mmhub_v1: bypass clockgating setting 2017-04-28 17:32:42 -04:00
mmhub_v1_0.h drm/amdgpu: Add GMC 9.0 support (v2) 2017-03-29 23:54:44 -04:00
mmsch_v1_0.h drm/amdgpu/vce4: move mm table constructions functions into mmsch header file 2017-04-28 17:32:57 -04:00
mxgpu_ai.c drm/amdgpu:implement the reset MB func for vega10 2017-04-06 13:28:05 -04:00
mxgpu_ai.h drm/amdgpu/vega10:timeout set to equal with VI 2017-04-06 13:28:06 -04:00
mxgpu_vi.c drm/amdgpu/virt: don't check VALID bit for FLR completion message 2017-04-28 17:32:40 -04:00
mxgpu_vi.h drm/amdgpu/virt: increase mailbox timeout to 5000ms 2017-03-29 23:52:38 -04:00
nbio_v6_1.c drm/amdgpu: add get_clockgating callback for nbio v6.1 2017-03-29 23:55:19 -04:00
nbio_v6_1.h drm/amdgpu: add get_clockgating callback for nbio v6.1 2017-03-29 23:55:19 -04:00
ObjectID.h
ppsmc.h
psp_gfx_if.h drm/amdgpu: add PSP driver for vega10 (v2) 2017-03-29 23:54:48 -04:00
psp_v3_1.c drm/amdgpu: Destroy psp ring in hw_fini 2017-04-28 17:32:46 -04:00
psp_v3_1.h drm/amdgpu: Destroy psp ring in hw_fini 2017-04-28 17:32:46 -04:00
r600_dpm.h
sdma_v2_4.c drm/amdgpu: fix vm pte pde flags to 64-bit for sdma (v3) 2017-03-29 23:55:50 -04:00
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: fix vm pte pde flags to 64-bit for sdma (v3) 2017-03-29 23:55:50 -04:00
sdma_v3_0.h
sdma_v4_0.c drm/amd/amdgpu: coding style refine in sdma_v4_0.c 2017-04-28 17:32:39 -04:00
sdma_v4_0.h drm/amdgpu: add SDMA v4.0 implementation (v2) 2017-03-29 23:54:45 -04:00
si.c drm/amdgpu: add asic callback to get memsize register 2017-03-29 23:53:41 -04:00
si.h
si_dma.c drm/amdgpu: fix vm pte pde flags to 64-bit for sdma (v3) 2017-03-29 23:55:50 -04:00
si_dma.h
si_dpm.c drm/amdgpu: switch ih handling to two levels (v3) 2017-03-29 23:53:37 -04:00
si_dpm.h
si_enums.h drm/amdgpu: update HAINAN_GB_ADDR_CONFIG_GOLDEN 2017-02-08 17:25:02 -05:00
si_ih.c drm/amdgpu/ih: store the full context id 2017-03-29 23:53:37 -04:00
si_ih.h
si_smc.c drm/amdgpu: move misc si headers into amdgpu 2017-01-27 12:20:41 -05:00
sid.h drm/amdgpu: move misc si headers into amdgpu 2017-01-27 12:20:41 -05:00
sislands_smc.h
soc15.c drm/amdgpu/soc15: enable UVD code path for sriov 2017-04-28 17:33:01 -04:00
soc15.h drm/amdgpu: add common soc15 headers 2017-03-29 23:54:31 -04:00
soc15_common.h drm/amd/amdgpu: Introduce new read/write macros for SOC15 2017-04-28 16:37:59 -04:00
soc15d.h drm/amdgpu:enable mcbp for gfx9(v2) 2017-03-29 23:55:35 -04:00
tonga_ih.c drm/amdgpu: increase IH ring buffer size to avoid overflow 2017-03-29 23:53:53 -04:00
tonga_ih.h
tonga_sdma_pkt_open.h
uvd_v4_2.c drm/amdgpu: various cleanups for uvd/vce. 2017-04-04 13:40:33 -04:00
uvd_v4_2.h
uvd_v5_0.c drm/amdgpu: various cleanups for uvd/vce. 2017-04-04 13:40:33 -04:00
uvd_v5_0.h
uvd_v6_0.c drm/amdgpu: various cleanups for uvd/vce. 2017-04-04 13:40:33 -04:00
uvd_v6_0.h
uvd_v7_0.c drm/amdgpu/uvd7: add UVD hw init sequences for sriov 2017-04-28 17:33:00 -04:00
uvd_v7_0.h drm/amdgpu: add initial uvd 7.0 support for vega10 2017-03-29 23:54:47 -04:00
vce_v2_0.c drm/amdgpu: various cleanups for uvd/vce. 2017-04-04 13:40:33 -04:00
vce_v2_0.h
vce_v3_0.c drm/amdgpu: various cleanups for uvd/vce. 2017-04-04 13:40:33 -04:00
vce_v3_0.h
vce_v4_0.c drm/amdgpu/vce4: replaced with virt_alloc_mm_table 2017-04-28 17:32:59 -04:00
vce_v4_0.h drm/amdgpu: add initial vce 4.0 support for vega10 2017-03-29 23:54:47 -04:00
vega10_ih.c drm/amdgpu: Fix 32bit x86 compilation warning 2017-03-30 15:16:00 -04:00
vega10_ih.h drm/amdgpu: add vega10 interrupt handler 2017-03-29 23:54:46 -04:00
vega10_sdma_pkt_open.h drm/amdgpu: add SDMA 4.0 packet header 2017-03-29 23:54:30 -04:00
vi.c drm/amdgpu: just disallow reading untouched registers 2017-03-30 14:44:00 -04:00
vi.h drm/amdgpu/gfx8: move CE&DE meta data structure to vi_structs.h 2017-03-29 23:53:31 -04:00
vi_dpm.h drm/amdgpu: cleanup useless extern functions 2017-01-27 11:12:43 -05:00
vid.h drm/amdgpu/vi: add defines for KIQ packets 2017-04-04 23:33:41 -04:00