| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | drm/amdgpu: Limit the max mc address to hole start | Emily Deng | 2018-10-10 | 1 | -2/+4 |
| | | | | | | | | | | | | For the vram_start is 0 case, the gart range will be from 0x0000FFFF00000000 to 0x0000FFFF1FFFFFFF, which will cause the engine hang. So to avoid the hole, limit the max mc address to AMDGPU_GMC_HOLE_START.:wq Signed-off-by: Emily Deng <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: fix AGP location with VRAM at 0x0 | Christian König | 2018-10-09 | 1 | -5/+2 |
| | | | | | | | | | | That also simplifies handling quite a bit. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: fix mask in GART location calculation | Christian König | 2018-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | We need to mask the lower bits not the upper one. Fixes: ec210e3226dc0 drm/amdgpu: put GART away from VRAM v2 Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Acked-by: James Zhu <[email protected]> Tested-by: James Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu/gmc9: Adjust GART and AGP location with xgmi offset (v2) | Alex Deucher | 2018-09-11 | 1 | -10/+15 |
| | | | | | | | | | | | | | | | | | | | | | On hives with xgmi enabled, the fb_location aperture is a size which defines the total framebuffer size of all nodes in the hive. Each GPU in the hive has the same view via the fb_location aperture. GPU0 starts at offset (0 * segment size), GPU1 starts at offset (1 * segment size), etc. For access to local vram on each GPU, we need to take this offset into account. This including on setting up GPUVM page table and GART table v2: squash in "drm/amdgpu: Init correct fb region for none XGMI configuration" Acked-by: Huang Rui <[email protected]> Acked-by: Slava Abramov <[email protected]> Signed-off-by: Shaoyun Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Acked-by: Huang Rui <[email protected]> | ||||
| * | drm/amdgpu: use the AGP aperture for system memory access v2 | Christian König | 2018-09-11 | 1 | -0/+23 |
| | | | | | | | | | | | Start to use the old AGP aperture for system memory access. v2: Move that to amdgpu_ttm_alloc_gart Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: add amdgpu_gmc_agp_location v3 | Christian König | 2018-09-11 | 1 | -0/+43 |
| | | | | | | | | | | | | Helper to figure out the location of the AGP BAR. v2: fix a couple of bugs v3: correctly add one to vram_end Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: put GART away from VRAM v2 | Christian König | 2018-08-30 | 1 | -3/+5 |
| | | | | | | | | | | | Always try to put the GART away from where VRAM is. v2: correctly handle the 4GB limitation Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: use the smaller hole for GART | Christian König | 2018-08-29 | 1 | -1/+2 |
| | | | | | | | | | | | Instead of the larger one use the smaller hole in the MC address space for the GART mappings. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: fix amdgpu_gmc_gart_location a little bit | Christian König | 2018-08-29 | 1 | -15/+13 |
| | | | | | | | | | | Improve the VCE limitation handling. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: move amdgpu_device_(vram|gtt)_location | Christian König | 2018-08-29 | 1 | -0/+64 |
| | | | | | | | | | | | Move that into amdgpu_gmc.c since we are really deadling with GMC address space here. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: add amdgpu_gmc_get_pde_for_bo helper v2 | Christian König | 2018-08-27 | 1 | -2/+35 |
| | | | | | | | | | | | | | Helper to get the PDE for a PD/PT. v2: improve documentation Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | drm/amdgpu: add amdgpu_gmc_pd_addr helper | Christian König | 2018-08-27 | 1 | -0/+47 |
| Add a helper to get the root PD address and remove the workarounds from the GMC9 code for that. Signed-off-by: Christian König <[email protected]> Acked-by: Felix Kuehling <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
