Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-02-19 | drm/amdgpu: include new ip and ip offset headers | Hawking Zhang | 1 | -1/+2 | |
Signed-off-by: Hawking Zhang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: Use new TTM flag to avoid OOM triggering. | Andrey Grodzovsky | 1 | -0/+4 | |
Avoid OOM on syatem pages allocations. v2: Remove modeprobe parameter, make this behaviour the only option. v3: Move setting no_retry flag into amdgpu_ttm_init. Signed-off-by: Andrey Grodzovsky <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add PASID mapping for GMC v9 | Christian König | 2 | -2/+12 | |
This way we can see the PASID in VM faults. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add PASID mapping for GMC v8 | Christian König | 2 | -1/+3 | |
This way we can see the PASID in VM faults. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add PASID mapping for GMC v7 | Christian König | 2 | -1/+3 | |
This way we can see the PASID in VM faults. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: implement gmc_v9_0_emit_flush_gpu_tlb | Christian König | 8 | -153/+53 | |
Unify tlb flushing for gmc v9. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: implement gmc_v8_0_emit_flush_gpu_tlb | Christian König | 6 | -73/+28 | |
Unify tlb flushing for gmc v8. v2: handle UVD v6 as well Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: implement gmc_v7_0_emit_flush_gpu_tlb | Christian König | 4 | -35/+26 | |
Unify tlb flushing for gmc v7. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: implement gmc_v6_0_emit_flush_gpu_tlb | Christian König | 4 | -33/+29 | |
Unify tlb flushing for gmc v6. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add new amdgpu_gmc_emit_flush_gpu_tlb callback | Christian König | 2 | -0/+4 | |
Add a new GMC function to unify vm flushing. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for VCN v1 | Christian König | 1 | -0/+9 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for VCE v4 | Christian König | 1 | -0/+9 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for UVD v7 | Christian König | 1 | -7/+17 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for UVD v6 | Christian König | 1 | -0/+12 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for SDMA v4 | Christian König | 1 | -0/+10 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for SDMA v3 | Christian König | 1 | -0/+10 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for SDMA v2.4 | Christian König | 1 | -0/+10 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for CIK SDMA | Christian König | 1 | -0/+9 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for SI DMA | Christian König | 1 | -0/+9 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for gfx v9 | Christian König | 1 | -2/+17 | |
Needed for vm_flush unification. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for gfx v8 | Christian König | 1 | -1/+17 | |
Needed for vm_flush unification. v2: handle compute rings as well Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for gfx v7 | Christian König | 1 | -0/+15 | |
Needed for vm_flush unification. v2: handle compute rings as well Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: wire up emit_wreg for gfx v6 | Christian König | 1 | -0/+14 | |
Needed for vm_flush unification. v2: handle compute rings as well. Signed-off-by: Christian König <[email protected]> Acked-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: Bump driver version for sensor pstate clk | Rex Zhu | 1 | -1/+2 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: Expose more GPU sensor queries | Rex Zhu | 1 | -0/+18 | |
Add sub-queries for stable pstate shader/memory clock. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: all vram is visible for APU (v2) | Chunming Zhou | 1 | -0/+6 | |
missed in gmc9. v2: squash in build fix (Rex) Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amd/pp: Add a new pp feature mask bit for OD feature | Rex Zhu | 1 | -1/+1 | |
when this bit was set on module load, driver will allow the user over/under gpu clock and voltage through sysfs. by default, this bit was not set. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amd/pp: Add stable Pstate clk display support in debugfs | Rex Zhu | 1 | -0/+4 | |
The additional output are: PSTATE_SCLK and PSTATE_MCLK value in MHz as: 300 MHz (PSTATE_SCLK) 300 MHz (PSTATE_MCLK) Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add custom power policy support in sysfs | Rex Zhu | 2 | -1/+88 | |
when cat pp_power_profile_mode on Vega10 NUM MODE_NAME BUSY_SET_POINT FPS USE_RLC_BUSY MIN_ACTIVE_LEVEL 0 3D_FULL_SCREEN : 70 60 1 3 1 POWER_SAVING : 90 60 0 0 2 VIDEO*: 70 60 0 0 3 VR : 70 90 0 0 4 COMPUTER : 30 60 0 6 5 CUSTOM : 0 0 0 0 the result show all the profile mode we can support and custom mode. user can echo the num(0-4) to pp_power_profile_mode to select the profile mode or can echo "5 value value value value" to enter CUSTOM mode. the four parameter is set_point/FPS/USER_RLC_BUSY/MIN_ACTIVE_LEVEL. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: forward pasid to backend flush implementations | Christian König | 18 | -21/+42 | |
rd the pasid from the VM code to the emit_vm_flush function and update all implementations with the new parameter. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: trace the PASID instead of the VM pointer | Christian König | 1 | -4/+4 | |
Makes more sense than tracing the kernel pointer. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: trace allocated PASIDs | Christian König | 2 | -0/+26 | |
Trace all allocated PASIDs. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: always allocate a PASIDs for each VM v2 | Christian König | 1 | -14/+29 | |
Start to always allocate a pasid for each VM. v2: use dev_warn when we run out of PASIDs Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add amdgpu_pasid_free_delayed v2 | Christian König | 2 | -0/+84 | |
Free up a pasid after all fences signaled. v2: also handle the case when we can't allocate a fence array. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: move PD/PT address calculation into backend function | Christian König | 1 | -50/+29 | |
This way we can better handle the differences for CPU based updates. Signed-off-by: Christian König <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: move struct gart_funcs into amdgpu_gmc.h | Christian König | 16 | -127/+114 | |
And rename it to struct gmc_funcs. Signed-off-by: Christian König <[email protected]> Reviewed-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: move struct amdgpu_mc into amdgpu_gmc.h | Christian König | 35 | -395/+431 | |
And rename it to amdgpu_gmc as well. Signed-off-by: Christian König <[email protected]> Reviewed-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: remove agp_base | Christian König | 1 | -1/+0 | |
No AGP support for in this driver. Signed-off-by: Christian König <[email protected]> Reviewed-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: print the PASID with VM faults on GMC v8 | Christian König | 1 | -6/+7 | |
Print that extra information on GMC v8. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: print the PASID with VM faults on GMC v7 | Christian König | 1 | -6/+7 | |
Print that extra information on GMC v7. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: rename pas_id to pasid | Christian König | 8 | -12/+12 | |
sed -i "s/pas_id/pasid/g" drivers/gpu/drm/amd/amdgpu/*.c sed -i "s/pas_id/pasid/g" drivers/gpu/drm/amd/amdgpu/*.h Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: Move to gtt before cpu accesses dma buf. | Samuel Li | 3 | -2/+72 | |
To improve cpu read performance. This is implemented for APUs currently. v2: Adapt to change https://lists.freedesktop.org/archives/amd-gfx/2017-October/015174.html v3: Adapt to change "forward begin_cpu_access callback to drivers" v4: Instead of v3, reuse drm_gem dmabuf_ops here. Also some minor fixes as suggested. v5: only set dma_buf ops when it is valid (Samuel) Signed-off-by: Samuel Li <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: only allow scatter/gather display with DC | Alex Deucher | 1 | -1/+4 | |
Check if DC is enabled before allowing scanout buffers to be pinned in system memory. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: allow framebuffer in GART memory as well | Christian König | 3 | -5/+20 | |
On CZ and newer APUs we can pin the fb into GART as well as VRAM. v2: Don't enable gpu_vm_support for Raven yet since it leads to a black screen. Need to debug this further before enabling. Signed-off-by: Christian König <[email protected]> Reviewed-by: Andrey Grodzovsky <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: Update MMHUB power gating register settings | Yong Zhao | 1 | -28/+33 | |
The new register settings are needed to fix a tlb invalidation issue when MMHUB power gating is turned on for Raven. Signed-off-by: Yong Zhao <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Felix Kuehling <[email protected]> Acked-by: Eric Huang <[email protected]> Reviewed-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: fix semicolon.cocci warnings | Fengguang Wu | 1 | -1/+1 | |
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:281:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 620f774f4687 ("drm/amdgpu: separate VMID and PASID handling") CC: Christian König <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: drop extra tlb invalidation in gpuvm | Alex Deucher | 1 | -2/+0 | |
We only need to flush the HDP here, not invalidate the TLB. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: adjust HDP write queue flushing for tlb invalidation | Alex Deucher | 6 | -11/+4 | |
Separate tlb invalidation and hdp flushing and move the HDP flush to the caller. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-02-19 | drm/amdgpu: add HDP asic callbacks for SOC15 (v2) | Alex Deucher | 1 | -0/+12 | |
Needed to flush and invalidate the HDP block using the CPU. v2: use preferred register on soc15. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Samuel Li <[email protected]> (v1) | |||||
2018-02-19 | drm/amdgpu: add HDP asic callbacks for VI | Alex Deucher | 1 | -0/+14 | |
Needed to flush and invalidate the HDP block using the CPU. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Samuel Li <[email protected]> |