Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-03-29 | drm/amdgpu: add soc15ip.h | Alex Deucher | 1 | -0/+1343 | |
This header defines the IP layout for soc15 based SoCs. Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add basic support for atomfirmware.h (v3) | Alex Deucher | 5 | -13/+172 | |
This adds basic support for asics that use atomfirmware.h to define their vbios tables. v2: rebase v3: squash in num scratch reg fix Acked-by: Christian König <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: move atom scratch setup into amdgpu_atombios.c | Alex Deucher | 5 | -28/+32 | |
There will be a slightly different version for atomfirmware. Acked-by: Christian König <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | amdgpu: detect if we are using atomfirmware or atombios for vbios (v2) | Alex Deucher | 2 | -7/+24 | |
Supposedly atomfirmware rom header is 3.3 atombios is 1.1. v2: rebased on newer kernel Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add the new atomfirmware interface header | Alex Deucher | 3 | -0/+2720 | |
soc15 asics have a new vbios interface. These headers define that interface. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add optional fence out-parameter to amdgpu_vm_clear_freed | Nicolai Hähnle | 4 | -9/+19 | |
We will add the fence to freed buffer objects in a later commit, to ensure that the underlying memory can only be re-used after all references in page tables have been cleared. Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/powerplay: restore disabling power containment on Fiji (v2) | Eric Huang | 1 | -0/+7 | |
Power containment will degrade performance in some compute tests. Restore disabling it as before code refining in powerplay. v2: only in the compute profile Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: further KIQ parameter cleanup | Alex Deucher | 1 | -13/+11 | |
The ring structure already has what we need. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: store the eop gpu addr in the ring structure | Alex Deucher | 2 | -8/+7 | |
Avoids passing around additional parameters during setup. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: reduce the functon params for mpq setup | Alex Deucher | 1 | -18/+14 | |
Everything we need is in the ring structure. No need to pass all the bits explicitly. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: reserve kiq eop object before unmapping it | Alex Deucher | 1 | -0/+4 | |
It's required. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: fold loops in kiq_resume() | Alex Deucher | 1 | -4/+0 | |
No need to loop through the compute queues twice. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: test KIQ before compute rings | Alex Deucher | 1 | -6/+7 | |
If KIQ isn't working, the compute rings won't work either. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: reserve mqd objects before mapping them | Alex Deucher | 1 | -11/+21 | |
It's required. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: rename some functions | Alex Deucher | 1 | -6/+6 | |
To better match where they are used. Called from sw_init and sw_fini. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx8: whitespace cleanup | Alex Deucher | 1 | -6/+5 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: load mc firware in driver for Polaris. | Rex Zhu | 1 | -6/+84 | |
load mc ucode in driver if VBIOS not loaded a full version of MC ucode, Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: jimqu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: fix duplicated code | Chunming Zhou | 1 | -4/+0 | |
it could come from branch merge. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: enable gfx/system/vce clockgating on Polars12. | Rex Zhu | 2 | -1/+20 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/powerplay: add a new register define for APU in VI. | Rex Zhu | 4 | -4/+15 | |
the ixcurrent_pg_status addr is different between APU and DGPU. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: enable GFX/UVD/VCE PG for Bristol | Eric Huang | 1 | -1/+4 | |
Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/amdgpu: Set VCE/UVD off during late init | Tom St Denis | 1 | -0/+4 | |
Forces VCE/UVD off during late init to ensure they're powered off correctly during boot. Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Samuel Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: remove redundant outer loop and remove commented out code | Colin Ian King | 1 | -20/+7 | |
The outer loop is redundant and can be removed as it is doing nothing useful. Also remove some commented out code that is not being used. Detected by CoverityScan, CID#1402073 Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/sched: revise priority number | Chunming Zhou | 2 | -6/+7 | |
big number is to high priority. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: bump version for PRT support | Alex Deucher | 1 | -1/+2 | |
Reviewed-by: Junwei Zhang <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: fix before and after mapping judgement for replace mapping | Junwei Zhang | 1 | -4/+6 | |
If the before mapping is 1 page size, so its start and last will be same. Thus below condition will become false, then to free the before mapping. > if (before->it.start != before->it.last) But in this case, we need the before mapping of 1 page size. So does after mapping. Signed-off-by: Junwei Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add a VM mapping replace operation v2 | Christian König | 4 | -1/+83 | |
Add a new operation to replace mappings in a VM with a new one. v2: Fix Jerry's comment, separate out clear operation. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2 | Christian König | 5 | -8/+124 | |
A new VM operation to remove all mappings in a range. v2: limit unmapped area as noted by Jerry Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: separate page table allocation from mapping | Christian König | 4 | -62/+92 | |
This makes it easier to implement a replace operation. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: make set_prt callback optional and fix error handling | Christian König | 1 | -14/+15 | |
PRT support is completely implemented now and we left it turned on accidentially in the error path. Signed-off-by: Christian König <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/vi: add missing error handling when setting uvd dclk | Alex Deucher | 1 | -0/+2 | |
Reviewed-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reported-by: David Binderman <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/vi: remove duplicate CG flags | Alex Deucher | 1 | -2/+0 | |
GFX_MGLS was added twice. Reviewed-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reported-by: David Binderman <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/powerplay: remove unneeded conversions to bool | Andrew F. Davis | 2 | -2/+2 | |
Found with scripts/coccinelle/misc/boolconv.cocci. Signed-off-by: Andrew F. Davis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: remove unneeded conversions to bool | Andrew F. Davis | 4 | -14/+14 | |
Found with scripts/coccinelle/misc/boolconv.cocci. Signed-off-by: Andrew F. Davis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add macro to retrieve timeline name v2 | Andres Rodriguez | 1 | -4/+8 | |
This helps de-duplicate a long expression and removes overly long lines. v2: Rename macro and undef it Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: replace fence pointer with fence data in traces | Andres Rodriguez | 1 | -4/+9 | |
Fence data is easier to read and allows us to correlate to identify corresponding dma_fence ftrace events. Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: remove useless pointers from traces | Andres Rodriguez | 1 | -16/+5 | |
Remove pointers which provide redundant information which is already easier to deduce from other fields. Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: use sched_job id instead of pointer for tracing | Andres Rodriguez | 1 | -8/+8 | |
Pointers get reallocated and they are hard to read for humans. Use ids instead. Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: more ftrace formatting consistency fixes | Andres Rodriguez | 1 | -5/+5 | |
Consistent formatting makes it easier to read the logs and apply simple awk oneliners. I missed some of these on my last patch. Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amd/sched: add a unique job id to amd_sched_job | Andres Rodriguez | 2 | -0/+4 | |
A unique id is useful for debugging and tracing. Intended to replace pointers in ftrace output. Reviewed-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Andres Rodriguez <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: increase IH ring buffer size to avoid overflow | Roger.He | 1 | -1/+1 | |
We originally limited the IH to 4k on tonga since it uses bus addresses directly rather than GPU MC addresses, so it needs contigous physical memory. This brings it inline with other asics. Signed-off-by: Roger.He <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: don't init GDS pool if GDS size is 0 (v2) | Alex Deucher | 1 | -18/+27 | |
SI cards don't expose GDS as a separate pool. The CP manages GDS and the UMDs use special CP packets to allocate GDS memory. v2: drop extra whitespace change bug: https://bugzilla.kernel.org/show_bug.cgi?id=194867 Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu/gfx6: drop gds unrefs | Alex Deucher | 1 | -4/+0 | |
Leftover from gfx7 code. gfx6 never sets up the gds buffers in the first place. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: refine vce_3.0 code. | Rex Zhu | 1 | -9/+7 | |
fix logic error in hw_fini and set_clockgating_state functions. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: refine vce2.0 dpm sequence | Rex Zhu | 1 | -3/+3 | |
start vce first then enable vce dpm. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/radeon: add new ATIF ACPI method | Alex Deucher | 1 | -0/+12 | |
Used for fetching external GPU information. Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add new ATIF ACPI method | Alex Deucher | 1 | -0/+12 | |
Used for fetching external GPU information. Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: get cs support of AMDGPU_HW_IP_UVD_ENC | Leo Liu | 1 | -0/+9 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add AMDGPU_HW_IP_UVD_ENC to info query | Leo Liu | 1 | -0/+10 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | uapi/drm: add AMDGPU_HW_IP_UVD_ENC | Leo Liu | 1 | -1/+2 | |
Reviewed-by: Christian König <[email protected]> Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |