Re: [Intel-gfx] [PATCH 13/17] drm/i915: Intrduce better global state handling

2020-01-28 Thread Ville Syrjälä
On Tue, Jan 28, 2020 at 02:44:04PM +, Lisovskiy, Stanislav wrote: > On Mon, 2020-01-20 at 19:47 +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Our current global state handling is pretty ad-hoc. Let's try to > > make it better by imitating the standard drm core private object > >

Re: [Intel-gfx] [PATCH 13/17] drm/i915: Intrduce better global state handling

2020-01-28 Thread Lisovskiy, Stanislav
On Mon, 2020-01-20 at 19:47 +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Our current global state handling is pretty ad-hoc. Let's try to > make it better by imitating the standard drm core private object > approach. > > The reason why we don't want to directly use the private objects >

[Intel-gfx] [PATCH 13/17] drm/i915: Intrduce better global state handling

2020-01-20 Thread Ville Syrjala
From: Ville Syrjälä Our current global state handling is pretty ad-hoc. Let's try to make it better by imitating the standard drm core private object approach. The reason why we don't want to directly use the private objects is locking; Each private object has its own lock so if we introduce any