Re: [PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-09 Thread Daniel Vetter
On Sat, Jul 08, 2017 at 11:43:52PM +0200, Alexandru Moise wrote: > If the DRM core fails to init for whatever reason, ensure that > no driver ever calls drm_dev_register(). > > This is best done at drm_dev_init() as it covers drivers that call > drm_dev_alloc() as well as drivers that prefer to em

Re: [PATCH v5 22/22] drm/i915: Solve the GPU reset vs. modeset deadlocks with an rw_semaphore

2017-07-09 Thread Daniel Vetter
On Thu, Jul 06, 2017 at 11:24:42PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Introduce an rw_semaphore to protect the display commits. All normal > commits use down_read() and hence can proceed in parallel, but GPU reset > will use down_write() making sure no other com

Re: [PATCH v2] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Maxime Ripard
On Sun, Jul 09, 2017 at 11:11:07PM +0800, Chen-Yu Tsai wrote: > On Sun, Jul 9, 2017 at 3:59 PM, Jonathan Liu wrote: > > The drm_driver lastclose callback is called when the last userspace > > DRM client has closed. Call drm_fbdev_cma_restore_mode to restore > > the fbdev console otherwise the fbde

Re: [Intel-gfx] [PATCH v3 21/22] drm/atomic: Introduce drm_atomic_helper_duplicate_commited_state()

2017-07-09 Thread Daniel Vetter
On Fri, Jul 07, 2017 at 06:18:12PM +0300, Ville Syrjälä wrote: > On Fri, Jul 07, 2017 at 04:05:28PM +0200, Daniel Vetter wrote: > > On Fri, Jul 7, 2017 at 3:21 PM, Ville Syrjälä > > wrote: > > > On Fri, Jul 07, 2017 at 02:03:38PM +0200, Daniel Vetter wrote: > > >> On Thu, Jul 06, 2017 at 11:24:41P

[Bug 101731] System freeze with AMDGPU when playing The Witcher 3

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101731 --- Comment #3 from Philipp Überbacher --- Do you have any suggestion on how to get this trace within reasonable time? It usually just takes me a few seconds to trigger the bug. As it stands I get about two frames per minute, which means it wil

low mclock after some suspend cycles (was Re: Slower 3D with kernel 4.11.x)

2017-07-09 Thread Daniel Mota Leite
Hi again > > OK, no powerplay messages that time. Was performance back to what you > > expected ? > Yes, performance on 4.10.12 is what i call normal I was bisect the 4.11 kernel when 4.12 was released, and guess what? The problem is fixed in 4.12, i can get normal performance in vulkan

Re: [git pull] drm for v4.13

2017-07-09 Thread Linus Torvalds
On Sun, Jul 9, 2017 at 8:01 PM, Dave Airlie wrote: > > Forgot to add, because I just checked now, there are 2 conflicts, > the drm one with patches from Al, and one in i915_gem_execbuffer.c > which I think resolves best by just taking the code from the pull in place > of code in your tree. Heh. I

Re: [git pull] drm for v4.13

2017-07-09 Thread Dave Airlie
On 10 July 2017 at 10:43, Dave Airlie wrote: > Hi Linus, > > Sorry this is a bit late, I was on holidays start of last week and now > I've got a post holiday illness. > I had nearly all this ready pre holidays, just had one set of fixes > and a cleanup on top, but I hadn't > written the summary. >

[Bug 101731] System freeze with AMDGPU when playing The Witcher 3

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101731 --- Comment #2 from Clément Guérin --- Try doing an apitrace and post it here. Like this: > WINEPREFIX=/path/to/prefix apitrace trace wine witcher3.exe Then replaying the trace should hang your computer: > apitrace replay wine64-preloader.tra

[Bug 101733] GTA V on Wine: LLVM ERROR after loading screen

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101733 Bug ID: 101733 Summary: GTA V on Wine: LLVM ERROR after loading screen Product: Mesa Version: git Hardware: Other OS: Linux (All) Status: NEW Severity: n

[Bug 101732] Thames GPU - radeon 0000:01:00.0: failed to get a new IB (-35)

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101732 Bug ID: 101732 Summary: Thames GPU - radeon :01:00.0: failed to get a new IB (-35) Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (Al

Re: [PATCH v1 2/3] dt-bindings: display: panel: Add support for Orise Tech otm8009a dsi panel

2017-07-09 Thread Rob Herring
On Tue, Jul 04, 2017 at 06:30:04PM +0200, Philippe CORNU wrote: > The Orise Tech OTM8009A is a 3.97" 480x800 TFT LCD panel connected using > a MIPI-DSI video interface. Its backlight is managed through the DSI link. > > Signed-off-by: Philippe CORNU > --- > .../bindings/display/panel/orisetech,o

Re: [PATCH v1 1/3] dt-bindings: Add vendor prefix for Orise Technology

2017-07-09 Thread Rob Herring
On Tue, Jul 04, 2017 at 06:30:03PM +0200, Philippe CORNU wrote: > Orise Technology is headquartered in Taiwan and specializes > in manufacture of Flat Panel Display Driver IC and Flat Panel > Display Controller IC. > > Signed-off-by: Philippe CORNU > --- > Documentation/devicetree/bindings/vendo

Re: [PATCH v2] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Chen-Yu Tsai
On Sun, Jul 9, 2017 at 3:59 PM, Jonathan Liu wrote: > The drm_driver lastclose callback is called when the last userspace > DRM client has closed. Call drm_fbdev_cma_restore_mode to restore > the fbdev console otherwise the fbdev console will stop working. > > Signed-off-by: Jonathan Liu This sh

[PATCH] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Jonathan Liu
The drm_driver lastclose callback is called when the last userspace DRM client has closed. Call drm_fbdev_cma_restore_mode to restore the fbdev console otherwise the fbdev console will stop working. Signed-off-by: Jonathan Liu --- drivers/gpu/drm/sun4i/sun4i_drv.c | 8 1 file changed, 8

[PATCH] drm: inhibit drm drivers register to uninitialized drm core

2017-07-09 Thread Alexandru Moise
If the DRM core fails to init for whatever reason, ensure that no driver ever calls drm_dev_register(). This is best done at drm_dev_init() as it covers drivers that call drm_dev_alloc() as well as drivers that prefer to embed struct drm_device into their own device struct and call drm_dev_init()

[PATCH v2] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-09 Thread Jonathan Liu
The drm_driver lastclose callback is called when the last userspace DRM client has closed. Call drm_fbdev_cma_restore_mode to restore the fbdev console otherwise the fbdev console will stop working. Signed-off-by: Jonathan Liu --- Changes for v2: - Rename sun4i_drm_lastclose to sun4i_drv_lastclo

Re: printk: Should console related code avoid __GFP_DIRECT_RECLAIM memory allocations?

2017-07-09 Thread Tetsuo Handa
Sergey Senozhatsky wrote: > On (07/06/17 19:28), Tetsuo Handa wrote: > > Pressing SysRq-c caused all locks to be released (doesn't it ?), and console > > hm, I think what happened is a bit different thing. sysrq-c didn't > unlock any of the locks. I suspect that ->bo_mutex is never taken > on the

Re: [Intel-gfx] [PATCH 08/15] drm: set output colorspace in AVI infoframe

2017-07-09 Thread kbuild test robot
-2-0-handling-in-DRM-layer/20170709-152927 base: git://people.freedesktop.org/~airlied/linux.git drm-next reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) ar

[Bug 93826] 2560x1440 @144Hz graphic glitches and bad refresh rate

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93826 --- Comment #75 from Emma Stott --- (In reply to kees.aarts1 from comment #74) > I have come here since my first git bisect learned me that commit > 09be4a5219610a6fae3215d4f51f948d6f5d2609 causes problems on my system. I > have a RX 460 and LG 3

[Bug 101731] System freeze with AMDGPU when playing The Witcher 3

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101731 --- Comment #1 from Philipp Überbacher --- Created attachment 132576 --> https://bugs.freedesktop.org/attachment.cgi?id=132576&action=edit glxinfo output -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 101731] System freeze with AMDGPU when playing The Witcher 3

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101731 Bug ID: 101731 Summary: System freeze with AMDGPU when playing The Witcher 3 Product: Mesa Version: 17.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 93341] Semi-random GPU lockups on radeonsi with a RadeonHD 7770 (when playing videos, running OpenGL games, WebGL apps, or after extended periods of time)

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93341 --- Comment #28 from Jean-François Fortin Tam --- Hi Julien, sorry I missed the mail notification in the pile. To answer your question: > About your comment #26, do you get similar logs than those attached ? > i.e. ring N stalled then gpu softre

[Bug 100443] DMESG: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100443 --- Comment #12 from taij...@posteo.de --- (In reply to Christian Lanig from comment #11) > Created attachment 132574 [details] > Another dmesg log with kernel 4.12 > > Neither "suspend of IP block failed" nor "failed to send pre > message 62 r

[Bug 100443] DMESG: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100443 Christian Lanig changed: What|Removed |Added Attachment #130551|0 |1 is obsolete|

[Bug 96906] OpenCL program causes steady stream of GPU fault detected errors

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96906 EoD changed: What|Removed |Added CC||e...@xmw.de --- Comment #7 from EoD --- I don't t

[Bug 100443] DMESG: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!

2017-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100443 taij...@posteo.de changed: What|Removed |Added Attachment #131372|0 |1 is obsolete|