[Nouveau] [PATCH] drm/nouveau: fix memory leak in nouveau_conn_reset()

2019-06-30 Thread Yongxin Liu
In nouveau_conn_reset(), if connector->state is true, __drm_atomic_helper_connector_destroy_state() will be called, but the memory pointed by asyc isn't freed. Memory leak happens in the following function __drm_atomic_helper_connector_reset(), where newly allocated asyc->state will be assigned to

Re: [Nouveau] nouveau: DRM: GPU lockup - switching to software fbcon

2019-06-30 Thread Sergey Senozhatsky
On (06/19/19 02:07), Ilia Mirkin wrote: > If all else fails, just remove nouveau_dri.so and/or boot with > nouveau.noaccel=1 -- should be perfect. nouveau.noaccel=1 did the trick. Is there any other, let's say less CPU-intensive, way to fix nouveau? -ss

Re: [Nouveau] Question on Conditional Rendering Maxwell/Pascal

2019-06-30 Thread Ilia Mirkin
Yeah, this is a little confusing. It's important to remember how queries work in the first place, which informs how conditional rendering works. There are two kind of queries (QUERY_ADDRESS_HIGH & co) -- "short" and "long". A "short" query value is a single 32-bit value, presumably the value of

[Nouveau] Question on Conditional Rendering Maxwell/Pascal

2019-06-30 Thread Fernando Sahmkow
So we are currently doing tests and complying with them in our Emulator. Currently the conditional rendering test does not pass (no wonder we not even implement it). I've been looking at the current documentation https://github.com/envytools/envytools/blob/master/rnndb/graph/gf100_3d.xml#L796 So