Re: [Intel-gfx] [PATCH] drm/i915: Tidy execlists_init_reg_state

2017-02-21 Thread Chris Wilson
On Tue, Feb 21, 2017 at 09:58:39AM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Compact the name of the macro and reg_state variable, and cache > some data in local variables to make the function more compact > and more readable. > > Signed-off-by: Tvrtko Ursulin > --- > Not that val

[Intel-gfx] [PATCH] drm/i915: Tidy execlists_init_reg_state

2017-02-21 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Compact the name of the macro and reg_state variable, and cache some data in local variables to make the function more compact and more readable. Signed-off-by: Tvrtko Ursulin --- Not that valuable but those ",0);" in new lines are a bit of an eyesore so I thought we could