[PATCH 1/2] drm/radeon/mst: port some MST setup code from DAL.

2016-04-06 Thread Dave Airlie
From: Dave Airlie This ports the DAL timeouts and MST rate calculations for the hw from the DAL codebase. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/ni_reg.h| 2 ++ drivers/gpu/drm/radeon/radeon_dp_mst.c | 23 +++ 2 files changed, 21 insertions(+), 4 del

[PATCH 2/2] drm/radeon: use helper for mst connector dpms.

2016-04-06 Thread Dave Airlie
From: Dave Airlie I noticed my monitor didn't power off when it should, this should fix it. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/radeon_dp_mst.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm

[Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
se: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/de11f2e0/attachment.html>

[PATCH] drm/radeon: add support for SET_APPEND_CNT packet3

2016-04-06 Thread Dave Airlie
From: Dave Airlie This adds support to the command parser for the set append counter packet3, this is required to support atomic counters on evergreen/cayman GPUs. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/evergreen_cs.c | 38 +++ drivers/gpu/drm/rad

[Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160406/96ee247a/attachment-0001.html>

[Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
My card is a R9 270x, and I have Mesa 11.1.2, LLVM 3.7.1. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/614e9fa8/attachment.html>

[Bug 94835] Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

2016-04-06 Thread bugzilla-dae...@freedesktop.org
are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/5abdf797/attachment.html>

[Bug 94835] Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

2016-04-06 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/911752b7/attachment.html>

[Bug 94705] [radeonsi] blue ground in Company of Heroes 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160406/a5c50bbd/attachment.html>

[Bug 94835] Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

2016-04-06 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/9e3db029/attachment.html>

[Bug 94705] [radeonsi] blue ground in Company of Heroes 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
this bug as depends on 94835. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/012351ee/attachment.html>

[PATCH] drm/radeon: add support for SET_APPEND_CNT packet3

2016-04-06 Thread Christian König
Am 06.04.2016 um 08:03 schrieb Dave Airlie: > From: Dave Airlie > > This adds support to the command parser for the set append counter > packet3, this is required to support atomic counters on > evergreen/cayman GPUs. > > Signed-off-by: Dave Airlie > --- > drivers/gpu/drm/radeon/evergreen_cs.c

[Intel-gfx] [PATCH 1/3] drm/edid: Add drm_edid_get_monitor_name()

2016-04-06 Thread Jani Nikula
On Tue, 05 Apr 2016, Jim Bride wrote: > In order to include monitor name information in debugfs > output we needed to add a function that would extract the > monitor name from the EDID, and that function needed to > reside in the file where the rest of the EDID helper > functions are implemented.

Black screen with KABINI with kernel 4.5 with or without DAL

2016-04-06 Thread Boszormenyi Zoltan
2016-04-05 08:27 keltezéssel, Michel Dänzer írta: > On 05.04.2016 13:07, Boszormenyi Zoltan wrote: >> 2016-04-05 05:40 keltezéssel, Michel Dänzer írta: >>> On 05.04.2016 00:25, Boszormenyi Zoltan wrote: The application is Chromium in kiosk mode. The problem is that sometimes the scr

RFC: Some TTM patches

2016-04-06 Thread Christian König
Hi everyone, attached are six TTM patches and one Amdgpu patch I came up with while working on a new TTM feature. The first patch is a bug fix. TTM was always waiting for on a BO to be idle when initially creating it. Previously that didn't matter much because a newly created BO should always be

[PATCH 4/7] drm/ttm: remove unused validation sequence

2016-04-06 Thread Christian König
From: Christian König Not used any more. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/ttm/ttm_bo.c| 1 - include/drm/ttm/ttm_bo_driver.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c inde

[PATCH 1/7] drm/ttm: don't wait for BO on initial allocation

2016-04-06 Thread Christian König
From: Christian König When we use an extern reservation object that otherwise waits for every fence registered with it. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/ttm/ttm_bo.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff -

[PATCH 7/7] drm/amdgpu: prefer VM page tables over normal BOs

2016-04-06 Thread Christian König
From: Christian König Keep VM page tables behind normal BOs on the LRU. Signed-off-by: Christian König Acked-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 53 +++-- 2 files changed, 55 insertions(

[PATCH 6/7] drm/ttm: implement LRU add callbacks v2

2016-04-06 Thread Christian König
From: Christian König This allows fine grained control for the driver where to add a BO into the LRU. v2: fix typo in comment Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 ++ drivers/gpu/drm/ast/ast_ttm.c | 2 ++ drive

[PATCH 3/7] drm/ttm: remove lazy parameter from ttm_bo_wait

2016-04-06 Thread Christian König
From: Christian König Not used any more. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +- drivers/gpu/drm/nouveau/nouveau_gem.c| 4 ++-- drivers/gpu/drm/qxl/qxl_cmd.c| 2 +- drivers/gpu/drm/qxl/qxl_object.h

[PATCH 2/7] drm/ttm: remove use_ticket parameter from ttm_bo_reserve

2016-04-06 Thread Christian König
From: Christian König Not used any more. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +- drivers/gpu/drm/ast/ast_drv.h | 2 +- drivers/gpu/drm/bochs/bochs_fbdev.c| 2 +- drivers/gpu/drm/bochs/bochs_kms.c

[PATCH 5/7] drm/ttm: add optional LRU removal callback v2

2016-04-06 Thread Christian König
From: Christian König Useful for driver specific LRU handling. v2: fix typo in comment Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/ttm/ttm_bo.c| 12 +++- include/drm/ttm/ttm_bo_driver.h | 6 ++ 2 files changed, 13 insertions(+), 5 deletions

[Bug 94043] Distorted graphics when running Battle.net app under Wine with Radeon hardware

2016-04-06 Thread bugzilla-dae...@freedesktop.org
r the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/0908364d/attachment.html>

[Bug 94043] Distorted graphics when running Battle.net app under Wine with Radeon hardware

2016-04-06 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/9c6b7867/attachment.html>

[Bug 94043] Distorted graphics when running Battle.net app under Wine with Radeon hardware

2016-04-06 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/4c4f3584/attachment.html>

[Intel-gfx] [PATCH 5/6] drm,i915: Introduce drm_malloc_gfp()

2016-04-06 Thread Tvrtko Ursulin
On 05/04/16 14:05, Chris Wilson wrote: > On Tue, Apr 05, 2016 at 01:57:36PM +0100, Chris Wilson wrote: >> I have instances where I want to use drm_malloc_ab() but with a custom >> gfp mask. And with those, where I want a temporary allocation, I want to >> try a high-order kmalloc() before using a

[PATCH] drm: rcar-du: Only unwindow as necessary on probe failure

2016-04-06 Thread Sjoerd Simons
Simply calling rcar_du_remove on any error can cause unbalanced calls to various functions (e.g. drm_connector_register/unregister, drm_dev_register/drm_dev_unref). This can be seen at bootup of my Porter boards with current next: [2.789322] rcar-du feb0.display: failed to initialize DRM/

[Intel-gfx] [PATCH 5/6] drm,i915: Introduce drm_malloc_gfp()

2016-04-06 Thread Chris Wilson
On Wed, Apr 06, 2016 at 10:40:19AM +0100, Tvrtko Ursulin wrote: > > On 05/04/16 14:05, Chris Wilson wrote: > >On Tue, Apr 05, 2016 at 01:57:36PM +0100, Chris Wilson wrote: > >>I have instances where I want to use drm_malloc_ab() but with a custom > >>gfp mask. And with those, where I want a tempor

[PATCH 1/2] drm/rockchip: vop: Do check if an update is pending during disable

2016-04-06 Thread Tomeu Vizoso
When a plane is being disabled but it's still enabled, do check if the previous update has been completed by reading yrgb_mst back. Otherwise, pending pageflips would remain pending after a CRTC is disabled. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 5 +++--

[PATCH 2/2] drm/rockchip: vop: Wait for pending events when disabling a CRTC

2016-04-06 Thread Tomeu Vizoso
When a VOP is disabled, it will stop raising interrupts. If we had a pending pageflip when the VOP is disabled, userspace won't get that event until the corresponding CRTC is enabled again. So let's wait for any pending events that may be right before disabling a CRTC. Signed-off-by: Tomeu Vizoso

[Bug 94835] Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

2016-04-06 Thread bugzilla-dae...@freedesktop.org
limited to 16, at least on Mesa. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/79cfab86/attachment.html>

[Bug 93767] Glitches with soft shadows and MSAA in Knights of the Old Republic 2

2016-04-06 Thread bugzilla-dae...@freedesktop.org
ou are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/d5fe9871/attachment.html>

[PATCH] mdfld_dsi: remove bogus if check

2016-04-06 Thread Alan
From: Alan Both cases produce the same result. Kill the junk code. Signed-off-by: Alan Cox --- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c b/drivers/gpu/drm/gma500/mdfld_dsi_dpi.c ind

[PATCH 1/7] drm/ttm: don't wait for BO on initial allocation

2016-04-06 Thread Sinclair Yeh
I don't know much about AMD gpu. Patches 1-6 look good to me. On Wed, Apr 06, 2016 at 11:12:02AM +0200, Christian König wrote: > From: Christian König > > When we use an extern reservation object that otherwise waits for every > fence registered with it. > > Signed-off-by: Christian König

[PATCH 1/3] drm: Make drm.h uapi header safe for C++

2016-04-06 Thread Gabriel Laskar
On Wed, 30 Mar 2016 16:19:42 +0200 Daniel Vetter wrote: > virtual is a protected keyword in C++ and can't be used at all. Ugh. > > This aligns the kernel versions of the drm headers with the ones in > libdrm. > > Cc: Emil Velikov > Signed-off-by: Daniel Vetter > --- > include/uapi/drm/drm.h

[pull] radeon and amdgpu drm-fixes-4.6

2016-04-06 Thread Alex Deucher
Hi Dave, Lots of misc bug fixes for radeon and amdgpu and one for ttm. - fix vram info fetching on Fiji and unposted boards - additional vblank fixes from the conversion to drm_vblank_on/off - UVD dGPU suspend and resume fixes - lots of powerplay fixes - fix a fence leak in the pageflip code - ttm

[PATCH 1/3] drm: Make drm.h uapi header safe for C++

2016-04-06 Thread Emil Velikov
On 6 April 2016 at 16:58, Gabriel Laskar wrote: > On Wed, 30 Mar 2016 16:19:42 +0200 > Daniel Vetter wrote: > >> virtual is a protected keyword in C++ and can't be used at all. Ugh. >> >> This aligns the kernel versions of the drm headers with the ones in >> libdrm. >> >> Cc: Emil Velikov >> Sig

[PATCH libdrm 5/7] include: Fix spelling mistakes

2016-04-06 Thread Emil Velikov
Hi Eric, On 3 April 2016 at 19:48, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > include/drm/drm_mode.h | 2 +- > include/drm/i915_drm.h | 2 +- > include/drm/mga_drm.h| 2 +- > include/drm/savage_drm.h | 2 +- > include/drm/vmwgfx_drm.h | 2 +- > 5 files changed, 5 inse

[PATCH libdrm 3/7] freedreno: Fix spelling mistakes

2016-04-06 Thread Emil Velikov
Hi Eric, On 3 April 2016 at 19:48, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > freedreno/kgsl/kgsl_drm.h | 2 +- > freedreno/kgsl/msm_kgsl.h | 4 ++-- Not 100% sure how Rob deals with these. Although I'm suspecting that they come from a kernel (similar to the ones in PATCH 5/7

[PATCH libdrm 3/7] freedreno: Fix spelling mistakes

2016-04-06 Thread Emil Velikov
On 6 April 2016 at 17:42, Emil Velikov wrote: > Hi Eric, > > On 3 April 2016 at 19:48, Eric Engestrom wrote: >> Signed-off-by: Eric Engestrom >> --- >> freedreno/kgsl/kgsl_drm.h | 2 +- >> freedreno/kgsl/msm_kgsl.h | 4 ++-- > > Not 100% sure how Rob deals with these. Although I'm suspecting tha

[Bug 94835] Increase fragment shader sample limits from 16 to 32 (AMD Linux - Mesa/RadeonSi)

2016-04-06 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/651ab48b/attachment.html>

[Bug 89420] DELL U2415 monitor detection issue

2016-04-06 Thread bugzilla-dae...@freedesktop.org
:( -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160406/91c1cd86/attachment.html>

[PATCH 2/2] drm/radeon: use helper for mst connector dpms.

2016-04-06 Thread Alex Deucher
On Tue, Apr 5, 2016 at 7:24 PM, Dave Airlie wrote: > From: Dave Airlie > > I noticed my monitor didn't power off when it should, > this should fix it. > > Signed-off-by: Dave Airlie Applied the series. Thanks! Alex > --- > drivers/gpu/drm/radeon/radeon_dp_mst.c | 8 +--- > 1 file change

[PATCH] drm/tilcdc: Recover from sync lost error flood by resetting the LCDC

2016-04-06 Thread Jyri Sarha
Recover from sync lost error flood by resetting the LCDC in stead of turning off the SYNC_LOST error IRQ. When LCDC starves on limited memory bandwidth it may sometimes result an error situation when the picture may have shifted couple of pixels to right and SYNC_LOST interrupt is generated on ever

drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2016-04-06 Thread Dan Carpenter
Hello Yakir Yang, The patch 7b4b7a8db439: "drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time" from Feb 15, 2016, leads to the following static checker warning: drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:875 analogix_dp_irq_thread() warn: bitwise

[PATCH 1/2] drm/radeon: add support for loading new UVD fw

2016-04-06 Thread Leo Liu
From: Arindam Nath Signed-off-by: Christian König Signed-off-by: Arindam Nath Reviewed-by: Leo Liu --- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_uvd.c | 55 +++-- drivers/gpu/drm/radeon/uvd_v4_2.c | 8 +- 3 files changed,

Applied "ALSA: pcm: add IEC958 channel status helper for hw_params" to the asoc tree

2016-04-06 Thread Mark Brown
The patch ALSA: pcm: add IEC958 channel status helper for hw_params has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Applied "ALSA: pcm: Allow 32 bit sample format in IEC958 channel status helper" to the asoc tree

2016-04-06 Thread Mark Brown
The patch ALSA: pcm: Allow 32 bit sample format in IEC958 channel status helper has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

[PATCH 2/2] drm/radeon: handle more than 10 UVD sessions

2016-04-06 Thread Leo Liu
From: Arindam Nath Signed-off-by: Christian König Signed-off-by: Arindam Nath Reviewed-by: Leo Liu --- drivers/gpu/drm/radeon/cikd.h | 1 + drivers/gpu/drm/radeon/radeon.h | 9 ++--- drivers/gpu/drm/radeon/radeon_uvd.c | 33 + drivers/gpu/drm/r

[PATCH libdrm 3/7] freedreno: Fix spelling mistakes

2016-04-06 Thread Rob Clark
On Wed, Apr 6, 2016 at 12:42 PM, Emil Velikov wrote: > Hi Eric, > > On 3 April 2016 at 19:48, Eric Engestrom wrote: >> Signed-off-by: Eric Engestrom >> --- >> freedreno/kgsl/kgsl_drm.h | 2 +- >> freedreno/kgsl/msm_kgsl.h | 4 ++-- > > Not 100% sure how Rob deals with these. Although I'm suspec

[Intel-gfx] [PATCH 1/3] drm/edid: Add drm_edid_get_monitor_name()

2016-04-06 Thread Jim Bride
On Wed, Apr 06, 2016 at 11:35:44AM +0300, Jani Nikula wrote: > On Tue, 05 Apr 2016, Jim Bride wrote: > > In order to include monitor name information in debugfs > > output we needed to add a function that would extract the > > monitor name from the EDID, and that function needed to > > reside in t