Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-08-06 | drm/amdgpu/discovery: move common discovery code out of navi1*_reg_base_init() | Xiaojie Yuan | 3 | -28/+29 | |
move amdgpu_discovery_reg_base_init() from navi1*_reg_base_init() to a common function nv_reg_base_init(). Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-06 | drm/amdgpu/soc15: fix external_rev_id for navi14 | tiancyin | 1 | -1/+1 | |
fix the hard code external_rev_id. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: tiancyin <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-06 | drm/amdgpu: update ras sysfs feature info | Tao Zhou | 1 | -12/+5 | |
remove confused ras error type info Signed-off-by: Tao Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-06 | drm/amdgpu: Fix panic during gpu reset | xinhui pan | 1 | -1/+1 | |
Clear the flag after hw suspend, otherwise it skips the corresponding hw resume. Signed-off-by: xinhui pan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-06 | drm/amdgpu: pin the csb buffer on hw init for gfx v8 | Likun Gao | 1 | -0/+40 | |
Without this pin, the csb buffer will be filled with inconsistent data after S3 resume. And that will causes gfx hang on gfxoff exit since this csb will be executed then. Signed-off-by: Likun Gao <[email protected]> Tested-by: Paul Gover <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Reviewed-by: Xiaojie Yuan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-06 | drm/amdgpu: switch driver from bo->resv to bo->base.resv | Gerd Hoffmann | 12 | -48/+46 | |
Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Christian König <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2019-08-06 | drm/ttm: use gem vma_node | Gerd Hoffmann | 1 | -1/+1 | |
Drop vma_node from ttm_buffer_object, use the gem struct (base.vma_node) instead. Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Christian König <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2019-08-06 | drm/amdgpu: use embedded gem object | Gerd Hoffmann | 6 | -13/+12 | |
Drop drm_gem_object from amdgpu_bo, use the ttm_buffer_object.base instead. Build tested only. Signed-off-by: Gerd Hoffmann <[email protected]> Reviewed-by: Christian König <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2019-08-05 | dma-buf: add more reservation object locking wrappers | Christian König | 4 | -8/+9 | |
Complete the abstraction of the ww_mutex inside the reservation object. This allows us to add more handling and debugging to the reservation object in the future. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/320761/ | |||||
2019-08-02 | drm/amd/amdgpu/vcn_v2_0: Move VCN 2.0 specific dec ring test to vcn_v2_0 | Thong Thai | 1 | -1/+31 | |
VCN 2.0 firmware now requires a packet start command to be sent before any other decode ring buffer command. Signed-off-by: Thong Thai <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands | Thong Thai | 2 | -6/+7 | |
Sets the CMD_SOURCE bit for VCN 2.0 Decoder Ring Buffer commands. This bit was previously set by the RBC HW on older firmware. Newer firmware uses a SW RBC and this bit has to be set by the driver. Signed-off-by: Thong Thai <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: enable Navi12 kfd support for amdgpu | shaoyunl | 1 | -0/+1 | |
Navi12 has the same interface as Navi10 Signed-off-by: shaoyunl <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: Add nv12 DC ip block | Leo Li | 2 | -0/+3 | |
Load DC and amdgpu display manager Signed-off-by: Leo Li <[email protected]> Reviewed-by: Xiaojie Yuan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: enable DPG mode for Navi12 | Boyuan Zhang | 1 | -1/+1 | |
Enable Dynamic Power Gating VCN for Navi12. Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Xiaojie Yuan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add VCN ip block for Navi12 | Boyuan Zhang | 1 | -0/+1 | |
Add VCN2 ip block for Navi12 Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add Navi12 VCN firmware support | Boyuan Zhang | 1 | -1/+9 | |
Add Navi12 to VCN family Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add psp ip block for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add smu ip block for navi12 | Xiaojie Yuan | 1 | -0/+6 | |
Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: start autoload till RLCG fw for navi12 | Xiaojie Yuan | 1 | -1/+2 | |
rlc save restore list is not ready yet for navi12 Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/psp11: add psp support for navi12 | Xiaojie Yuan | 2 | -0/+7 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: correct smu rlc handshake enablement bit | Jack Xiao | 1 | -2/+2 | |
Correct the enablement bit of SMU RLC handshake. Signed-off-by: Jack Xiao <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/sdma5: add golden settings for navi12 (v2) | Xiaojie Yuan | 1 | -0/+2 | |
common golden settings are put in golden_settings_sdma_5 array v2: update settings (Alex) Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: add golden settings for navi12 (v2) | Xiaojie Yuan | 1 | -5/+49 | |
Add initial golden settings for navi12 gfx. v2: update settings Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Jack Xiao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: enable virtual display for navi12 | Xiaojie Yuan | 2 | -0/+3 | |
Virtual display is a sw display interface for bring up and virtualization or for cards without display hardware. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: set tcp harvest for navi12 | Xiaojie Yuan | 1 | -3/+5 | |
Same as navi10. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add ip blocks for navi12 | Xiaojie Yuan | 1 | -0/+7 | |
Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gmc10: set gart size and vm size for navi12 | Xiaojie Yuan | 1 | -1/+4 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/sdma5: add placeholder for navi12 golden settings | Xiaojie Yuan | 1 | -0/+11 | |
None yet. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/sdma5: declare sdma firmwares for navi12 | Xiaojie Yuan | 1 | -0/+6 | |
Declare the firmwares and load the proper ones for navi12. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: set rlc funcs for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: set number of me(c)/pipe/queue for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: add placeholder for navi12 golden settings | Xiaojie Yuan | 1 | -0/+13 | |
Not used yet. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: declare cp/rlc firmwares for navi12 | Xiaojie Yuan | 1 | -0/+10 | |
Set the name properly to load the right ucode. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: add gfx config for navi12 | Xiaojie Yuan | 1 | -8/+2 | |
got from mmCP_MAX_CONTEXT and mmPA_SC_FIFO_SIZE v2: squash all navi asics together because the settings are the same. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu/gfx10: set gfx cg for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: set nbio/hdp cg for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Same as navi10. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: initialize cg/pg flags and external rev id for navi12 | Xiaojie Yuan | 1 | -0/+5 | |
don't enable any cg/pg features yet. v2: calculate external revision id from revision id so that we can differentiate navi12 A0 from A1 directly. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: use front door firmware loading for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
Same as other navi asics. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: set asic family and ip blocks for navi12 | Xiaojie Yuan | 1 | -0/+1 | |
same with navi10 Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add gpu_info firmware for navi12 | Xiaojie Yuan | 1 | -0/+4 | |
gpu_info firmare store asic configuration details. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add navi12 asic type | Xiaojie Yuan | 1 | -0/+1 | |
Add asic type. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: initialize reg base for navi12 | Xiaojie Yuan | 4 | -1/+58 | |
Set up the register offset map for navi12. Signed-off-by: Xiaojie Yuan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: update SDMA V4 microcode init | John Clements | 1 | -35/+75 | |
Removed loading duplicate instances of SDMA FW for Arcturus. We use a single image for all instances. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: extend PSP FW loading support to 8 SDMA instances | John Clements | 3 | -3/+41 | |
Arcturus has 8 instances of SDMA. Update host to PSP interface to handle it. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: disable MEC2 JT context init for Arcturus | John Clements | 1 | -5/+11 | |
We don't need to handle it like other asics. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: update PSP CMD fail response status print | John Clements | 1 | -2/+2 | |
Print the response in hex with the apprpriate mask. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add PSP KDB loading support for Arcturus | John Clements | 3 | -0/+29 | |
Add support for the arcturus specific psp metadata to the amdgpu firmware and properly parse it when loading it. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: add PSP SW init support for Arcturus | John Clements | 2 | -0/+4 | |
Add arcturus cases to psp init sewquence. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amdgpu: removed duplicate line | John Clements | 1 | -1/+0 | |
Remove duplicate break. Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-08-02 | drm/amd/powerplay: enable SW SMU power profile switch support in KFD | Evan Quan | 1 | -2/+6 | |
Hook up the SW SMU power profile switch in KFD routine. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Kevin Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |