Regression bug in drm/i915, Wrong assumption in commit e11aa36 breaks suspend on at least lenovo x61

2015-02-17 Thread Dave Airlie
ccing some ppl. On 17 February 2015 at 08:11, Klaus Ethgen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > After three days of bisect I found the bug for my problem with a broken > suspend on x61p of lenovo. > > The problem is commit e11aa36. It seems to be a wrong assumption that

[PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index b0b8556..8f4488f 100644 --- a/include/uapi/drm/dr

[PATCH 10/45] r128_drm.h: include drm/drm.h

2015-02-17 Thread Mikko Rapeli
Fixes compile error: drm/r128_drm.h:156:23: error: array type has incomplete element type struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/r128_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/r128_drm.h b/includ

[PATCH 11/45] via_drm.h: include linux/types.h instead of non-existing via_drmclient.h

2015-02-17 Thread Mikko Rapeli
Fixes compiler error: drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 8b05

[PATCH 07/45] exynos_drm.h: include stdint.h in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compilation errors like: drm/exynos_drm.h:30:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/exynos_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 5575ed1..03d09

[PATCH 13/45] savage_drm.h: include

2015-02-17 Thread Mikko Rapeli
Fixes compiler error: drm/savage_drm.h:50:24: error: array type has incomplete element type struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS + Signed-off-by: Mikko Rapeli --- include/uapi/drm/savage_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ua

[PATCH 14/45] sis_drm.h: hide sis_file_private in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compiler error: drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type struct list_head obj_list; Signed-off-by: Mikko Rapeli --- include/uapi/drm/sis_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h index

[PATCH 12/45] via_drm.h: hide struct via_file_private in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compiler error since list_head is not exported to userspace headers. Signed-off-by: Mikko Rapeli --- include/uapi/drm/via_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/via_drm.h b/include/uapi/drm/via_drm.h index 791531e..34ce658 100644 --- a/include/uapi/drm

[PATCH 32/45] drm/i810_drm.h: include drm/drm.h

2015-02-17 Thread Mikko Rapeli
Fixes userspace compilation error: error: array type has incomplete element type struct drm_clip_rect boxes[I810_NR_SAREA_CLIPRECTS]; Signed-off-by: Mikko Rapeli --- include/uapi/drm/i810_drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/drm/i810_drm.h b/include/uapi/drm/

[PATCH 09/45] radeon_drm.h: include stdint.h in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compiler error: drm/radeon_drm.h:794:2: error: unknown type name ‘uint64_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/radeon_drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 50d0fb4..4d8ed03 10064

[PATCH 06/45] drm_mode.h: include stdint.h and linux/types.h in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a0db2d4a..c55dfdf 100644 --

[PATCH 08/45] nouveau_drm.h: include stdint.h in userspace

2015-02-17 Thread Mikko Rapeli
Fixes compilation error: drm/nouveau_drm.h:41:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/nouveau_drm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h index 0d7608d..4baf95

[Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=93281 --- Comment #12 from Alex Jordan --- (In reply to Roland Scheidegger from comment #11) > 3) via grub-efi (looks like this is what you do?). Yeah, this is what I do. Apple EFI loads, loads GRUB by default (can't remember the exact magic incantatio

[Bug 89069] Lack of grass in The Talos Principle on radeonsi (native\wine\nine)

2015-02-17 Thread bugzilla-dae...@freedesktop.org
!= TGSI_PROCESSOR_COMPUTE && TGSI_PROCESSOR_FRAGMENT) { -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/201502

[Bug 89069] Lack of grass in The Talos Principle on radeonsi (native\wine\nine)

2015-02-17 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/8faa0d4e/attachment.html>

[Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=93281 --- Comment #13 from Roland Scheidegger --- (In reply to Alex Jordan from comment #12) > (In reply to Roland Scheidegger from comment #11) > > 3) via grub-efi (looks like this is what you do?). > > Yeah, this is what I do. Apple EFI loads, loads

Regression caused by "drm/radeon: Don't increment pipe_id in kgd_init_pipeline"

2015-02-17 Thread Michel Dänzer
On 16.02.2015 20:27, Oded Gabbay wrote: > > > On 02/13/2015 12:01 PM, Michel Dänzer wrote: >> >> Hi Oded, >> >> >> the commit in the subject (5aa3119eb5b67f6e90605be9ed2e04807126) >> somehow causes degraded CPU (!) performance on my Kaveri box. E.g. a >> piglit run takes about 15% longer, an

[Bug 89152] glBlitFramebuffer always "bad src/dst multisample pixel formats", when src fbo is multisample

2015-02-17 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/64019e58/attachment-0001.html>

[Bug 89059] Dota crashes constantly before 10min mark

2015-02-17 Thread bugzilla-dae...@freedesktop.org
L: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/3fe42994/attachment.html>

[Bug 89069] Lack of grass in The Talos Principle on radeonsi (native\wine\nine)

2015-02-17 Thread bugzilla-dae...@freedesktop.org
: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/9862e640/attachment.html>

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 Marco Krüger changed: What|Removed |Added CC||krgsch at gmail.com --- Comment #18 from

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #19 from Marco Krüger --- Created attachment 167251 --> https://bugzilla.kernel.org/attachment.cgi?id=167251&action=edit AMD Turks - lspci -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #20 from Marco Krüger --- Created attachment 167261 --> https://bugzilla.kernel.org/attachment.cgi?id=167261&action=edit AMD Turks - dmesg -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #21 from Marco Krüger --- Created attachment 167281 --> https://bugzilla.kernel.org/attachment.cgi?id=167281&action=edit AMD Turks - Xorg.log -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #22 from Marco Krüger --- Created attachment 167291 --> https://bugzilla.kernel.org/attachment.cgi?id=167291&action=edit AMD Turks - Xrandr -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #23 from Marco Krüger --- Created attachment 167301 --> https://bugzilla.kernel.org/attachment.cgi?id=167301&action=edit AMD Turks - VBIOS dump -- You are receiving this mail because: You are watching the assignee of the bug.

drm/exynos: DRM_EXYNOS7DECON?

2015-02-17 Thread Paul Bolle
Your commit 96976c3d9aff ("drm/exynos: Add DECON driver") is included in today's linux-next (ie, next-20150217). I noticed because a script I use to check linux-next spotted a problem with it. It added an (optional) dependency on DRM_EXYNOS7DECON instead of DRM_EXYNOS7_DECON (see

[Bug 88152] 720p and 1080 H.264 videos lock-up on playback with vlc / vdpau on Radeon 3850HD

2015-02-17 Thread bugzilla-dae...@freedesktop.org
or the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/51a02020/attachment.html>

[Bug 88464] booting with radeon.test=1 with radeon3850hd and lockdep validation causes lock-up

2015-02-17 Thread bugzilla-dae...@freedesktop.org
or the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/5608c7fb/attachment.html>

drm/exynos: DRM_EXYNOS7DECON?

2015-02-17 Thread Inki Dae
On 2015년 02월 17일 18:04, Paul Bolle wrote: > Your commit 96976c3d9aff ("drm/exynos: Add DECON driver") is included in > today's linux-next (ie, next-20150217). I noticed because a script I use > to check linux-next spotted a problem with it. > > It add

[Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test

2015-02-17 Thread bugzilla-dae...@freedesktop.org
me to write a stand-alone test case I guess. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/cef137db/attachment.html>

[PATCHv2 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-17 Thread Andrzej Hajda
Hi Sylvain, Few comments below. On 02/12/2015 09:49 PM, Sylvain Rochet wrote: > On suspend: switch off CRTC if not already suspended with runtime PM > > On resume: switch on CRTC if we were not already suspended from runtime > PM while suspending. > > Signed-off-by: Sylvain Rochet > --- > dri

[Bug 42960] Display does not work when resuming from suspend

2015-02-17 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/93e1d7d2/attachment.html>

[PATCH v2] drm/amdkfd: Initialize only amdkfd's assigned pipelines

2015-02-17 Thread Oded Gabbay
This patch fixes a bug in the initialization of the pipelines. The init_pipelines() function was called with a constant value of 0 in the first_pipe argument. This is an error because amdkfd doesn't handle pipe 0. The correct way is to pass the value that get_first_pipe() returns as the argument f

[PATCH] drm/amdkfd: don't set get_pipes_num() as inline

2015-02-17 Thread Oded Gabbay
get_pipes_num() calls BUG_ON so we can't set it as inline because it produces a warning as BUG_ON() uses static variables when it is expanded. Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 6 ++ drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h |

[PATCH RFC v9 01/20] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2015-02-17 Thread Sascha Hauer
On Mon, Feb 16, 2015 at 01:18:13PM +0200, Tomi Valkeinen wrote: > On 13/02/15 20:57, Sascha Hauer wrote: > > On Fri, Feb 13, 2015 at 04:35:36PM +0200, Tomi Valkeinen wrote: > >> On 12/02/15 15:41, Sascha Hauer wrote: > >> > >>> Tomis patch is based on the assumption that > >>> clk_set_rate(clk_rou

[Bug 89148] r300g: Kernel rejected CS in Wine d3d multisample test

2015-02-17 Thread bugzilla-dae...@freedesktop.org
oggling. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/225a68b6/attachment.html>

[Bug 89059] Dota crashes constantly before 10min mark

2015-02-17 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/132dd284/attachment.html>

[Bug 88152] 720p and 1080 H.264 videos lock-up on playback with vlc / vdpau on Radeon 3850HD

2015-02-17 Thread bugzilla-dae...@freedesktop.org
h, Christian. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/36ebf1c4/attachment-0001.html>

[PATCH 5/5] drm/irq: Don't call ->get_vblank_counter directly from irq_uninstall/cleanup

2015-02-17 Thread Imre Deak
On pe, 2015-02-13 at 21:03 +0100, Daniel Vetter wrote: > The pipe might already have been shut down, and then it's not a good > idea to call hw accessor functions. Instead use the same logic as > drm_vblank_off which has all the necessary checks to avoid troubles or > inconsistency. > > Noticed by

[Bug 87457] [Hawaii XT] 290x reclocking problems

2015-02-17 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/a4205c86/attachment.html>

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #24 from Marco Krüger --- Created attachment 167351 --> https://bugzilla.kernel.org/attachment.cgi?id=167351&action=edit AMD Turks - dmesg verbose (drm.debug=0xE) -- You are receiving this mail because: You are watching the assign

[Bug 42960] Display does not work when resuming from suspend

2015-02-17 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20150217/7d1c13ed/attachment.html>

[Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=93281 --- Comment #14 from Alex Deucher --- Macs apparently only make the vbios image available during the pre-OS EFI environment. Once the OS loads, the image is no longer available so the boot loader needs to grab it and stash it somewhere so that th

[PATCH libdrm] Add new drmGetNodeTypeFromFd function

2015-02-17 Thread Frank Binns
Hi Emil, On 13/02/15 16:38, Emil Velikov wrote: > Hi Frank, > On 13/02/15 10:51, Frank Binns wrote: >> Add a helper function that returns the type of device node from an fd. >> >> Signed-off-by: Frank Binns > Reviewed-by: Emil Velikov > > Thank you for getting rid of the silly file probing that

[Bug 89014] PIPE_QUERY_GPU_FINISHED is not acting as expected on SI

2015-02-17 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150217/c4d847f1/attachment-0001.html>

[PATCH] drm: Fix the CRTC_STEREO_DOUBLE_ONLY define to include stero modes

2015-02-17 Thread Matt Roper
On Mon, Feb 16, 2015 at 03:12:31PM +, Damien Lespiau wrote: > The CRTC_STEREO_DOUBLE_ONLY define was introduced in commit: > > commit ecb7e16bf187bc369cf6a5cd108582c01329980d > Author: Gustavo Padovan > Date: Mon Dec 1 15:40:09 2014 -0800 > > drm: add helper to get crtc timings

[Bug 62721] GPU lockup: radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec...

2015-02-17 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=62721 info at maciejgluszek.com changed: What|Removed |Added CC||info at maciejgluszek.com ---

[PATCH v5 00/11] Improvements to Tegra-based Chromebook support

2015-02-17 Thread Stephen Warren
On 02/12/2015 01:50 AM, Tomeu Vizoso wrote: > Hello, > > this series adds support for the Tegra-based HP Chromebook 14 (aka nyan > blaze), which is very similar to the Acer Chromebook 13 (aka nyan big). > Because they both include tegra124-nyan.dtsi, some improvements to Blaze > support have also b

[PATCH] drm/radeon: enable native backlight control on old macs

2015-02-17 Thread Alex Deucher
Commit b7bc596ebbe0cddc97d76ef9309f64471bbf13eb accidently broke backlight control on old mac laptops that use the on-GPU backlight controller. Reported by nathanhi on IRC. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_encoders.c | 3 +++ 1 file cha

[Bug 89196] Radeon GPU crashes at random times (GPU lockup)

2015-02-17 Thread bugzilla-dae...@freedesktop.org
p://lists.freedesktop.org/archives/dri-devel/attachments/20150217/c81f654b/attachment.html>

[PATCH] drm/radeon: enable native backlight control on old macs

2015-02-17 Thread Alex Deucher
On Tue, Feb 17, 2015 at 8:51 PM, Nathan-J. Hirschauer wrote: > On Tue, 17 Feb 2015, Alex Deucher wrote: >> Commit b7bc596ebbe0cddc97d76ef9309f64471bbf13eb accidently >> broke backlight control on old mac laptops that use the >> on-GPU backlight controller. >> >> Reported by nathanhi on IRC. >> >>

[KERNEL] Regression bug in drm/i915, Wrong assumption in commit e11aa36 breaks suspend on at least lenovo x61

2015-02-17 Thread Klaus Ethgen
Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150217/c2685322/attachment-0001.patch> -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 648 bytes Desc: Digital signatu

[PATCH] drm/exynos: Check for NULL dereference of crtc

2015-02-17 Thread Charles Keepax
The commit "drm/exynos: remove exynos_plane_dpms" (d9ea6256) removed the use of the enabled flag, which means that the code may attempt to call win_enable on a NULL crtc. This results in the following oops on Arndale: [1.673479] Unable to handle kernel NULL pointer dereference at virtual addr

[PATCH] Revert "drm/exynos: IOMMU support should not be selectable by user"

2015-02-17 Thread Charles Keepax
This reverts commit 8dcc14f82f06fce997e35f4c77ced9d4ed192f31. This patch causes this error on Arndale: [1.643800] kernel BUG at drivers/iommu/exynos-iommu.c:481! [1.649355] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM [1.655170] Modules linked in: [1.658203] CPU: 1 PID: 1 Co

[PATCH] drm/radeon: Fix regression with suspend/resume

2015-02-17 Thread Ross Zwisler
On Sat, 2015-02-14 at 06:25 +, Deucher, Alexander wrote: > > -Original Message- > > From: Ross Zwisler [mailto:ross.zwisler at linux.intel.com] > > Sent: Friday, February 13, 2015 10:55 PM > > To: Michel Dänzer > > Cc: linux-kernel at vger.kernel.org; dri-devel at lists.freedesktop.org

[PATCH] Revert "drm/exynos: IOMMU support should not be selectable by user"

2015-02-17 Thread Javier Martinez Canillas
Hello Charles, On Tue, Feb 17, 2015 at 5:58 PM, Charles Keepax wrote: > This reverts commit 8dcc14f82f06fce997e35f4c77ced9d4ed192f31. > > This patch causes this error on Arndale: IMHO the commit you are referring is correct so it should not be reverted but I also had the same error on different

[PATCH] Revert "drm/exynos: IOMMU support should not be selectable by user"

2015-02-17 Thread Charles Keepax
On Tue, Feb 17, 2015 at 09:18:28PM +0100, Javier Martinez Canillas wrote: > Hello Charles, > > On Tue, Feb 17, 2015 at 5:58 PM, Charles Keepax > wrote: > > This reverts commit 8dcc14f82f06fce997e35f4c77ced9d4ed192f31. > > > > This patch causes this error on Arndale: > > IMHO the commit you are r