Re: [Nouveau] [PATCH] instmem/gk20a: exclusively acquire instobjs

2015-11-04 Thread Ben Skeggs
On 10/26/2015 03:54 PM, Alexandre Courbot wrote: > Although I would not have expected this to happen, we seem to run into > race conditions if instobjs are accessed concurrently. Use a global lock > for safety. I wouldn't expect this to be an issue either. Before merging such a large hammer of a

Re: [Nouveau] [PATCH] instmem/gk20a: exclusively acquire instobjs

2015-11-04 Thread Alexandre Courbot
On Thu, Nov 5, 2015 at 6:19 AM, Ben Skeggs wrote: > On 10/26/2015 03:54 PM, Alexandre Courbot wrote: >> Although I would not have expected this to happen, we seem to run into >> race conditions if instobjs are accessed concurrently. Use a global lock >> for safety. > I wouldn't

[Nouveau] [PATCH] nvkm: add/remove 0's to make 7 (or 9)-nibble constants use 8 nibbles

2015-11-04 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- drm/nouveau/nvkm/engine/gr/ctxgk20a.c | 2 +- drm/nouveau/nvkm/subdev/fb/ramgk104.c | 8 drm/nouveau/nvkm/subdev/therm/nv40.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [Nouveau] HDMI pixel clock limits

2015-11-04 Thread Ilia Mirkin
In the meanwhile we're pushing out a change that just blanket allows 225MHz on Fermi and 297MHz on Kepler, with a kernel option override available. At least one GF106 user claims to have working 297MHz with proprietary drivers (and with nouveau in presence of the patches):

Re: [Nouveau] NOUVEAU(0): DRI3 on EXA enabled

2015-11-04 Thread poma
On 04.11.2015 11:57, Martin Peres wrote: > On 02/11/15 08:28, poma wrote: >> An interesting results. >> >> DRI2: >> >> $ vblank_mode=0 glxgears >> ATTENTION: default value of option vblank_mode overridden by environment. >> 6321 frames in 5.0 seconds = 1264.103 FPS >> 6380 frames in 5.0 seconds =

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Ilia Mirkin
On Wed, Nov 4, 2015 at 3:38 AM, C Bergström wrote: > To bring this conversation back on track - where would someone start > *exactly* to port this to another OS? What kernel dependencies are > there? drivers/gpu/drm/nouveau/{nvkm,nvif,usif} can be dropped in wholesale

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Martin Peres
On 04/11/15 10:38, C Bergström wrote: On Wed, Nov 4, 2015 at 3:33 PM, Martin Peres wrote: On 04/11/15 09:08, cbergst...@pathscale.com wrote: Is anyone actually and or actively working on this? Github.com/pathscale/pscnv is totally bitrot but waaay more portable base.

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread C Bergström
On Wed, Nov 4, 2015 at 3:33 PM, Martin Peres wrote: > On 04/11/15 09:08, cbergst...@pathscale.com wrote: > > Is anyone actually and or actively working on this? > Github.com/pathscale/pscnv is totally bitrot but waaay more portable base. > Nouveau made hard Linux assumptions

[Nouveau] [Bug 70354] [NVE6, NVE7] HUB_INIT timeout on graph init, blob fw doesn't help

2015-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70354 --- Comment #88 from Julien Isorce --- (In reply to Ilia Mirkin from comment #87) > (In reply to Julien Isorce from comment #86) > > I only tested with patch+workaround, but maybe "patch" is enough. I can try > > to

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Martin Peres
On 04/11/15 09:08, cbergst...@pathscale.com wrote: Is anyone actually and or actively working on this? Github.com/pathscale/pscnv is totally bitrot but waaay more portable base. Nouveau made hard Linux assumptions that will be difficult to overcome afaik. As pointed out by Ilia, this is not

[Nouveau] [Bug 92307] G98/GM206: WARNING: ... at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x8a/0x90 [drm_kms_helper]()

2015-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92307 --- Comment #8 from poma --- (In reply to poma from comment #7) > FTR procedure: > > $ uname -r > 4.3.0-0.rc6.git2.1.fc24.x86_64 > > $ git clone git://people.freedesktop.org/~darktama/nouveau > $ cd nouveau/drm/ > $

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Pierre Moreau
Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about porting it at XDC 2014, no idea what the current status is. Pierre PS: Looking at François' slides from this year XDC, it seems there isn't

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Martin Peres
On 04/11/15 11:58, Pierre Moreau wrote: Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about porting it at XDC 2014, no idea what the current status is. From what they said, they never really

Re: [Nouveau] NOUVEAU(0): DRI3 on EXA enabled

2015-11-04 Thread Martin Peres
On 02/11/15 08:28, poma wrote: An interesting results. DRI2: $ vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. 6321 frames in 5.0 seconds = 1264.103 FPS 6380 frames in 5.0 seconds = 1275.943 FPS 6369 frames in 5.0 seconds = 1273.629 FPS 6377

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Jean-Sébastien Pédron
On 04.11.2015 11:56, Martin Peres wrote: > From what they said, they never really cared about nvidia because nvidia > provides a binary driver that works, unlike intel and amd. They provide a binary driver for FreeBSD only. DragonFly and other BSDs don't have that luxury. -- Jean-Sébastien

Re: [Nouveau] Nouveau for FreeBSD

2015-11-04 Thread Jean-Sébastien Pédron
On 04.11.2015 10:58, Pierre Moreau wrote: > Wasn't there some work being done by François Tigeot or Jean-Sébastien Pédron > to port Nouveau to DragonFlyBSD/FreeBSD? Or at least they were talking about > porting it > at XDC 2014, no idea what the current status is. > > Pierre > > PS: Looking at