[PATCH] drm/amdgpu:impl vgt_flush for VI(v2)

2016-11-13 Thread Monk Liu
when shadowing enabled, tesselation app will trigger vm fault because below three tesselation registers: VGT_TF_RING_SIZE__CI__VI, VGT_HS_OFFCHIP_PARAM__CI__VI, VGT_TF_MEMORY_BASE__CI__VI, need to be programed after vgt-flush. Tesselation picture vm fault disappeared after vgt-flush introduced.

答复: [PATCH] drm/amdgpu:impl vgt_flush for VI

2016-11-13 Thread Liu, Monk
Anyone review this patch ? This patch could fix tessellation bug when shadowing enabled, we should always insert vgt_flush when there is a context switch BR Monk -邮件原件- 发件人: Monk Liu [mailto:monk@amd.com] 发送时间: Friday, November 11, 2016 6:32 PM 收件人: amd-...@freedesktop.org 抄送: Liu

答复: [PATCH] drm/amdgpu:fix vpost_needed routine

2016-11-13 Thread Liu, Monk
Alex, the patch is already rebased against staging-4.7 , it just fixed non-FIJI pass-through bug, which should use regular rules but without this patch it will always do post. BR Monk -邮件原件- 发件人: Deucher, Alexander 发送时间: Friday, November 11, 2016 11:05 PM 收件人: Liu, Monk; amd-...@freed

Re: Bug#839381: xserver-xorg-video-amdgpu: very long Xorg initilization time in recent kernels

2016-11-13 Thread Michel Dänzer
On 13/11/16 09:09 PM, Michael Strobel wrote: > Hi, > > i think i found the problem: it's powerplay. The bisection showed that > 3466904d38ff1e63f0a19cb31166db67f2d05c61 is the commit which introduced > the problem: > > while the code before checked if amdgpu_powerplay > 0 now it checks > equality

Re: gnome-shell is frozen upon wakeup from DPMS (bisected)

2016-11-13 Thread Michel Dänzer
On 11/11/16 02:21 AM, Max Staudt wrote: > Hi, > > I have bisected a commit in v4.6 that fixes a freeze of the screen on > DPMS sleep: > > 777e3cbc791f131806d9bf24b3325637c7fc228d drm/radeon: Switch to > drm_vblank_on/off > > > When running 'xset dpms force off' in a GNOME session (I tested thi

Re: [AMDGPU][CIK] PRIME with DRI3 + stalls rendering

2016-11-13 Thread Michel Dänzer
On 13/11/16 06:59 AM, Shawn Starr wrote: > > I'm currently trying the new fence patches that prevent tearing in PRIME on > Bonaire CIK, it works with no tearing with latest patches from Mario, but > there is significant frame stalls, even though the performance is higher than > running the AMDG

Re: [PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)

2016-11-13 Thread Mike Lothian
Hi I've tested this version now - works great Thanks Mike On Wed, 9 Nov 2016 at 01:26 Mario Kleiner wrote: > External clients which import our bo's wait only > for exclusive dmabuf-fences, not on shared ones, > ditto for bo's which we import from external > providers and write to. > > Therefo