[Nouveau] [PATCH REBASED 2/2] nouveau/bl: Do not register interface if Apple GMUX detected

2016-04-17 Thread Lukas Wunner
Hi, On Sun, Apr 17, 2016 at 09:57:42PM +0200, Pierre Moreau wrote: > The Apple GMUX is the one managing the backlight, so there is no need for > Nouveau to register its own backlight interface. > > Signed-off-by: Pierre Moreau > --- > drm/nouveau/nouveau_backlight.c | 7 +++ > 1 file change

[PATCH REBASED 2/2] nouveau/bl: Do not register interface if Apple GMUX detected

2016-04-17 Thread Pierre Moreau
The Apple GMUX is the one managing the backlight, so there is no need for Nouveau to register its own backlight interface. Signed-off-by: Pierre Moreau --- drm/nouveau/nouveau_backlight.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drm/nouveau/nouveau_backlight.c b/drm/nouveau/nou

[PATCH v2 1/2] nouveau/bl: Assign different names to interfaces

2016-04-17 Thread Pierre Moreau
Currently, every backlight interface created by Nouveau uses the same name, nv_backlight. This leads to a sysfs warning as it tries to create an already existing folder. This patch adds a incremented number to the name, but keeps the initial name as nv_backlight, to avoid possibly breaking userspac

[Bug 94984] XCom2 crashes with SIGSEGV on radeonsi

2016-04-17 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160417/dfa77fc5/attachment.html>

[Bug 94984] XCom2 crashes with SIGSEGV on radeonsi

2016-04-17 Thread bugzilla-dae...@freedesktop.org
(The game is 64bit so thats not the problem). -- 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/20160417/43c8b6f2/attachment.html>

[PATCH v3 0/7] drm/i2c: adv7511: ADV7533 support

2016-04-17 Thread Xinliang Liu
Hi Archit, Thank you for the patches. On 9 March 2016 at 18:57, Archit Taneja wrote: > ADV7533 is a DSI to HDMI encoder chip. It's like ADV7511, but with an > additional DSI RX block that takes in DSI video mode output. > > Trying to get this driver merged has had some challenges: > > - ADV7533 h

[PATCH 2/2 v2] drm/amd/powerplay/hwmgr: don't add invalid voltage

2016-04-17 Thread Moritz Kühner
if atomctrl_get_voltage_evv_on_sclk returns non zero (fail) in the expansion of the PP_ASSERT_WITH_CODE macro the continue will actually do nothing (The macro uses a do ... while(0) as scope, which eats the continue). Based on the code I don't think this was the intent. Unfortunately fixing this re

[PATCH 1/2 v2] drm/amd/powerplay/hwmgr: prevent VDDC from exceeding 2V

2016-04-17 Thread Moritz Kühner
If the tonga gpu is controlled by SVID2 tonga_get_evv_voltage will only print an error if the voltage exceeds 2V although a comment clearly states that it needs be less than 2V. v2: added signed of by Signed-off-by: Moritz Kühner --- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 3 +-- 1

[PATCH 0/2 v2] tonga_get_evv_voltage error handling fixes

2016-04-17 Thread Moritz Kühner
I got myself a 380X recently and started reading random mesa and kernel code in the hopes that I would find something that I can fix or improve, and something actually caught my eye. Some of the error handling in tonga_get_evv_voltage just seemed of and based on the comments I think the patches pro

[PATCH] hsakmt: allow building with gcc 4.x v2

2016-04-17 Thread Oded Gabbay
On Wed, Mar 30, 2016 at 2:12 AM, Bridgman, John wrote: > The hsakmt code requires C99 compiler support, however gcc 4.x > defaults to C89 (gcc 5 defaults to C11). v2 patch copies code > from libdrm, using AC_PROG_CC_C99 and checking success. > > v1 used AC_PROG_CC_STDC and did not check C99 was e

[Nouveau] [PATCH 1/2] nouveau/bl: Assign different names to interfaces

2016-04-17 Thread Pierre Moreau
__ > > Nouveau mailing list > > Nouveau at lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/nouveau -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160417/872a5f51/attachment.sig>

[Bug 94874] radeon: Failed to allocate virtual address for buffer

2016-04-17 Thread bugzilla-dae...@freedesktop.org
trace 01c303ed186e23a9 ]--- -- 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/20160417/0b439c48/attachment.html>

[PATCH v2] drm/msm: Use 64-bit timekeeping

2016-04-17 Thread Arnd Bergmann
On Wednesday 13 April 2016 02:52:14 Tina Ruchandani wrote: > ktime_t rem = ktime_sub(*timeout, now); > - struct timespec ts = ktime_to_timespec(rem); > - remaining_jiffies = timespec_to_jiffies(&ts); > + struc

[Y2038] [PATCH] drm/sti: Use 64-bit timestamps

2016-04-17 Thread Arnd Bergmann
On Wednesday 13 April 2016 02:28:02 Tina Ruchandani wrote: > 'struct timespec' uses a 32-bit field for seconds, which > will overflow in year 2038 and beyond. This patch is part > of a larger attempt to remove instances of timeval, timespec > and time_t, all of which suffer from the y2038 issue, fr