linux/drivers/gpu/drm/amd/amdgpu
Christian König 1d00402b4d drm/amdgpu: fix amdgpu_ttm_bind
Use ttm_bo_mem_space instead of manually allocating GART space.

This allows us to evict BOs when there isn't enought GART space any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-24 11:48:47 -04:00
..
amdgpu.h drm/amdgpu: add automatic per asic settings for gart_size 2017-08-24 11:48:41 -04:00
amdgpu_acp.c drm/amd/amdgpu: Disabling Power Gating for Stoney platform 2017-08-15 14:46:22 -04:00
amdgpu_acp.h
amdgpu_acpi.c drm/amdgpu: Make amdgpu_atif_handler static 2017-08-15 14:46:08 -04:00
amdgpu_afmt.c
amdgpu_amdkfd.c drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
amdgpu_amdkfd.h drm/amd: Update MEC HQD loading code for KFD 2017-08-15 23:00:17 -04:00
amdgpu_amdkfd_gfx_v7.c drm/amdgpu: Add kgd kfd interface get_tile_config() v2 2017-08-15 23:00:21 -04:00
amdgpu_amdkfd_gfx_v8.c drm/amdgpu: Add kgd kfd interface get_tile_config() v2 2017-08-15 23:00:21 -04:00
amdgpu_atombios.c drm/amdgpu/atombios: add function for whether we need asic_init 2017-07-14 11:06:05 -04:00
amdgpu_atombios.h drm/amdgpu/atombios: add function for whether we need asic_init 2017-07-14 11:06:05 -04:00
amdgpu_atomfirmware.c drm/amdgpu: add get_clock_info for atomfirmware 2017-07-14 11:06:38 -04:00
amdgpu_atomfirmware.h drm/amdgpu: add get_clock_info for atomfirmware 2017-07-14 11:06:38 -04:00
amdgpu_atpx_handler.c
amdgpu_benchmark.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_bios.c drm/amdgpu: reduce the time of reading VBIOS 2017-07-25 16:37:39 -04:00
amdgpu_bo_list.c drm/amdgpu: Fix preferred typo 2017-08-15 14:46:16 -04:00
amdgpu_cgs.c drm/amdgpu: fix missing endian-safe guard 2017-08-15 14:46:20 -04:00
amdgpu_connectors.c
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: rename VM invalidated to moved 2017-08-17 15:46:08 -04:00
amdgpu_ctx.c
amdgpu_device.c drm/amdgpu: fix and cleanup shadow handling 2017-08-24 11:48:42 -04:00
amdgpu_display.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
amdgpu_dpm.c
amdgpu_dpm.h
amdgpu_drv.c drm/amdgpu: refine default gart size 2017-08-24 11:48:44 -04:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
amdgpu_fence.c
amdgpu_gart.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
amdgpu_gart.h drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
amdgpu_gds.h
amdgpu_gem.c drm/amdgpu: separate bo_va structure 2017-08-17 15:46:07 -04:00
amdgpu_gfx.c drm/amdgpu/gfx: keep all compute queues on the same pipe 2017-07-14 11:06:41 -04:00
amdgpu_gfx.h
amdgpu_gtt_mgr.c drm/amdgpu: fix amdgpu_ttm_bind 2017-08-24 11:48:47 -04:00
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c drm/amdgpu:fix world switch hang 2017-07-14 11:06:10 -04:00
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu/virtual_dce: Virtual display doesn't support disable vblank immediately 2017-08-23 17:18:44 -04:00
amdgpu_irq.h
amdgpu_job.c drm/amdgpu: allow flushing VMID0 before IB execution as well 2017-07-14 11:05:57 -04:00
amdgpu_kms.c drm/amd/amdgpu: store fragment_size in vm_manager 2017-08-17 15:46:08 -04:00
amdgpu_mn.c drm/amdgpu: Use list_del_init in amdgpu_mn_unregister 2017-08-02 14:29:58 -04:00
amdgpu_mode.h Merge tag 'drm-misc-next-2017-08-08' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-08-10 10:47:33 +10:00
amdgpu_object.c drm/amdgpu: fix and cleanup shadow handling 2017-08-24 11:48:42 -04:00
amdgpu_object.h drm/amdgpu: separate bo_va structure 2017-08-17 15:46:07 -04:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c
amdgpu_pm.h drm/amdgpu: Fix amdgpu_pm_acpi_event_handler warning 2017-08-15 14:46:06 -04:00
amdgpu_powerplay.c drm/amd/powerplay: fix bug fail to remove sysfs when rmmod amdgpu. 2017-07-05 13:18:50 -04:00
amdgpu_powerplay.h
amdgpu_prime.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_psp.c drm/amdgpu: disable firmware loading for psp v10 2017-07-25 16:29:33 -04:00
amdgpu_psp.h drm/amdgpu: make psp cmd buffer as a reserve memory 2017-07-14 11:06:13 -04:00
amdgpu_queue_mgr.c
amdgpu_ring.c drm/amdgpu: set sched_hw_submission higher for KIQ (v3) 2017-08-24 11:48:45 -04:00
amdgpu_ring.h drm/amdgpu: fix amdgpu_ring_write_multiple 2017-07-14 11:05:56 -04:00
amdgpu_sa.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_sync.c drm/amdgpu: save list length when fence is signaled 2017-08-17 15:46:03 -04:00
amdgpu_sync.h
amdgpu_test.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_trace.h drm/amdgpu: separate bo_va structure 2017-08-17 15:46:07 -04:00
amdgpu_trace_points.c
amdgpu_ttm.c drm/amdgpu: fix amdgpu_ttm_bind 2017-08-24 11:48:47 -04:00
amdgpu_ttm.h drm/amdgpu: fix amdgpu_ttm_bind 2017-08-24 11:48:47 -04:00
amdgpu_ucode.c drm/amdgpu: jt_size was wrongly counted twice 2017-08-15 14:46:21 -04:00
amdgpu_ucode.h
amdgpu_uvd.c drm/amdgpu: add MJPEG check for UVD physical mode msg buffer 2017-08-17 16:47:44 -04:00
amdgpu_uvd.h
amdgpu_vce.c drm/amdgpu: Skip uvd and vce ring test for SRIOV 2017-08-15 14:45:47 -04:00
amdgpu_vce.h
amdgpu_vcn.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_vcn.h
amdgpu_vf_error.c drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
amdgpu_vf_error.h drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
amdgpu_virt.c drm/amdgpu: separate bo_va structure 2017-08-17 15:46:07 -04:00
amdgpu_virt.h drm/amdgpu: cleanup static CSA handling 2017-08-17 15:46:05 -04:00
amdgpu_vm.c drm/amdgpu: remove the GART copy hack 2017-08-24 11:48:47 -04:00
amdgpu_vm.h drm/amd/amdgpu: expose fragment size as module parameter (v2) 2017-08-17 16:47:43 -04:00
amdgpu_vram_mgr.c drm/amdgpu: move vram usage tracking into the vram manager v2 2017-08-17 15:46:03 -04:00
atom.c
atom.h
atombios_crtc.c drm/amdgpu/atom: fix ps allocation size for EnableDispPowerGating 2017-06-20 12:06:49 -04:00
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
ci_dpm.c
ci_dpm.h
ci_smc.c
cik.c drm/amdgpu: Correctly establish the suspend/resume hook for amdkfd 2017-07-14 11:06:37 -04:00
cik.h
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c drm/amdgpu: Make SDMA phase quantum configurable 2017-07-14 11:06:36 -04:00
cik_sdma.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h drm/amdgpu: fix header on gfx9 clear state 2017-07-27 11:17:45 -04:00
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
dce_v11_0.h
dce_virtual.c drm/amdgpu/dce_virtual: remove error message for vega10 2017-08-15 14:45:43 -04:00
dce_virtual.h
gfx_v6_0.c drm/amdgpu: use amdgpu_bo_free_kernel more often 2017-08-15 14:45:57 -04:00
gfx_v6_0.h
gfx_v7_0.c drm/amdgpu: Program SH_STATIC_MEM_CONFIG globally, not per-VMID 2017-08-15 23:00:18 -04:00
gfx_v7_0.h
gfx_v8_0.c drm/amdgpu/gfx8: fix spelling typo in mqd allocation 2017-08-24 11:48:40 -04:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: fix vega10 graphic hang issue in S3 test 2017-08-18 12:02:11 -04:00
gfx_v9_0.h drm/amdgpu: set gfx_v9_0_ip_funcs as static 2017-08-15 14:46:13 -04:00
gfxhub_v1_0.c drm/amd/amdgpu: store fragment_size in vm_manager 2017-08-17 15:46:08 -04:00
gfxhub_v1_0.h drm/amdgpu: drop old ip definitions for gfxhub and mmhub 2017-08-15 14:46:00 -04:00
gmc_v6_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-24 11:48:44 -04:00
gmc_v9_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig
kv_dpm.c
kv_dpm.h
kv_smc.c
Makefile drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
mmhub_v1_0.c drm/amd/amdgpu: store fragment_size in vm_manager 2017-08-17 15:46:08 -04:00
mmhub_v1_0.h drm/amdgpu: drop old ip definitions for gfxhub and mmhub 2017-08-15 14:46:00 -04:00
mmsch_v1_0.h
mxgpu_ai.c drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
mxgpu_ai.h drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
mxgpu_vi.c drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
mxgpu_vi.h drm/amdgpu: Support passing amdgpu critical error to host via GPU Mailbox. 2017-07-14 11:05:52 -04:00
nbio_v6_1.c drm/amdgpu: add nbio 6.1 register init function 2017-07-14 11:06:27 -04:00
nbio_v6_1.h drm/amdgpu: add nbio 6.1 register init function 2017-07-14 11:06:27 -04:00
nbio_v7_0.c drm/amdgpu: NO KIQ usage on nbio hdp flush routine 2017-07-14 11:06:11 -04:00
nbio_v7_0.h
ObjectID.h
ppsmc.h
psp_gfx_if.h
psp_v3_1.c drm/amdgpu: read reg in each iterator of psp_wait_for loop 2017-07-25 16:28:02 -04:00
psp_v3_1.h
psp_v10_0.c drm/amdgpu: add ring_destroy for psp v10 2017-07-25 16:26:14 -04:00
psp_v10_0.h drm/amdgpu: add ring_destroy for psp v10 2017-07-25 16:26:14 -04:00
r600_dpm.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c drm/amdgpu: Make SDMA phase quantum configurable 2017-07-14 11:06:36 -04:00
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: ignore digest_size when loading sdma fw for raven 2017-08-15 14:46:20 -04:00
sdma_v4_0.h
si.c drm/amdgpu: Fix undue fallthroughs in golden registers initialization 2017-08-15 14:46:05 -04:00
si.h
si_dma.c
si_dma.h
si_dpm.c drm/amd/amdgpu: fix si_enable_smc_cac() failed issue 2017-07-14 11:06:41 -04:00
si_dpm.h
si_enums.h
si_ih.c
si_ih.h
si_smc.c
sid.h
sislands_smc.h
soc15.c drm/amdgpu/soc15: drop dead function 2017-07-14 11:06:39 -04:00
soc15.h
soc15_common.h drm/amdgpu: Add WREG32_SOC15_NO_KIQ macro define 2017-07-14 11:06:10 -04:00
soc15d.h drm/amdgpu: fix vega10 graphic hang issue in S3 test 2017-08-18 12:02:11 -04:00
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.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 drm/amdgpu/uvd7: optimize uvd initialization sequence for SRIOV 2017-08-15 14:45:49 -04:00
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c drm/amdgpu/vce4: optimize vce 4.0 init table sequence for SRIOV 2017-08-15 14:45:48 -04:00
vce_v4_0.h
vcn_v1_0.c
vcn_v1_0.h
vega10_ih.c
vega10_ih.h
vega10_sdma_pkt_open.h
vi.c drm/amdgpu: Disable GFX PG on CZ 2017-08-15 23:00:16 -04:00
vi.h
vi_dpm.h
vid.h