[PATCH xf86-video-ati] modesetting: re-set the crtc's mode when link-status goes BAD

2017-08-17 Thread Michel Dänzer
From: Martin Peres Despite all the careful planning of the kernel, a link may become insufficient to handle the currently-set mode. At this point, the kernel should mark this particular configuration as being broken and potentially prune the mode before setting the

[PATCH] drm/amdgpu/virtual_dce: Virtual display doesn't support disable vblank immediately

2017-08-17 Thread Emily Deng
For virtual display, it uses software timer to emulate the vsync interrupt, it doesn't have high precision, so doesn't support disable vblank immediately. BUG: SWDEV-129274 Signed-off-by: Emily Deng --- drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 8 +--- 1 file changed, 5

答复: [PATCH] Wait pending flip before setting new frontbuffer when resize screen

2017-08-17 Thread Qu, Jim
Hi: Please ignore this patch. the extant patch could fix the problem. https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/commit/?id=af7221e1c4d2dbdfd488eb0976a835584ea8441c Thanks JimQu 发件人: Jim Qu 发送时间: 2017年8月18日 11:10 收件人:

[PATCH] Wait pending flip before setting new frontbuffer when resize screen

2017-08-17 Thread Jim Qu
the patch fixs the display can not light up after hotplug with DRI3 enabled, the drmmode_crtc->flip_pending records old fb address which will be freed during setting new frontbuffer,meanwhile, the allocator set the same address as freed fb to output_ids[] in drmmode_set_mode_ major(). In the next

Re: [PATCH] drm/amdgpu: fix a bogus warning

2017-08-17 Thread Xie, AlexBin
Reviewed-by: Alex Xie From: amd-gfx on behalf of Alex Deucher Sent: Thursday, August 17, 2017 4:44 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH]

[PATCH] drm/amdgpu: fix a bogus warning

2017-08-17 Thread Alex Deucher
Don't validate the default value. Prevents a needless warning. Also fix a spelling typo in the warning message. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH] drm/atomic: put commit when -ERESTARTSYS received

2017-08-17 Thread Jerry Zuo
During page flip atomic_check and atomic_commit can return -ERESTARTSYS to restart the ioctl. When this happens we fail to put the commit object leading to a memory leak. v2: Changed subject tag to drm/atomic Signed-off-by: Jerry Zuo --- drivers/gpu/drm/drm_atomic.c | 25

Re: bug running amd-staging-4.12

2017-08-17 Thread Christian König
Not the slightest idea, but you are not the first one complaining about problems. How do you trigger that? Christian. Am 17.08.2017 um 03:16 schrieb Dave Airlie: I'm seeing this go past a fair bit. Dave. [ 3640.825412] BUG: sleeping function called from invalid context at