OpenCloudOS-Kernel/drivers/gpu/drm/amd/amdgpu
Chris Wilson 0fea2ed61e drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait
Since fence_wait_timeout_reservation_object_wait_timeout_rcu() with a
timeout of 0 becomes reservation_object_test_signaled_rcu(), we do not
need to handle such conversion in the caller. The only challenge are
those callers that wish to differentiate the error code between the
nonblocking busy check and potentially blocking wait.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20160829070834.22296-1-chris@chris-wilson.co.uk
2016-10-12 19:40:46 +05:30
..
Kconfig drm/amdgpu: add all the components for si into Makefile/kconfig v3 2016-08-31 12:11:20 -04:00
Makefile drm/amdgpu: add a custom GTT memory manager v2 2016-09-28 16:16:19 -04:00
ObjectID.h drm/amdgpu: Add virtual connector and encoder macros. 2016-08-08 13:44:11 -04:00
amdgpu.h Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_acp.c PM / Domains: Allow genpd to power on during system PM phases 2016-06-16 15:01:43 +02: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/atif: Send a hotplug event when we get dgpu display request 2016-09-22 10:30:36 -04:00
amdgpu_afmt.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_amdkfd.c drm/amdgpu: remove unused functions 2016-09-22 10:24:16 -04: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/amdkfd: Fix possible infinite loop 2016-09-19 20:58:35 +03:00
amdgpu_amdkfd_gfx_v8.c drm/amdkfd: Fix possible infinite loop 2016-09-19 20:58:35 +03:00
amdgpu_atombios.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
amdgpu_atombios.h drm/amdgpu: add si dpm support in amdgpu_atombios 2016-08-31 15:21:07 -04:00
amdgpu_atpx_handler.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
amdgpu_benchmark.c drm/amdgpu: add direct submision option for copy_buffer 2016-08-22 13:47:18 -04:00
amdgpu_bios.c drivers/amdgpu: Use canonical form in branch predicates 2016-07-29 14:36:48 -04:00
amdgpu_bo_list.c drm/amd/amdgpu : adding new tracepoints to track memory information. 2016-07-07 14:51:29 -04:00
amdgpu_cgs.c drm/amdgpu:add fw version entry to info 2016-09-22 10:24:15 -04:00
amdgpu_connectors.c drm/edid: Move dvi_dual/max_tmds_clock to drm_display_info 2016-10-04 08:23:10 +02:00
amdgpu_connectors.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_cs.c drm/amdgpu: add a custom GTT memory manager v2 2016-09-28 16:16:19 -04:00
amdgpu_ctx.c drm/amdgpu: don't leave dangling pointers around 2016-09-27 13:00:51 -04:00
amdgpu_device.c drm/amdgpu: mark symbols static where possible 2016-09-22 10:24:17 -04:00
amdgpu_display.c drm/amdgpu: rename all rbo variable to abo v2 2016-09-28 16:16:20 -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 drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_drv.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_drv.h drm/amdgpu: merge amdgpu_family.h into amd_shared.h (v2) 2015-08-17 16:50:21 -04:00
amdgpu_encoders.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_fb.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_fence.c drm/amdgpu: don't leave dangling pointers around 2016-09-27 13:00:51 -04:00
amdgpu_gart.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_gds.h amdgpu: move ttm stuff to amdgpu_ttm.h 2016-08-19 12:30:58 -04:00
amdgpu_gem.c drm/amdgpu: Remove call to reservation_object_test_signaled_rcu before wait 2016-10-12 19:40:46 +05:30
amdgpu_gfx.c drm/amdgpu: add disable_cu parameter 2016-07-07 14:54:44 -04:00
amdgpu_gfx.h drm/amdgpu: add disable_cu parameter 2016-07-07 14:54:44 -04:00
amdgpu_gtt_mgr.c drm/amdgpu: fix gtt_mgr bo's offset 2016-09-28 16:16:23 -04:00
amdgpu_i2c.c drm/amdgpu/i2c: add const where appropriate 2016-09-27 13:00:52 -04:00
amdgpu_i2c.h drm/amdgpu/i2c: add const where appropriate 2016-09-27 13:00:52 -04:00
amdgpu_ib.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
amdgpu_ih.c drm/amdgpu: free the BO in kernel by helper amdgpu_bo_free_kernel() 2016-09-14 15:10:27 -04:00
amdgpu_ih.h drm/amdgpu: Implement irq interfaces for CGS 2015-08-17 16:50:09 -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 amdgpu_irq_gpu_reset_resume_helper 2016-07-07 14:54:48 -04:00
amdgpu_irq.h drm/amdgpu: implement vi ih check/pre/post_soft_reset 2016-08-08 11:32:10 -04:00
amdgpu_job.c drm/amdgpu: mark symbols static where possible 2016-09-14 15:10:37 -04:00
amdgpu_kms.c drm/amdgpu: handle runtime pm in drm pre/post close 2016-09-02 10:34:48 -04:00
amdgpu_mn.c drm/amdgpu: make amdgpu_mn_get wait for mmap_sem killable 2016-05-23 17:04:14 -07:00
amdgpu_mode.h drm/amdgpu: Provide page_flip_target hook 2016-08-10 14:28:06 -04:00
amdgpu_object.c drm/amdgpu: rename all rbo variable to abo v2 2016-09-28 16:16:20 -04:00
amdgpu_object.h drm/amdgpu: add AMDGPU_BO_INVALID_OFFSET 2016-09-14 15:10:44 -04:00
amdgpu_pll.c drm/amdgpu: add missing header dependencies 2016-09-14 15:10:37 -04:00
amdgpu_pll.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_pm.c drm/amd/powerplay: Replace per-asic print_performance with generic 2016-09-22 10:24:16 -04:00
amdgpu_pm.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_powerplay.c drm/amdgpu: use powerplay module for dgpu in Vi. 2016-09-22 10:24:20 -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: two minor 80 char fixes 2016-05-11 12:31:18 -04:00
amdgpu_ring.c drm/amdgpu: clear ring pointer in amdgpu_device on teardown 2016-09-27 13:00:51 -04:00
amdgpu_sa.c Linux 4.7-rc5 2016-07-02 15:56:01 +10:00
amdgpu_sync.c drm/amdgpu: use a fence array for VMID management 2016-07-07 14:51:23 -04:00
amdgpu_test.c drm/amdgpu: add direct submision option for copy_buffer 2016-08-22 13:47:18 -04:00
amdgpu_trace.h drm/amdgpu: improve VM PTE trace points 2016-09-28 16:16:26 -04:00
amdgpu_trace_points.c drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_ttm.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_ttm.h drm/amdgpu: add a custom GTT memory manager v2 2016-09-28 16:16:19 -04:00
amdgpu_ucode.c drm/amdgpu: move some release handles into fail labels (v2) 2016-09-14 15:10:25 -04:00
amdgpu_ucode.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
amdgpu_uvd.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
amdgpu_uvd.h drm/amdgpu: add a fence timeout for the IB tests v2 2016-07-29 14:37:04 -04:00
amdgpu_vce.c drm/amdgpu/vce3: don't forget to tear down some rings 2016-09-27 13:00:52 -04:00
amdgpu_vce.h drm/amdgpu/vce: add common ring callbacks for ib and dma frame size 2016-09-16 15:53:01 -04:00
amdgpu_virt.h drm/amdgpu:cleanup virt related define 2016-09-22 10:24:20 -04:00
amdgpu_vm.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
atom.c drm/amdgpu/atom: add support for new div32 opcodes (v3) 2015-10-14 16:16:24 -04:00
atom.h drm/amd: cleanup remaining spaces and tabs v2 2016-05-11 12:31:20 -04:00
atombios_crtc.c drm/amdgpu: atombios change for dce6 to work v3 2016-08-31 12:10:20 -04:00
atombios_crtc.h drm/amdgpu/atom: add SetDCEClock helper 2016-05-04 20:23:53 -04:00
atombios_dp.c drm/amdgpu: Don't retry 7 times in amdgpu_atombios_dp_get_dpcd() 2016-08-08 13:28:39 -04:00
atombios_dp.h drm/amdgpu: add core driver (v4) 2015-06-03 21:03:15 -04:00
atombios_encoders.c drm/amdgpu: support backlight control for UNIPHY3 2016-07-14 16:46:06 -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 missing header dependencies 2016-09-14 15:10:37 -04:00
atombios_i2c.h drm/amdgpu: fix power distribution issue for Polaris10 XT 2016-07-14 16:39:35 -04:00
ci_dpm.c drm/amdgpu: refine uvd gate logic for CI. 2016-08-25 12:24:15 -04:00
ci_dpm.h drm/amdgpu: add the CI code to enable sclk OD(OverDrive) 2016-07-07 14:50:49 -04:00
ci_smc.c drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
cik.c drm/amdgpu:changes of virtualization cases probe (v3) 2016-09-19 14:45:52 -04:00
cik.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
cik_dpm.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
cik_ih.c drm/amd/amdgpu : Remove unused variable 2016-05-18 09:21:52 -04:00
cik_ih.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
cik_sdma.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
cik_sdma.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
cikd.h drm/amdgpu: implement raster configuration for gfx v7 2016-09-19 14:38:25 -04:00
clearstate_ci.h drm/amdgpu: Add support for CIK parts 2015-06-03 21:03:17 -04:00
clearstate_defs.h
clearstate_vi.h drm/amdgpu: Add initial VI support 2015-06-03 21:03:17 -04:00
cz_dpm.c drm/amd/amdgpu: Tidy up cz_dpm.c 2016-08-25 14:02:55 -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 : Remove unused variable 2016-05-18 09:22:12 -04:00
cz_ih.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
cz_smc.c drm/amdgpu: remove unused functions 2016-09-22 10:24:16 -04:00
cz_smumgr.h drm/amd: cleanup remaining spaces and tabs v2 2016-05-11 12:31:20 -04:00
dce_v6_0.c drm/amd/amdgpu: Various cleanups for DCEv6 2016-09-28 16:16:25 -04:00
dce_v6_0.h drm/amdgpu: add display controller implementation for si v10 2016-08-31 12:10:19 -04:00
dce_v8_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
dce_v8_0.h drm/amdgpu: Disable VGA render and crtc when init GMC. 2016-08-08 14:04:37 -04:00
dce_v10_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
dce_v10_0.h drm/amdgpu: Disable VGA render and crtc when init GMC. 2016-08-08 14:04:37 -04:00
dce_v11_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
dce_v11_0.h drm/amdgpu: Disable VGA render and crtc when init GMC. 2016-08-08 14:04:37 -04:00
dce_virtual.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-30 13:21:02 +10:00
dce_virtual.h drm/amdgpu: Use software timer to generate vsync interrupt. 2016-08-08 14:07:18 -04:00
gfx_v6_0.c drm/amdgpu: implement raster configuration for gfx v6 2016-09-19 14:38:24 -04:00
gfx_v6_0.h drm/amdgpu: add graphic pipeline implementation for si v8 2016-08-31 12:10:50 -04:00
gfx_v7_0.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
gfx_v7_0.h drm/amdgpu/gfx7: make gfx_v7_0_rlc_stop static 2016-07-07 15:01:58 -04:00
gfx_v8_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-28 11:27:05 +10:00
gfx_v8_0.h drm/amdgpu/gfx8: remove stale function declaration 2016-08-08 11:32:58 -04:00
gmc_v6_0.c drm/amd/amdgpu: Convert messages in gmc v6 to dev_*() 2016-09-14 09:43:40 -04:00
gmc_v6_0.h drm/amdgpu: add graphic memory controller implementation for si v7 2016-08-31 12:10:18 -04:00
gmc_v7_0.c drm/amdgpu/gmc7: remove dead code (v2) 2016-08-23 13:48:04 -04:00
gmc_v7_0.h drm/amdgpu: drop wait_for_mc_idle asic callback 2016-07-07 14:54:50 -04:00
gmc_v8_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-28 11:27:05 +10:00
gmc_v8_0.h drm/amdgpu: drop wait_for_mc_idle asic callback 2016-07-07 14:54:50 -04:00
iceland_ih.c drm/amd/amdgpu : Remove unused variable 2016-05-18 09:22:17 -04:00
iceland_ih.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
iceland_sdma_pkt_open.h drm/amdgpu: add count field for the SDMA NOP packet v2 2015-09-02 12:21:35 -04:00
kv_dpm.c drm/amdgpu: use modules parameter to ctrl deep sleep feature in dpm 2016-08-08 11:32:53 -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 new definitions into ppsmc.h for iceland 2016-07-15 12:33:31 -04:00
r600_dpm.h drm/amdgpu: add SI DPM support (v4) 2016-08-31 15:21:09 -04:00
sdma_v2_4.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
sdma_v2_4.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
sdma_v3_0.c Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next 2016-09-20 06:17:38 +10:00
sdma_v3_0.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
si.c drm/amdgpu:changes of virtualization cases probe (v3) 2016-09-19 14:45:52 -04:00
si.h drm/amdgpu: add si implementation v10 2016-08-31 12:11:19 -04:00
si_dma.c drm/amdgpu/si_dma: add ring callbacks for ib and dma frame size 2016-09-16 15:52:57 -04:00
si_dma.h drm/amdgpu: add DMA implementation for si v8 2016-08-31 12:10:51 -04:00
si_dpm.c drm/amdgpu/si/dpm: fix phase shedding setup 2016-09-28 16:13:17 -04:00
si_dpm.h drm/amdgpu: add SI DPM support (v4) 2016-08-31 15:21:09 -04:00
si_ih.c drm/amd/amdgpu: Tidy up SI IH code 2016-09-12 18:12:22 -04:00
si_ih.h drm/amdgpu: add interupt handler implementation for si v3 2016-08-31 12:10:19 -04:00
si_smc.c drm/amdgpu/si/dpm: fix symbol conflicts with radeon 2016-09-14 15:10:40 -04:00
sislands_smc.h drm/amdgpu/si/dpm: fix phase shedding setup 2016-09-28 16:13:17 -04:00
smu_ucode_xfer_vi.h drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. 2016-05-04 20:26:26 -04:00
tonga_ih.c drm/amdgpu: implement vi ih check/pre/post_soft_reset 2016-08-08 11:32:10 -04:00
tonga_ih.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
tonga_sdma_pkt_open.h drm/amdgpu: add count field for the SDMA NOP packet v2 2015-09-02 12:21:35 -04:00
uvd_v4_2.c drm/amdgpu/uvd4.2: add ring callbacks for ib and dma frame size 2016-09-16 15:53:00 -04:00
uvd_v4_2.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
uvd_v5_0.c drm/amdgpu/uvd5: add ring callbacks for ib and dma frame size 2016-09-16 15:53:00 -04:00
uvd_v5_0.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
uvd_v6_0.c drm/amdgpu/uvd6: add ring callbacks for ib and dma frame size 2016-09-16 15:53:01 -04:00
uvd_v6_0.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
vce_v2_0.c drm/amdgpu/vce2: add ring callbacks for ib and dma frame size 2016-09-16 15:53:02 -04:00
vce_v2_0.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
vce_v3_0.c drm/amdgpu: bypass vce clock if vce is idle on Fiji. 2016-09-27 13:00:48 -04:00
vce_v3_0.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
vi.c drm/amdgpu: use powerplay module for dgpu in Vi. 2016-09-22 10:24:20 -04:00
vi.h drm/amdgpu: rename amdgpu_ip_funcs to amd_ip_funcs (v2) 2015-06-03 21:03:51 -04:00
vi_dpm.h drm/amdgpu: Add Fiji support to SMC and DPM (v2) 2015-08-17 16:50:26 -04:00
vid.h drm/amdgpu: implement raster configuration for gfx v8 2016-09-19 14:38:25 -04:00