[PATCH umr 1/4] Remove 'risky' option --print command. (v2)

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher (v2) Remove --print from man page --- demo/update/read_sensor.sh | 2 +- doc/umr.1 | 9 - src/app/main.c | 8 +--- src/app/scan.c | 1 -

[PATCH umr 2/4] Add ability to specify VMID in hex

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher --- doc/umr.1 | 5 +++-- src/app/main.c | 11 +++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/umr.1 b/doc/umr.1 index 9384c2430bda..0a991f9923a4 100644 ---

[PATCH umr 3/4] Various cleanups found by static analysis. (v2)

2017-07-25 Thread Tom St Denis
Signed-off-by: Tom St Denis Acked-by: Alex Deucher (v2): Updated enumerate to not stop on other AMD PCI devices --- src/app/enum.c | 4 +--- src/lib/create_asic_helper.c | 5 + src/lib/discover.c | 9 +++--

umr: Various cleanups and better VM decoding

2017-07-25 Thread Tom St Denis
This series is a revamp of the series I sent out earlier in the week. To recap: Patch #1 removes the risky option and --print command. Patch #2 allows you to specify VMIDs in hex as well as decimal Patch #3 is a couple of simple cleanups found by review and static checking. Patch #4

Re: [PATCH 6/8] drm/amdgpu/vce4: optimize vce 4.0 init table sequence for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > Optimize init table sequence for sriov. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu Acked-by: Alex Deucher

Re: [PATCH 8/8] drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:18 AM, Xiangliang.Yu wrote: > From: Frank Min > > While doing flr on VFs, there is possibility to lost the doorbell > writing for sdma, so enable poll mem for sdma, then sdma fw would > check the pollmem holding wptr. > >

Re: [PATCH 2/8] drm/amdgpu: Enable uvd and vce gpu re-init for SRIOV gpu reset

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:16 AM, Xiangliang.Yu wrote: > From: Frank Min > > Add uvd and vce re-init after gpu reset. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu Acked-by: Alex Deucher

Re: [PATCH 4/8] drm/amdgpu: Skip uvd and vce ring test for SRIOV

2017-07-25 Thread Alex Deucher
On Tue, Jul 25, 2017 at 5:17 AM, Xiangliang.Yu wrote: > From: Frank Min > > Since rptr would not be accessed on later secure asics in sriov, remove > the ring test. > > Signed-off-by: Frank Min > Signed-off-by: Xiangliang.Yu

RE: [PATCH 8/8] drm/amdgpu/sdma4: Enable sdma poll mem addr on vega10 for SRIOV

2017-07-25 Thread Yu, Xiangliang
Got it, I'll change it later. Thanks! > From: Frank Min > > While doing flr on VFs, there is possibility to lost the doorbell > writing for sdma, so enable poll mem for sdma, then sdma fw would > check the pollmem holding wptr. > > Signed-off-by: Frank Min

RE: [PATCH 5/8] drm/amdgpu: According hardware design revert vce and uvd doorbell assignment

2017-07-25 Thread Min, Frank
Hi Alex, In sriov currently we only use only one encoding ring for uvd and vce. the logic here is to leave the unused doorbell location(for vce it is AMDGPU_DOORBELL64_VCE_RING2_3 * 2 + 1 and for uvd it is AMDGPU_DOORBELL64_UVD_RING2_3 * 2 + 1) for all the unused ring index. How about to

[PATCH] drm/amd/powerplay: rv: Use designated initializers

2017-07-25 Thread Kees Cook
As done for vega10 in commit 3ddd396f6b57 ("drm/amd/powerplay: Use designated initializers") mark other tableFunction entries with designated initializers. The randstruct plugin requires designated initializers for structures that are entirely function pointers. Cc: Rex Zhu Cc:

Changes for enabling ATS support from PTE

2017-07-25 Thread Yong Zhao
Hi there, Attached are two patches made to amdgpu in order to support ATS on Raven. Please review them. Regards, Yong >From 0657ddb14a16d1b809c419b51e805287fb6a9989 Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Thu, 20 Jul 2017 18:44:10 -0400 Subject: [PATCH 1/2]

Re: [PATCH 15/81] drm/amd/display: Re-enable Vsync Interrupts for Gradual Refresh Ramp

2017-07-25 Thread Michel Dänzer
On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: > From: Amy Zhang > > - Make sure Vsync interrupts are disabled in static screen case > and enabled when not to save power What exactly does this mean? FWIW, the interrupt whose handler calls drm_handle_vblank() must be

Re: [PATCH 25/81] drm/amd/display: Remove unblanaced drm_vblank_put.

2017-07-25 Thread Michel Dänzer
On 25/07/17 10:53 PM, sunpeng...@amd.com wrote: > From: Andrey Grodzovsky > > Since drm_vblank_get moved from this function to just > before do_flip no need to release vblank here in case of error. > > Change-Id: Iedc900618da2a0c940f49fe63299c6ae3eec260d >

<    1   2