Re: [PATCH 000/100] Add Vega10 Support

2017-03-20 Thread Jan Ziak
On Mon, Mar 20, 2017 at 10:41 PM, Alex Deucher wrote: > On Mon, Mar 20, 2017 at 5:36 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com> > wrote: > > Hi > > > > https://cgit.freedesktop.org/~agd5f/linux/plain/drivers/gpu/ > drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_sh_mask. >

[PATCH 081/100] drm/amdgpu/gfx9: impl gfx9 meta data emit

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Insert ce meta prior to cntx_cntl and de follow it. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Acked-by: Christian König

[PATCH 005/100] drm/amdgpu: add soc15ip.h

2017-03-20 Thread Alex Deucher
This header defines the IP layout for soc15 based SoCs. Signed-off-by: Alex Deucher --- .../gpu/drm/amd/include/asic_reg/vega10/soc15ip.h | 1343 1 file changed, 1343 insertions(+) create mode 100644

[PATCH 086/100] drm/amdgpu/dce_virtual: bypass DPM for vf

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu If enable DPM for VF, always get lot of warn_slow_patch_null in dmesg and vf doesn't support DPM. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher

[PATCH 085/100] drm/amdgpu/gmc9: no need use kiq in vega10 tlb flush

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu two reasons: 1. there is a spinlock around; 2. vm register is pf/vf copy, vf can access via mmio safely. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher

[PATCH 053/100] drm/amdgpu: add psp firmware info into info query and debugfs

2017-03-20 Thread Alex Deucher
From: Huang Rui Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 25 + include/uapi/drm/amdgpu_drm.h

[PATCH 068/100] drm/amd/display: Enable DCE12 support

2017-03-20 Thread Alex Deucher
From: Harry Wentland This wires DCE12 support into DC and enables it. Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +-

[PATCH 072/100] drm/amdgpu: Set the IP blocks for vega10

2017-03-20 Thread Alex Deucher
From: Ken Wang Signed-off-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH 036/100] drm/amdgpu: Add asic family for vega10

2017-03-20 Thread Alex Deucher
Signed-off-by: Alex Deucher --- include/uapi/drm/amdgpu_drm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 1bf6b29..7cfdbd8 100644 --- a/include/uapi/drm/amdgpu_drm.h +++

[PATCH 099/100] drm/amdgpu/vce4: impl vce & mmsch sriov start

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu For MM sriov, need use MMSCH to init engine and the init procedures are all saved in mm table. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher

[PATCH 061/100] drm/amd/powerplay: add some display/powerplay interfaces

2017-03-20 Thread Alex Deucher
From: Eric Huang New interfaces needed to handle the new clock trees and bandwidth requirements on vega10. Signed-off-by: Eric Huang Acked-by: Alex Deucher Acked-by: Tony Cheng Acked-by: Harry

[PATCH 024/100] drm/amdgpu: add common soc15 headers

2017-03-20 Thread Alex Deucher
From: Ken Wang These are used by various IP modules. Signed-off-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/soc15.h| 35 drivers/gpu/drm/amd/amdgpu/soc15_common.h | 57 ++

[PATCH 064/100] drm/amd/display: Add DCE12 gpio support

2017-03-20 Thread Alex Deucher
From: Harry Wentland Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- .../amd/display/dc/gpio/dce120/hw_factory_dce120.c | 197 ++ .../amd/display/dc/gpio/dce120/hw_factory_dce120.h | 32 ++

[PATCH 051/100] drm/amdgpu: add initial vce 4.0 support for vega10

2017-03-20 Thread Alex Deucher
From: Leo Liu Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-

[PATCH 031/100] drm/amdgpu: use atomfirmware interfaces for scratch reg save/restore

2017-03-20 Thread Alex Deucher
If the board is atomfirmware based. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

[PATCH 037/100] drm/amdgpu: add tiling flags for GFX9

2017-03-20 Thread Alex Deucher
Signed-off-by: Alex Deucher --- include/uapi/drm/amdgpu_drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h index 7cfdbd8..289b129 100644 --- a/include/uapi/drm/amdgpu_drm.h +++

[PATCH 077/100] drm/amdgpu/gfx9: fullfill kiq funcs

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Fullfill kiq funcs to support kiq ring. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König

[PATCH 033/100] drm/amdgpu: add IV trace point

2017-03-20 Thread Alex Deucher
From: Christian König This allows us to grab IVs without spamming the log. Signed-off-by: Christian König Reviewed-by: Felix Kuehling Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher

[PATCH 076/100] drm/amdgpu: add kiq ring for gfx9

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Allocate KIQ ring in sw_init for gfx9. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König

[PATCH 035/100] drm/amdgpu: add NGG parameters

2017-03-20 Thread Alex Deucher
NGG (Next Generation Graphics) is a new feature in GFX9.0. This adds the relevant parameters. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 29 + drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 21

[PATCH 046/100] drm/amdgpu: Add GMC 9.0 support

2017-03-20 Thread Alex Deucher
From: Alex Xie On SOC-15 parts, the GMC (Graphics Memory Controller) consists of two hubs: GFX (graphics and compute) and MM (sdma, uvd, vce). Signed-off-by: Alex Xie Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher

[PATCH 059/100] drm/amd/powerplay: add some new structures for Vega10

2017-03-20 Thread Alex Deucher
From: Eric Huang Signed-off-by: Eric Huang Reviewed-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher ---

[PATCH 055/100] drm/amd/powerplay: add smu9 header files for Vega10

2017-03-20 Thread Alex Deucher
From: Eric Huang Signed-off-by: Eric Huang Reviewed-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher ---

[PATCH 066/100] drm/amd/display: Add DCE12 irq support

2017-03-20 Thread Alex Deucher
From: Harry Wentland Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- .../amd/display/dc/irq/dce120/irq_service_dce120.c | 293 + .../amd/display/dc/irq/dce120/irq_service_dce120.h |

[PATCH 022/100] drm/amdgpu: add gfx9 clearstate header

2017-03-20 Thread Alex Deucher
Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h | 941 +++ 1 file changed, 941 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h diff --git a/drivers/gpu/drm/amd/amdgpu/clearstate_gfx9.h

[PATCH 089/100] drm/amdgpu/soc15: enable virtual dce for vf

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu VF need virtual dce, enable it if device is vf. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Monk Liu Acked-by: Christian König

Re: [PATCH 000/100] Add Vega10 Support

2017-03-20 Thread Tom St Denis
On 03/20/2017 06:34 PM, Jan Ziak wrote: On Mon, Mar 20, 2017 at 10:41 PM, Alex Deucher > wrote: On Mon, Mar 20, 2017 at 5:36 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com > wrote: > Hi > >

[PATCH 4/4] amdgpu: use sync file for shared semaphores

2017-03-20 Thread Dave Airlie
From: Dave Airlie This creates a new interface for amdgpu with ioctls to create/destroy/import and export shared semaphores using sem object backed by the sync_file code. The semaphores are not installed as fd (except for export), but rather like other driver internal objects

[rfc/repost] amdgpu/sync_file shared semaphores

2017-03-20 Thread Dave Airlie
This is a repost of the file_sync semaphore support. The main difference in this patch is patch1 does a lot better at handling NULL fences in some places. The poll code and ioctls should handle ending up with fence being NULL properly now. Dave. ___

Re: [PATCH 1/4] sync_file: add a mutex to protect fence and callback members. (v3)

2017-03-20 Thread Chris Wilson
On Mon, Mar 20, 2017 at 05:03:04PM +1000, Dave Airlie wrote: > From: Dave Airlie > > This patch allows the underlying fence in a sync_file to be changed > or set to NULL. This isn't currently required but for Vulkan > semaphores we need to be able to swap and reset the fence.

[PATCH 1/4] sync_file: add a mutex to protect fence and callback members. (v3)

2017-03-20 Thread Dave Airlie
From: Dave Airlie This patch allows the underlying fence in a sync_file to be changed or set to NULL. This isn't currently required but for Vulkan semaphores we need to be able to swap and reset the fence. In order to faciliate this, it uses rcu to protect the fence, along

Re: [PATCH 1/4] sync_file: add a mutex to protect fence and callback members. (v3)

2017-03-20 Thread Chris Wilson
On Mon, Mar 20, 2017 at 05:03:04PM +1000, Dave Airlie wrote: > From: Dave Airlie > > This patch allows the underlying fence in a sync_file to be changed > or set to NULL. This isn't currently required but for Vulkan > semaphores we need to be able to swap and reset the fence.

[PATCH 082/100] drm/amdgpu:bypass RLC init for SRIOV

2017-03-20 Thread Alex Deucher
From: Monk Liu one issue unresolved for RLC: rlc will go wrong completely if there is a soft_reset before RLC ucode loading. to workaround above issue, we can totally ignore RLC in guest driver side due to there was already full initialization on RLC side by GIM

[PATCH 047/100] drm/amdgpu: add SDMA v4.0 implementation

2017-03-20 Thread Alex Deucher
From: Ken Wang Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 1553

[PATCH 003/100] drm/amdgpu: move atom scratch setup into amdgpu_atombios.c

2017-03-20 Thread Alex Deucher
There will be a slightly different version for atomfirmware. Reviewed-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 28 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 3

[PATCH 095/100] drm/amdgpu/virt: add structure for MM table

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Add new structure for MM table for multi media scheduler of sriov. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Monk Liu Acked-by: Christian König

[PATCH 057/100] drm/amdgpu: add new atomfirmware based helpers for powerplay

2017-03-20 Thread Alex Deucher
From: Eric Huang New helpers for fetching info out of atomfirmware. Signed-off-by: Eric Huang Reviewed-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/Makefile

[PATCH 041/100] drm/amdgpu: get display info from DC when DC enabled.

2017-03-20 Thread Alex Deucher
From: Rex Zhu Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 59 +++-- 1 file changed, 34

[PATCH 078/100] drm/amdgpu/gfx9: fullfill kiq irq funcs

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Fullfill KIQ irq funcs to support kiq interrupt. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König

[PATCH 029/100] drm/amdgpu: add 64bit doorbell assignments

2017-03-20 Thread Alex Deucher
From: Ken Wang Change-Id: Ic1859520f98c45f0db982a5093a3207da9fcfa5d Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 68

[PATCH 004/100] drm/amdgpu: add basic support for atomfirmware.h (v3)

2017-03-20 Thread Alex Deucher
This adds basic support for asics that use atomfirmware.h to define their vbios tables. v2: rebase v3: squash in num scratch reg fix Reviewed-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile | 2

[PATCH 087/100] drm/amdgpu/virt: impl mailbox for ai

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Implement mailbox protocol for AI so that guest vf can communicate with GPU hypervisor. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Monk Liu Acked-by:

Re: [PATCH 000/100] Add Vega10 Support

2017-03-20 Thread Alex Deucher
On Mon, Mar 20, 2017 at 5:36 PM, Jan Ziak <0xe2.0x9a.0...@gmail.com> wrote: > Hi > > https://cgit.freedesktop.org/~agd5f/linux/plain/drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_sh_mask.h?h=amd-staging-4.9=9555ef0ba926df25d9a637d0ea21bc0d231c21d2 > > The file nbio_6_1_sh_mask.h is

[PATCH 050/100] drm/amdgpu: add initial uvd 7.0 support for vega10

2017-03-20 Thread Alex Deucher
From: Leo Liu Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile |3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 52 +-

[PATCH 000/100] Add Vega10 Support

2017-03-20 Thread Alex Deucher
This patch set adds support for vega10. Major changes and supported features: - new vbios interface - Lots of new hw IPs - Support for video decode using UVD - Support for video encode using VCE - Support for 3D via radeonsi - Power management - Full display support via DC - Support for SR-IOV I

[PATCH 030/100] drm/amdgpu: Add MTYPE flags to GPU VM IOCTL interface

2017-03-20 Thread Alex Deucher
From: Alex Xie Signed-off-by: Alex Xie Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c |

[PATCH 028/100] drm/amdgpu: gb_addr_config struct

2017-03-20 Thread Alex Deucher
From: Andrey Grodzovsky Signed-off-by: Andrey Grodzovsky Reviewed-by: Ken Wang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 ++ 1 file changed, 10

[PATCH 034/100] drm/amdgpu: add PTE defines for MTYPE

2017-03-20 Thread Alex Deucher
New on SOC-15 asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 8e5abd2..c2e4604 100644 ---

[PATCH 025/100] drm/amdgpu: add vega10 chip name

2017-03-20 Thread Alex Deucher
From: Ken Wang Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + drivers/gpu/drm/amd/include/amd_shared.h |

[PATCH 056/100] drm/amd/powerplay: add new Vega10's ppsmc header file

2017-03-20 Thread Alex Deucher
From: Eric Huang Signed-off-by: Eric Huang Reviewed-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher ---

[PATCH 001/100] drm/amdgpu: add the new atomfirmware interface header

2017-03-20 Thread Alex Deucher
soc15 asics have a new vbios interface. These headers define that interface. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/include/atomfirmware.h | 2385 ++ drivers/gpu/drm/amd/include/atomfirmwareid.h | 86 +

[PATCH 080/100] drm/amdgpu:impl gfx9 cond_exec

2017-03-20 Thread Alex Deucher
From: Monk Liu it is needed for virtualization Signed-off-by: Monk Liu Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex

[PATCH 021/100] drm/amd: Add MQD structs for GFX V9

2017-03-20 Thread Alex Deucher
From: Felix Kuehling This header defines the gfx v9 MEC structures. Signed-off-by: Felix Kuehling Reviewed-by: Shaoyun Liu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/include/v9_structs.h

[PATCH 093/100] drm/amdgpu: disable uvd for sriov

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu disable uvd for sriov temporarily. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Acked-by: Christian König

[PATCH 032/100] drm/amdgpu: update IH IV ring entry for soc-15

2017-03-20 Thread Alex Deucher
Reflect the new format on soc-15 asics. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h

Re: [PATCH 000/100] Add Vega10 Support

2017-03-20 Thread Jan Ziak
Hi https://cgit.freedesktop.org/~agd5f/linux/plain/drivers/gpu/drm/amd/include/asic_reg/vega10/NBIO/nbio_6_1_sh_mask.h?h=amd-staging-4.9=9555ef0ba926df25d9a637d0ea21bc0d231c21d2 The file nbio_6_1_sh_mask.h is uncompressed. It consists from 133884 lines. Only generated C/C++ code will be able to

[PATCH 098/100] drm/amdgpu: add mmsch structures

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu For MM SRIOV, need to prepare MM table send send it to MMSCH to initial UVD & VCE engine. Create new header file for the structures. Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex

[PATCH 067/100] drm/amd/display: Add DCE12 core support

2017-03-20 Thread Alex Deucher
From: Harry Wentland Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- .../amd/display/dc/dce120/dce120_hw_sequencer.c| 197 .../amd/display/dc/dce120/dce120_hw_sequencer.h| 36 +

[PATCH 074/100] drm/amdgpu/gfx9: programing wptr_poll_addr register

2017-03-20 Thread Alex Deucher
From: Monk Liu Required for SR-IOV. Signed-off-by: Monk Liu Signed-off-by: Xiangliang Yu Reviewed-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher

[PATCH 045/100] drm/amdgpu: add NBIO 6.1 driver

2017-03-20 Thread Alex Deucher
From: Junwei Zhang This handles nbio 6.1 specific implementations which are used by various other IPs. Signed-off-by: Hawking Zhang Signed-off-by: Junwei Zhang Reviewed-by: Alex Deucher Signed-off-by:

[PATCH 070/100] drm/amd/display: Less log spam

2017-03-20 Thread Alex Deucher
From: Jordan Lazare Signed-off-by: Jordan Lazare Acked-by: Harry Wentland Reviewed-by: Charlene Liu Acked-by: Alex Deucher Signed-off-by: Alex Deucher

[PATCH 091/100] drm/amdgpu: Don't touch PG for SRIOV MM

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu For SRIOV, MM don't need to care about PG & CG, skip it. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Monk Liu Reviewed-by: Christian König

[PATCH 058/100] drm/amd/powerplay: add global PowerPlay mutex.

2017-03-20 Thread Alex Deucher
From: Rex Zhu Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 192

[PATCH 038/100] drm/amdgpu: don't validate TILE_SPLIT on GFX9

2017-03-20 Thread Alex Deucher
From: Marek Olšák Signed-off-by: Marek Olšák Acked-by: Alex Deucher Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

[PATCH 075/100] drm/amdgpu: impl sriov detection for vega10

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu Read vega10 hw register to detect if sriov is enabled, and call it before IP blocks setting. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Acked-by: Christian König

[PATCH 054/100] drm/amdgpu: add SMC firmware into global ucode list for psp loading

2017-03-20 Thread Alex Deucher
From: Huang Rui Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 11 +++ 1 file changed, 11 insertions(+) diff

[PATCH 049/100] drm/amdgpu: add vega10 interrupt handler

2017-03-20 Thread Alex Deucher
From: Ken Wang Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile| 3 +- drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 424

[PATCH 027/100] drm/amdgpu: use new flag to handle different firmware loading method

2017-03-20 Thread Alex Deucher
From: Huang Rui This patch introduces a new flag named "amdgpu_firmware_load_type" to handle different firmware loading method. Since Vega10, there are three ways to load firmware. It would be better to use a flag and a fw_load_type kernel parameter to configure it.

[PATCH 073/100] drm/amdgpu: add Vega10 Device IDs

2017-03-20 Thread Alex Deucher
From: Junwei Zhang Signed-off-by: Junwei Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 9 - 1 file changed, 8 insertions(+), 1

[PATCH 052/100] drm/amdgpu: add PSP driver for vega10

2017-03-20 Thread Alex Deucher
From: Huang Rui PSP is responsible for firmware loading on SOC-15 asics. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile

[PATCH 065/100] drm/amd/display: Add DCE12 i2c/aux support

2017-03-20 Thread Alex Deucher
From: Harry Wentland Signed-off-by: Harry Wentland Signed-off-by: Alex Deucher --- .../amd/display/dc/i2caux/dce120/i2caux_dce120.c | 125 + .../amd/display/dc/i2caux/dce120/i2caux_dce120.h |

[PATCH 002/100] amdgpu: detect if we are using atomfirm or atombios for vbios (v2)

2017-03-20 Thread Alex Deucher
Supposedly atomfirmware rom header is 3.3 atombios is 1.1. v2: rebased on newer kernel Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 30 +++--- 2 files changed, 24

[PATCH 043/100] drm/amdgpu: handle PTE EXEC in amdgpu_vm_bo_split_mapping

2017-03-20 Thread Alex Deucher
From: Alex Xie Signed-off-by: Alex Xie Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

[PATCH 039/100] drm/amdgpu: rework common ucode handling for vega10

2017-03-20 Thread Alex Deucher
From: Huang Rui Handle ucode differences in vega10. Signed-off-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +

[PATCH 026/100] drm/amdgpu: add clinetid definition for vega10

2017-03-20 Thread Alex Deucher
From: ken Signed-off-by: ken Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 42 -- 1 file changed, 40

[PATCH 071/100] drm/amdgpu: soc15 enable (v2)

2017-03-20 Thread Alex Deucher
From: Ken Wang Add soc15 support and enable all the IPs for vega10. v2: squash in xclk fix Signed-off-by: Ken Wang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher ---

[PATCH 092/100] drm/amdgpu/vce4: enable doorbell for SRIOV

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu VCE SRIOV need use doorbell and only works on VCN0 ring now Signed-off-by: Xiangliang Yu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Acked-by: Christian König

[PATCH 097/100] drm/amdgpu/vce4: Ignore vce ring/ib test temporarily

2017-03-20 Thread Alex Deucher
From: Xiangliang Yu In order to not break SRIOV gfx development, will revert this patch after vce proved working. Signed-off-by: Xiangliang Yu Reviewed-by: Alex Deucher Reviewed-by: Monk Liu

Re: [PATCH] drm/amdgpu: fix duplicated code

2017-03-20 Thread Jerry Zhang
On 03/21/2017 10:10 AM, Chunming Zhou wrote: it could come from branch merge. Change-Id: I16959aad6ca6d64cb8330f23ee6472eec4cf2a3e Signed-off-by: Chunming Zhou Reviewed-by: Junwei Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 1 file

[PATCH] drm/amdgpu: fix duplicated code

2017-03-20 Thread Chunming Zhou
it could come from branch merge. Change-Id: I16959aad6ca6d64cb8330f23ee6472eec4cf2a3e Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

Re: [PATCH] drm: add check for plane functions

2017-03-20 Thread Shirish S
On Mon, Mar 20, 2017 at 1:51 PM, Daniel Vetter wrote: > On Mon, Mar 20, 2017 at 09:58:01AM +0530, Shirish S wrote: >> First of all, thanks for your comments/insights. >> >> On Sat, Mar 18, 2017 at 12:59 AM, Eric Anholt wrote: >> > Ville Syrjälä

Re: [PATCH 1/4] sync_file: add a mutex to protect fence and callback members. (v3)

2017-03-20 Thread Daniel Vetter
On Mon, Mar 20, 2017 at 08:16:36AM +, Chris Wilson wrote: > On Mon, Mar 20, 2017 at 05:03:04PM +1000, Dave Airlie wrote: > > From: Dave Airlie > > > > This patch allows the underlying fence in a sync_file to be changed > > or set to NULL. This isn't currently required but

[PATCH umr] sync up registers/bits with staging tree

2017-03-20 Thread Tom St Denis
Signed-off-by: Tom St Denis --- scripts/parse_bits.sh| 4 +++- src/lib/ip/dce60_bits.i | 1 + src/lib/ip/smu712_regs.i | 1 + src/lib/ip/smu713_regs.i | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/parse_bits.sh b/scripts/parse_bits.sh

[PATCH umr] Add more PKT3 decoders ...

2017-03-20 Thread Tom St Denis
Various SI related PKT3 decoders. Signed-off-by: Tom St Denis --- src/lib/ring_decode.c | 52 +++ 1 file changed, 52 insertions(+) diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c index a991f5ffa237..ab1cb9d46411