[BUG] radeon DisplayPort hotplug - dmesg warning, monitor not waking

2016-12-27 Thread John Brooks
What I'm using: - R9 290 - Kernel 4.9.0 - ASUS PB278Q monitor, connected with DisplayPort - OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.1.0-devel (git-d9fef84) - radeon DDX 7.8.99 (Git) For as long as I remember I've had a couple of issues with DisplayPort on the above setup.

[PATCH] drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS

2016-12-27 Thread Jarkko Nikula
Add module alias for Sony ACX565AKM LCD panel. This makes it probe on Nokia N900 when panel driver is built as a module. Signed-off-by: Jarkko Nikula --- This is on top of linux-next next-20161224. --- drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 1 + 1 file changed, 1 insertion(+)

[Bug 191291] New: [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

2016-12-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=191291 Bug ID: 191291 Summary: [amdgpu] mouse cursor disappearing on X11 (KDE Plasma) Product: Drivers Version: 2.5 Kernel Version: 4.10-rc1 Hardware: All OS: Linux

[Bug 191281] [drm:amdgpu_ib_ring_tests] *ERROR* amdgpu: failed testing IB on ring 12 (-110)

2016-12-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=191281 --- Comment #1 from Johannes Hirte --- Created attachment 248741 --> https://bugzilla.kernel.org/attachment.cgi?id=248741&action=edit full dmesg output -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 191281] New: [drm:amdgpu_ib_ring_tests] *ERROR* amdgpu: failed testing IB on ring 12 (-110)

2016-12-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=191281 Bug ID: 191281 Summary: [drm:amdgpu_ib_ring_tests] *ERROR* amdgpu: failed testing IB on ring 12 (-110) Product: Drivers Version: 2.5 Kernel Version: 4.10-rc1 Hardware:

[drm-intel:drm-intel-nightly 341/365] drivers/gpu/drm//selftests/test-drm_mm.c:58:1: fatal error: opening dependency file drivers/gpu/drm//selftests/.test-drm_mm.o.d: No such file or directory

2016-12-27 Thread Daniel Vetter
On Wed, Dec 28, 2016 at 12:57:07AM +0800, kbuild test robot wrote: > tree: git://anongit.freedesktop.org/drm-intel drm-intel-nightly > head: 0d15e733fab5dd48154dda2bebdacd1d87069d08 > commit: 50f0033d1a0f3a8e9eed09ab68067fbb57b0669d [341/365] drm: Add some > kselftests for the DRM range manage

[Intel-gfx] [RFC PATCH 0/7] drm: facilitate driver unification around edid read and override

2016-12-27 Thread Daniel Vetter
On Tue, Dec 27, 2016 at 06:21:47PM +0200, Jani Nikula wrote: > Hi all - > > This series aims at three goals: > > 1) Most drivers do similar things around drm_get_edid (namely convert > edid to eld, add modes, and update edid blob property). Add a helper for > the drivers, to reduce code and unify

[RFC PATCH 6/7] drm: add new drm_mode_connector_get_edid to do drm_get_edid and friends

2016-12-27 Thread Daniel Vetter
On Tue, Dec 27, 2016 at 06:21:53PM +0200, Jani Nikula wrote: > Add a replacement for drm_get_edid that handles override and firmware > EDID at the low level, and handles EDID property update, ELD update, and > adds modes. This allows for a more transparent EDID override, and makes > it possible to

HDMI Audio screwed up w/ recent kernels

2016-12-27 Thread Daniel Vetter
On Tue, Dec 27, 2016 at 12:17:43PM -0500, James Cloos wrote: > > "DV" == Daniel Vetter writes: > > DV> amdgpu doesn't yet support hdmi audio. > > Then why does it support the amdgpu.audio command line option, and why > does booting an amdgpu kernel with amdgpu.audio=1 sound the same as > boo

HDMI Audio screwed up w/ recent kernels

2016-12-27 Thread Bridgman, John
t part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161227/4e5244e2/attachment.html>

[RFC PATCH 7/7] drm/i915: replace intel_ddc_get_modes with drm_mode_connector_get_edid

2016-12-27 Thread Jani Nikula
Don't do caching for now to minimize changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/intel_drv.h | 1 - drivers/gpu/drm/i915/intel_dvo.c | 5 +++-- drivers/gpu/drm/i915/intel_modes.c | 23 --- drivers/gpu/drm/i915/intel_sdvo.c | 2 +- 4 files changed, 4 i

[RFC PATCH 6/7] drm: add new drm_mode_connector_get_edid to do drm_get_edid and friends

2016-12-27 Thread Jani Nikula
Add a replacement for drm_get_edid that handles override and firmware EDID at the low level, and handles EDID property update, ELD update, and adds modes. This allows for a more transparent EDID override, and makes it possible to unify the drivers better. It also allows reusing the EDID cached in t

[RFC PATCH 5/7] drm: make drm_get_displayid() available outside of drm_edid.c

2016-12-27 Thread Jani Nikula
Will be needed in followup work. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_edid.c | 7 ++- include/drm/drm_edid.h | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index fead6622e4b5..56c5065bb314 100644

[RFC PATCH 4/7] drm: export load edid firmware

2016-12-27 Thread Jani Nikula
Will be needed in drm in followup work. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_edid_load.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_edid_load.c b/drivers/gpu/drm/drm_edid_load.c index 1c0495acf341..7857864f7878 100644 --- a/drivers/gpu/drm/drm_edid_load

[RFC PATCH 3/7] drm: abstract override and firmware edid

2016-12-27 Thread Jani Nikula
The functional change is that if firmware edid is present, it'll still bypass get_modes even if number of modes is 0. This is in line with override edid handling. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_probe_helper.c | 44 -- 1 file changed, 28 ins

[RFC PATCH 2/7] drm: move edid property update and add modes out of edid firmware loader

2016-12-27 Thread Jani Nikula
Make the firmware loader more generic and generally useful. In particular, make it possible for the caller to distinguish between firmware being there but without modes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_edid_load.c| 17 - drivers/gpu/drm/drm_probe_helper.c |

[RFC PATCH 1/7] drm: reset ELD if NULL edid is passed to drm_edid_to_eld

2016-12-27 Thread Jani Nikula
Make the function useful for resetting the ELD. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 67d6a73731d8..fead6622e4b5 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/

[RFC PATCH 0/7] drm: facilitate driver unification around edid read and override

2016-12-27 Thread Jani Nikula
Hi all - This series aims at three goals: 1) Most drivers do similar things around drm_get_edid (namely convert edid to eld, add modes, and update edid blob property). Add a helper for the drivers, to reduce code and unify. 2) Move override and firmware EDID handling to a lower level, in the hel

[PATCH v2 2/2] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2016-12-27 Thread Hoegeun Kwon
From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 33 +++

[PATCH v2 1/2] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2016-12-27 Thread Hoegeun Kwon
This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel in the TM2 device. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon --- Changes for V2: - Fixed the samsung,s6e3ha2.txt DT d

[PATCH v2 0/2] Add support for the S6E3HA2 panel on TM2 board

2016-12-27 Thread Hoegeun Kwon
Purpose of this patch is add support for S6E3HA2 AMOLED panel on the TM2 board. The first patch adds support for S6E3HA2 panel device tree document and driver, the second patch add support for S6E3HA2 panel device tree. Changes for V2: - Fixed the samsung,s6e3ha2.txt DT document. - Added active

[Bug 141741] drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM

2016-12-27 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=141741 Bjorn Helgaas changed: What|Removed |Added CC||bhelgaas at google.com --- Comment #23 f

[PATCH v4 26/38] drm: Extract struct drm_mm_scan from struct drm_mm

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:29AM +, Chris Wilson wrote: > The scan state occupies a large proportion of the struct drm_mm and is > rarely used and only contains temporary state. That makes it suitable to > moving to its struct and onto the stack of the callers. > > Signed-off-by: Chris Wilso

[Bug 66963] Rv6xx dpm problems

2016-12-27 Thread bugzilla-dae...@freedesktop.org
ives/dri-devel/attachments/20161227/ac42a28c/attachment.html>

[Bug 98520] System randomly crashes / freezes while playing certain games

2016-12-27 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161227/05ea1b0c/attachment.html>

[PATCH v4 25/38] drm: Add asserts to catch overflow in drm_mm_init() and drm_mm_init_scan()

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:28AM +, Chris Wilson wrote: > A simple assert to ensure that we don't overflow start + size when > initialising the drm_mm, or its scanner. > > In future, we may want to switch to tracking the value of ranges (rather > than size) so that we can cover the full u64,

[PATCH v4 20/38] drm/i915: Build DRM range manager selftests for CI

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:23AM +, Chris Wilson wrote: > Build the struct drm_mm selftests so that we can trivially run them > within our CI. > > "Enable debug, become developer." - Joonas Lahtinen > > Signed-off-by: Chris Wilson > Reviewed-by: Joonas Lahtinen Again leaving this one for

[PATCH v3 12/13] drm: rcar-du: Replace manual bridge implementation with DRM bridge

2016-12-27 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Nov 29, 2016 at 10:04 AM, Laurent Pinchart wrote: > The rcar-du driver contains a manual implementation of HDMI and VGA > bridges. Use DRM bridges to replace it. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/Kconfig | 6 -- > drivers/gpu/drm

[PATCH] drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT

2016-12-27 Thread Jani Nikula
On Sun, 25 Dec 2016, Hans de Goede wrote: > If there is no OPREGION_ASLE_EXT then a VBT stored in mailbox #4 may > use the ASLE_EXT parts of the opregion. Adjust the vbt_size calculation > for a vbt in mailbox #4 for this. > > This fixes the driver not finding the VBT on a jumper ezpad mini3 > che

[PATCH v2 1/2] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2016-12-27 Thread Andrzej Hajda
Hi Hoegeun Kwon, Thanks for the patch. On 27.12.2016 10:05, Hoegeun Kwon wrote: > This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel > driver. This panel has 1440x2560 resolution in 5.7-inch physical > panel in the TM2 device. > > Signed-off-by: Donghwa Lee > Signed-off-by: Hyungwon

[Intel-gfx] [PATCH v4 06/38] drm: Add some kselftests for the DRM range manager (struct drm_mm)

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:09AM +, Chris Wilson wrote: > First we introduce a smattering of infrastructure for writing selftests. > The idea is that we have a test module that exercises a particular > portion of the exported API, and that module provides a set of tests > that can either be r

[PATCH v4 05/38] drm: Add a simple generator of random permutations

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:08AM +, Chris Wilson wrote: > When testing, we want a random but yet reproducible order in which to > process elements. Here we create an array which is a random (using the > Tausworthe PRNG) permutation of the order in which to execute. > > Note these are simple

[Intel-gfx] [PATCH v10] lib: Add a simple prime number generator

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 02:45:14PM +, Chris Wilson wrote: > Prime numbers are interesting for testing components that use multiplies > and divides, such as testing DRM's struct drm_mm alignment computations. > > v2: Move to lib/, add selftest > v3: Fix initial constants (exclude 0/1 from being

[Intel-gfx] [PATCH v4 01/38] drm/i915: Use the MRU stack search after evicting

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 08:36:04AM +, Chris Wilson wrote: > When we evict from the GTT to make room for an object, the hole we > create is put onto the MRU stack inside the drm_mm range manager. On the > next search pass, we can speed up a PIN_HIGH allocation by referencing > that stack for the

HDMI Audio screwed up w/ recent kernels

2016-12-27 Thread James Cloos
> "DV" == Daniel Vetter writes: DV> amdgpu doesn't yet support hdmi audio. Then why does it support the amdgpu.audio command line option, and why does booting an amdgpu kernel with amdgpu.audio=1 sound the same as booting a radeon kernel w/ radeon.audio=1? In linux/drivers/gpu/drm/amd/amdgp

[PATCH 5/5] drm/tegra: Stop using drm_framebuffer_unregister_private

2016-12-27 Thread Daniel Vetter
This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But tegra is using drm_framebuffer_remove and a free-standing fb, so this is rendundant. One caveat here is that the failur path in the init code still manually cleaned up the fb. I pre

[PATCH 4/5] drm/omap: Stop using drm_framebuffer_unregister_private

2016-12-27 Thread Daniel Vetter
This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But omapdrm is using drm_framebuffer_remove and a free-standing fb, so this is rendundant. Cc: Tomi Valkeinen Signed-off-by: Daniel Vetter --- drivers/gpu/drm/omapdrm/omap_fbdev.c |

[PATCH 3/5] drm/exynos: Stop using drm_framebuffer_unregister_private

2016-12-27 Thread Daniel Vetter
This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But exynos is using drm_framebuffer_remove and a free-standing fb, so this is rendundant. Cc: Inki Dae Cc: Joonyoung Shim Signed-off-by: Daniel Vetter --- drivers/gpu/drm/exynos/exy

[PATCH 2/5] drm/cma-helper: Stop using drm_framebuffer_unregister_private

2016-12-27 Thread Daniel Vetter
This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But cma helpers are using drm_framebuffer_remove and a free-standing fb, so this is rendundant. Cc: Laurent Pinchart Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_fb_cma_helpe

[PATCH 1/5] drm/msm: Stop using drm_framebuffer_unregister_private

2016-12-27 Thread Daniel Vetter
This is the deprecated function for when you embedded the framebuffer somewhere else (which breaks refcounting). But msm is using drm_framebuffer_remove and a free-standing fb, so this is rendundant. Cc: Rob Clark Signed-off-by: Daniel Vetter --- drivers/gpu/drm/msm/msm_fbdev.c | 5 + 1 fil

[Bug 99138] Xorg can't be restarted gracefully running CEDAR graphics card

2016-12-27 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161227/92ed1148/attachment.html>

[PATCH v3 2/2] drm: Get atomic property value even if DRIVER_ATOMIC is not set

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 12:50:43AM -0800, Dhinakaran Pandiyan wrote: > i915 does not set DRIVER_ATOMIC by default yet but uses atomic_check and > atomic_commit. drm_object_property_get_value() does not read the correct > value of atomic properties if DRIVER_ATOMIC is not set. Checking whether > the

[PATCH] drm/mm: Document locking rules

2016-12-27 Thread Daniel Vetter
Drivers need to take care. Motivated by a discussion between Mark and Rob on dri-devel. Cc: Mark yao Cc: Rob Clark Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index ca1e34

[igvt-g-dev] [PATCH 1/1] drm/i915/gvt: verify functions types in new_mmio_info()

2016-12-27 Thread Zhenyu Wang
chnology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 163 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161227/df1892f3/attachment.sig>

[PATCH v4 1/2] drm: Wrap the check for atomic_commit implementation

2016-12-27 Thread Daniel Vetter
On Fri, Dec 23, 2016 at 02:14:00PM -0800, Dhinakaran Pandiyan wrote: > This check is useful for drivers that do not have DRIVER_ATOMIC set but > have atomic modesetting internally implemented. Wrap the check into a > function since this is used in many places and as a bonus, the function > name hel

HDMI Audio screwed up w/ recent kernels

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 07:49:57PM -0500, James Cloos wrote: > I haven't paid as close attention to Xorg issues sine the stroke last > year, and I hadn't needed to reboot the box in the living room in > several months. > > When I did need to, I found that hdmi audio was unlistenable. It > sounded

[Intel-gfx] [PATCH v3 1/2] drm: Wrap the check for atomic_commit implementation

2016-12-27 Thread Daniel Vetter
On Fri, Dec 23, 2016 at 12:29:11AM +0800, kbuild test robot wrote: > Hi Dhinakaran, > > [auto build test ERROR on drm/drm-next] > [also build test ERROR on next-20161222] > [cannot apply to v4.9] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system

[Intel-gfx] [PATCH v3 3/3] drm: clean cached display info

2016-12-27 Thread Daniel Vetter
On Thu, Dec 22, 2016 at 10:21:25AM +, Jose Abreu wrote: > Hi Shashank, > > > On 21-12-2016 15:29, Shashank Sharma wrote: > > This patch adds a small helper function, which clears the cached > > information about a hot-pluggable display, from connector. On event > > This will run on event of a

[PATCH] drm/mm: Document locking rules

2016-12-27 Thread Daniel Vetter
Drivers need to take care. Motivated by a discussion between Mark and Rob on dri-devel. Cc: Mark yao Cc: Rob Clark Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_mm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index ca1e34

[Bug 98520] System randomly crashes / freezes while playing certain games

2016-12-27 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161227/9e5ba888/attachment.html>