Re: [PATCH] drm/nouveau: init the base GEM fields for internal BOs

2021-06-10 Thread Huang Rui
On Thu, Jun 10, 2021 at 04:08:40PM +0800, Koenig, Christian wrote: > > > Am 09.06.21 um 19:45 schrieb Mikko Perttunen: > > On 6/9/21 8:29 PM, Christian König wrote: > >> TTMs buffer objects are based on GEM objects for quite a while > >> and rely on initializing those fields before initializing

Re: [PATCH] drm/nouveau: init the base GEM fields for internal BOs

2021-06-10 Thread Matthew Auld
On Wed, 9 Jun 2021 at 18:29, Christian König wrote: > > TTMs buffer objects are based on GEM objects for quite a while > and rely on initializing those fields before initializing the TTM BO. > > Noveau now doesn't init the GEM object for internally allocated BOs, > so make sure that we at least

Re: [PATCH] drm/nouveau: init the base GEM fields for internal BOs

2021-06-10 Thread Christian König
Am 09.06.21 um 19:45 schrieb Mikko Perttunen: On 6/9/21 8:29 PM, Christian König wrote: TTMs buffer objects are based on GEM objects for quite a while and rely on initializing those fields before initializing the TTM BO. Noveau now doesn't init the GEM object for internally allocated BOs,

Re: [PATCH] drm/nouveau: init the base GEM fields for internal BOs

2021-06-09 Thread Mikko Perttunen
On 6/9/21 8:29 PM, Christian König wrote: TTMs buffer objects are based on GEM objects for quite a while and rely on initializing those fields before initializing the TTM BO. Noveau now doesn't init the GEM object for internally allocated BOs, Nouveau so make sure that we at least

[PATCH] drm/nouveau: init the base GEM fields for internal BOs

2021-06-09 Thread Christian König
TTMs buffer objects are based on GEM objects for quite a while and rely on initializing those fields before initializing the TTM BO. Noveau now doesn't init the GEM object for internally allocated BOs, so make sure that we at least initialize some necessary fields. Signed-off-by: Christian König