Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-25 Thread Florian Echtler
On 25.07.2017 07:14, Mario Kleiner wrote: > On 07/24/2017 03:45 PM, Florian Echtler wrote: > > That's the same here with my patch applied. After a suspend -> resume, the > internal panel stays black, the patch doesn't help for that. Somethig i didn't > notice btw., apparently i never

Re: [PATCH 4/4] drm/amdgpu/gmc9: disable legacy vga features in gmc init

2017-07-25 Thread Harry Wentland
Not an expert on GMC but this seems to be the right place to do this in the sequence. For the series: Acked-by: Harry Wentland Harry On 2017-07-24 11:19 PM, Alex Deucher wrote: > Needs to be done when the MC is set up. > > Signed-off-by: Alex Deucher

答复: [PATCH 1/4] drm/amdgpu/gmc6: disable legacy vga features in gmc init (v2)

2017-07-25 Thread Qu, Jim
Hi Christian: Could you share your minds when you are on second glance? Thanks JimQu 发件人: amd-gfx 代表 Christian König 发送时间: 2017年7月25日 17:17 收件人: Alex Deucher;

Re: iMac 10,1 with Ubuntu 16.04: black screen after suspend

2017-07-25 Thread Lukas Wunner
On Tue, Jul 25, 2017 at 07:14:23AM +0200, Mario Kleiner wrote: > On 07/24/2017 03:45 PM, Florian Echtler wrote: > > thanks for the hint. I've applied this patch to the v4.12 tree I'm > > currently running, and it didn't seem to make any difference (i.e. > > display stays black after suspend). > >

Re: [PATCH] drm/amdgpu/dce_virtual: remove error message for vega10

2017-07-25 Thread Christian König
Am 25.07.2017 um 11:50 schrieb Xiangliang.Yu: Vega10 also support virtual display, remove the error message. Signed-off-by: Xiangliang.Yu Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 ++ 1 file changed, 2

Re: 答复: [PATCH 1/4] drm/amdgpu/gmc6: disable legacy vga features in gmc init (v2)

2017-07-25 Thread Christian König
The term "legacy VGA" sounds like the whole render functionality which actually isn't part of the GMC AFAIK. But what Alex primary disables here is the old VGA BAR in the CPU address space and that is part of the GMC (or at least related to it). BTW: Patch are Acked-by: Christian König

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

2017-07-25 Thread Xiangliang . Yu
From: Frank Min Now uvd doorbell is from 0xf8-0xfb and vce doorbell is from 0xfc-0xff Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 18 +-

[PATCH 3/8] drm/amdgpu/vce4: Remove vce interrupt enable related code for sriov

2017-07-25 Thread Xiangliang . Yu
From: Frank Min Interrupt enable is contained in vce init table and this register could not be accessed in secure ASICs, so just remove it. Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu ---

[PATCH] drm/amdgpu/dce_virtual: remove error message for vega10

2017-07-25 Thread Xiangliang . Yu
Vega10 also support virtual display, remove the error message. Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c

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

2017-07-25 Thread Xiangliang . Yu
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 Signed-off-by: Xiangliang.Yu

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

2017-07-25 Thread Xiangliang . Yu
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 --- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 4 ++--

[PATCH 7/8] drm/amdgpu/uvd7: optimize uvd initialization sequence for SRIOV

2017-07-25 Thread Xiangliang . Yu
From: Frank Min 1.Since in sriov there is no need of decoding, so skip the related code; 2.Vcpu boot up and umc enable need to take at the end of the init sequence; Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu ---

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

2017-07-25 Thread Xiangliang . Yu
From: Frank Min Optimize init table sequence for sriov. Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/4] drm/amdgpu/gmc6: disable legacy vga features in gmc init (v2)

2017-07-25 Thread Christian König
Am 25.07.2017 um 05:30 schrieb Alex Deucher: Needs to be done when the MC is set up. v2: make consistent with other asics Signed-off-by: Alex Deucher On first glance it kind of looks a bit odd to have that in the GMC code, but on second glance it actually makes

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

2017-07-25 Thread Xiangliang . Yu
From: Frank Min Add uvd and vce re-init after gpu reset. Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 3 +--

[PATCH 1/8] drm/amdgpu: Clear vce ring wptr for SRIOV

2017-07-25 Thread Xiangliang . Yu
From: Frank Min MMSCH FW need to get the wptr from 0 after it get the mailbox request from driver, since every time kick the mailbox, mmsch thinks that it is the first time engine start to initialize. Signed-off-by: Frank Min Signed-off-by: Xiangliang.Yu

Re: [PATCH 4/4] drm/amdgpu/gmc9: disable legacy vga features in gmc init

2017-07-25 Thread Huang Rui
On Tue, Jul 25, 2017 at 01:06:42PM +0800, Huang Rui wrote: > On Tue, Jul 25, 2017 at 04:06:00AM +, Deucher, Alexander wrote: > > > -Original Message- > > > From: Alex Deucher [mailto:alexdeuc...@gmail.com] > > > Sent: Monday, July 24, 2017 11:31 PM > > > To:

Re: [PATCH] drm/amdgpu: fix spelling mistake: "suuport"-> "support"

2017-07-25 Thread Christian König
Am 25.07.2017 um 00:45 schrieb Colin King: From: Colin Ian King Trivial fix to spelling mistake in WARN_ONCE message Signed-off-by: Colin Ian King Reviewed-by: Christian König ---

<    1   2