aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04drm/amd/amdgpu: add medium grain powergating support for BaffinEric Huang1-0/+95
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amd/amdgpu: add query GFX cu info in CGS query system infoEric Huang1-0/+5
Needed for per CU powergating. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere.yanyang11-0/+1
update relational h files. Signed-off-by: yanyang1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amd/amdgpu: Add smc_sk firmware in baffin & ellesmere.yanyang11-3/+9
add CGS_UCODE_ID_SMU_SK. Signed-off-by: yanyang1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amd/powerplay: enable powerplay for baffin.Rex Zhu1-0/+2
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amd/powerplay: add smu support for ellesmere/baffinrezhu1-2/+9
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add VCE support to ELM/BAFSonny Jiang2-2/+14
Ellesmere and Baffin are VCE 3.4 Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add UVD support for ELM/BAFSonny Jiang1-0/+10
Ellesmere and Baffin are UVD 6.3 Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add GFX support for ELM/BAFFlora Cui1-4/+551
V2: use gfx_8_0_*.h instead of gfx_8_1_*.h v3: agd: integrate support for gfx info table Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add an interface to get gfx constants from atombiosAlex Deucher2-0/+32
Fetch the values from atom rather than hardcoding them in the driver. Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add SDMA support for ELM/BAFFlora Cui1-0/+47
V2: seperate baffin & ellesmere settings instead of using fiji ones. Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add DCE golden setting for ELM/BAFFlora Cui1-0/+26
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add GMC support for ELM/BAFFlora Cui1-0/+35
V2: add golden_settings_baffin_a11 instead of reuse golden_settings_fiji_a10 Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/dce11: add dce clock setting for ELM/BAFAlex Deucher1-1/+9
Setup the disp clock and dp reference clock. This is now a separate command table on elm/baf compared to older asics. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu/dce11: update pll programming for ELM/BAFAlex Deucher1-2/+29
SetPixelClock table handles pll divider calculation and spread spectrum setup, so no need to use calculate the dividers and call the ss enable cmd table. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu: add ELM/BAF support to dce_v11_0_pick_pll (v2)Alex Deucher1-0/+38
New PLL scheme on ELM/BAF. v2: squash in pll fix. Plls are part of the phys. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu/atom: add support for new UNIPHYTransmitterContol cmd tableAlex Deucher1-1/+50
New uniphy transmitter setup table for elm/baf. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu/atom: add support for new DIGxEncoderControl cmd tableAlex Deucher1-0/+42
New digital encoder setup table for elm/baf. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu/atom: add support for new SetPixelClock tableAlex Deucher1-12/+41
New version of the SetPixelClock table for elm/baf. The new table calculates the pll dividers and handles spread spectrum calculations and setup. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu/atom: add SetDCEClock helperAlex Deucher2-1/+46
New cmd table for ELM/BAF for setting the dispclock or dprefclock. Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu: bump the afmt limit for CZ, ST, PolarisAlex Deucher1-1/+1
Fixes array overflow on these chips. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
2016-05-04drm/amdgpu: use defines for CRTCs and AMFT blocksAlex Deucher1-2/+2
Prerequiste for the next patch which ups the limits. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
2016-05-04drm/amdgpu: add ELM/BAF DCE11 configs (v2)Alex Deucher1-1/+24
Add support for the display configuration on elm/baf. v2: add missing Stoney case Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu: add ELM/BAF asic typesAlex Deucher1-0/+2
New asic types for ellesmere and baffin. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
2016-05-04drm/amdgpu: remove sorting of CS BOsChristian König1-23/+0
Not needed any more. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: group BOs by log2 of the size on the LRU v2Christian König2-2/+70
This allows us to have small BOs on the LRU before big ones. v2: fix of by one and list corruption bug Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: drop apply quirks for now.Dave Airlie1-15/+0
This isn't being used so drop it. Reviewed-by: Harry Wentland <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: fix error checking when reuse vmid on same ringChunming Zhou1-2/+2
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: only update last_flush when vmid doesn't have other new ownerChunming Zhou2-5/+11
Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: double fence slotChunming Zhou1-2/+2
we introduced vmid fence, so one hw submission could produce two fences. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable sdma clockgating on STAlex Deucher1-1/+3
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable sdma clockgating on CZAlex Deucher1-1/+3
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/sdma: rename fiji cg functionsAlex Deucher1-65/+39
They care common for all sdma 3.0 parts Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable gmc clockgating for STAlex Deucher1-1/+4
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable gmc clockgating for CZAlex Deucher1-1/+4
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/vi: rename fiji cg functionsAlex Deucher1-12/+21
They can be used for other VI parts. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable gfx clockgating for ST (v2)Alex Deucher1-1/+3
v2: just enable MGCG for now since CGCG causes hangs Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: enable gfx clockgating for CZAlex Deucher1-1/+9
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/gfx: rework fiji cg functions so they can be sharedAlex Deucher1-16/+202
They can be shared with other asics with minor modifications. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: add a new set of rlc function pointersAlex Deucher1-0/+9
Different asics tend to have different ways to interact with the RLC. This just covers enter/exit of safe mode for updating CG and PG state, but could be extended to cover other RLC operations in the future if necessary. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/gfx: adjust gfx_v8_0_send_serdes_cmd for STAlex Deucher1-6/+17
Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/gfx8: rename send_serdes_cmdAlex Deucher1-7/+7
So it can be shared with CZ/ST. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/gmc: add proper CG flags for fijiAlex Deucher2-5/+7
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/common: add proper CG flags for fijiAlex Deucher1-9/+13
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/sdma: add proper CG flags for fijiAlex Deucher2-3/+5
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu/gfx: add proper CG flags for fijiAlex Deucher2-35/+56
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/ttm: implement LRU add callbacks v2Christian König1-0/+2
This allows fine grained control for the driver where to add a BO into the LRU. v2: fix typo in comment Reviewed-by: Sinclair Yeh <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/ttm: remove use_ticket parameter from ttm_bo_reserveChristian König1-1/+1
Not used any more. Reviewed-by: Sinclair Yeh <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: fix the coding style in amdgpu_ring.cChristian König1-2/+3
No functional change. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2016-05-04drm/amdgpu: use the ring name for debugfs (v2)Christian König3-35/+25
Instead of hard coding just another name in the ring code. v2: squash in Tom's rebase fix Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>