linux/drivers/gpu/drm/amd/amdgpu
Felix Kuehling 02208441cc drm/amdgpu: Add PASID management
Allows assigning a PASID to a VM for identifying VMs involved in page
faults. The global PASID manager is also exported in the KFD
interface so that AMDGPU and KFD can share the PASID space.

PASIDs of different sizes can be requested. On APUs, the PASID size
is deterined by the capabilities of the IOMMU. So KFD must be able
to allocate PASIDs in a smaller range.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 13:07:02 -04:00
..
amdgpu.h drm/amdgpu: move MMU notifier related defines to amdgpu_mn.h 2017-09-12 14:29:37 -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 PASID management 2017-09-26 13:07:02 -04:00
amdgpu_amdkfd_gfx_v8.c drm/amdgpu: Add PASID management 2017-09-26 13:07:02 -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: add support for request SI/CI firmware in CGS 2017-09-18 23:30:36 -04:00
amdgpu_connectors.c drm/amd: Remove null check before kfree 2017-08-29 15:57:32 -04:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: fix amdgpu_vm_handle_moved as well v2 2017-09-13 12:10:06 -04:00
amdgpu_ctx.c drm/amdgpu: untie user ring ids from kernel ring ids v6 2017-05-31 16:49:01 -04:00
amdgpu_device.c drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
amdgpu_display.c drm/amdgpu: switch to drm_*{get,put} helpers 2017-08-15 14:46:12 -04:00
amdgpu_dpm.c drm/amdgpu: rename amdgpu_dpm_funcs to amd_pm_funcs 2017-09-18 23:30:34 -04:00
amdgpu_dpm.h drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
amdgpu_drv.c drm/amdgpu: bump version for support of local BOs 2017-08-31 13:46:45 -04:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c amdgpu: Only destroy fbdev framebuffer if it was initialized 2017-09-13 12:10:11 -04:00
amdgpu_fence.c drm/amdgpu/SRIOV:implement guilty job TDR for(V2) 2017-05-24 17:40:40 -04:00
amdgpu_gart.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-29 15:27:43 -04:00
amdgpu_gart.h drm/amdgpu: move default gart size setting into gmc modules 2017-08-29 15:27:43 -04:00
amdgpu_gds.h
amdgpu_gem.c drm/amdgpu: move taking mmap_sem into get_user_pages v2 2017-09-12 14:24:00 -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 drm/amdgpu/gfx: consolidate mqd buffer setup code 2017-06-07 18:20:59 -04:00
amdgpu_gtt_mgr.c drm/amdgpu: fix amdgpu_ttm_bind 2017-08-29 15:27:46 -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 drm/amdgpu: add vcn ip block functions (v2) 2017-05-24 17:41:23 -04:00
amdgpu_ioc32.c
amdgpu_irq.c drm/amdgpu/virtual_dce: Virtual display doesn't support disable vblank immediately 2017-08-29 15:27:38 -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/amdgpu: Add PASID management 2017-09-26 13:07:02 -04:00
amdgpu_mn.c drm/amdgpu: keep the MMU lock until the update ends v4 2017-09-12 14:27:56 -04:00
amdgpu_mn.h drm/amdgpu: move MMU notifier related defines to amdgpu_mn.h 2017-09-12 14:29:37 -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 amdgpu_bo_create v2 2017-09-13 12:10:14 -04:00
amdgpu_object.h drm/amdgpu: fix and cleanup amdgpu_bo_create v2 2017-09-13 12:10:14 -04:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
amdgpu_pm.h drm/amdgpu: Fix amdgpu_pm_acpi_event_handler warning 2017-08-15 14:46:06 -04:00
amdgpu_powerplay.c drm/amdgpu: add powerplay support for CI asics 2017-09-26 13:07:00 -04:00
amdgpu_powerplay.h
amdgpu_prime.c drm/amdgpu: add IOCTL interface for per VM BOs v3 2017-08-31 13:46:35 -04:00
amdgpu_psp.c drm/amdgpu: enable raven to load firmwares by psp at default (v2) 2017-09-12 14:30:30 -04:00
amdgpu_psp.h drm/amdgpu: stop psp ring on suspend 2017-09-12 14:30:21 -04:00
amdgpu_queue_mgr.c drm/amdgpu: use LRU mapping policy for SDMA engines 2017-05-31 16:49:04 -04:00
amdgpu_ring.c drm/amdgpu: set sched_hw_submission higher for KIQ (v3) 2017-08-29 15:27:44 -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 drm/amdgpu: Add amdgpu_sync_wait 2017-06-09 11:29:46 -04:00
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: Use correct path to trace include 2017-09-01 15:01:20 -04:00
amdgpu_trace_points.c
amdgpu_ttm.c drm/amd/amdgpu: Support VM environments in amdgpu_ttm_access_memory() 2017-09-18 23:30:31 -04:00
amdgpu_ttm.h drm/amdgpu: move amdgpu_ttm_tt_* declarations into amdgpu_ttm.h 2017-09-12 14:28:06 -04:00
amdgpu_ucode.c drm/amdgpu: enable raven to load firmwares by psp at default (v2) 2017-09-12 14:30:30 -04:00
amdgpu_ucode.h drm/amdgpu: add new member in gpu_info fw 2017-06-15 11:50:22 -04:00
amdgpu_uvd.c drm/amdgpu: move amdgpu_cs_sysvm_access_required into find_mapping 2017-09-12 14:27:22 -04:00
amdgpu_uvd.h
amdgpu_vce.c drm/amdgpu: move amdgpu_cs_sysvm_access_required into find_mapping 2017-09-12 14:27:22 -04:00
amdgpu_vce.h drm/amdgpu: add saved_bo to save vce 4.0 context when suspend 2017-06-01 16:00:22 -04:00
amdgpu_vcn.c drm/amdgpu: Add a parameter to amdgpu_bo_create() 2017-08-15 14:45:58 -04:00
amdgpu_vcn.h drm/amdgpu: add vcn enc ring type and functions 2017-05-24 17:41:41 -04:00
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: Add PASID management 2017-09-26 13:07:02 -04:00
amdgpu_vm.h drm/amdgpu: Add PASID management 2017-09-26 13:07:02 -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 drm/amdgpu: Add debugfs file for VBIOS and version 2017-08-29 15:27:54 -04:00
atom.h drm/amdgpu: Add debugfs file for VBIOS and version 2017-08-29 15:27:54 -04:00
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 drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
ci_dpm.h
ci_smc.c drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
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 drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
cik_ih.c drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
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 drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
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 drm/amdgpu: unify MQD programming sequence for kfd and amdgpu v2 2017-05-31 16:48:48 -04:00
gfx_v8_0.c drm/amdgpu: declare the new firmware files needed by polaris asics 2017-09-01 12:50:03 -04:00
gfx_v8_0.h drm/amdgpu: unify MQD programming sequence for kfd and amdgpu v2 2017-05-31 16:48:48 -04:00
gfx_v9_0.c drm/amdgpu/gfx9: properly set the hdp flush reg for Raven 2017-09-12 14:32:43 -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: fix BANK_SELECT on Vega10 (v2) 2017-08-29 15:27:48 -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-29 15:27:43 -04:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-29 15:27:43 -04:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: move default gart size setting into gmc modules 2017-08-29 15:27:43 -04:00
gmc_v8_0.h
gmc_v9_0.c drm/amd/amdgpu: Cleanup gmc_v9_0_suspend() 2017-09-01 12:51:24 -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/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig drm/amdgpu/radeon: Use radeon by default for CIK GPUs 2017-06-08 10:54:37 -04:00
kv_dpm.c drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
kv_dpm.h
kv_smc.c drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
Makefile drm/amdgpu: Use correct path to trace include 2017-09-01 15:01:20 -04:00
mmhub_v1_0.c drivers:gpu:Use ARRAY_SIZE() for the size calculation of the array. 2017-09-13 14:56:29 -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 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: 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 drm/amdgpu: add nbio7 support 2017-05-24 17:41:16 -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: added api for stopping psp ring (v2) 2017-09-12 14:30:11 -04:00
psp_v3_1.h drm/amdgpu: added api for stopping psp ring (v2) 2017-09-12 14:30:11 -04:00
psp_v10_0.c drm/amdgpu/psp: declare raven psp firmware 2017-09-18 23:30:29 -04:00
psp_v10_0.h drm/amdgpu: added api for stopping psp ring (v2) 2017-09-12 14:30:11 -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: 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 drm/amdgpu: add SDMA v4.0 implementation (v2) 2017-03-29 23:54:45 -04:00
si.c drm/amdgpu: Fix undue fallthroughs in golden registers initialization 2017-08-15 14:46:05 -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: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
si_dpm.h drm/amdgpu: unify the interface of amd_pm_funcs 2017-09-18 23:30:35 -04:00
si_enums.h
si_ih.c drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
si_ih.h
si_smc.c drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02:00
sid.h
sislands_smc.h
soc15.c drm/amdgpu/soc15: drop dead function 2017-07-14 11:06:39 -04:00
soc15.h drm/amdgpu: apply nbio7 for Raven (v3) 2017-05-24 17:41:17 -04:00
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 drm/amd: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:41 +02: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: optimize uvd initialization sequence for SRIOV 2017-08-15 14:45:49 -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: Program ring for vce instance 1 at its register space 2017-05-31 14:16:37 -04:00
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 drm/amdgpu: add initial vce 4.0 support for vega10 2017-03-29 23:54:47 -04:00
vcn_v1_0.c drm/amd/amdgpu: Port VCN over to new SOC15 macros 2017-06-15 11:50:35 -04:00
vcn_v1_0.h drm/amdgpu: add vcn ip block and type 2017-05-24 17:41:27 -04:00
vega10_ih.c Merge branch 'drm-next-4.13' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-06-16 09:56:53 +10: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: Disable GFX PG on CZ 2017-08-15 23:00:16 -04:00
vi.h
vi_dpm.h
vid.h drm/amdgpu:new PM4 entry for VI/AI 2017-05-24 17:40:26 -04:00