Re: [PATCH 14/27] drm/etnaviv: simplify submit_create

2017-12-01 Thread Philipp Zabel
On Fri, 2017-12-01 at 11:36 +0100, Lucas Stach wrote: > Use kzalloc so other code doesn't need to worry about uninitialized members. > Drop the non-standard GFP flags, as we really don't want to fail the submit > when under slight memory pressure. Remove one level of indentation by using > an early

[PATCH 14/27] drm/etnaviv: simplify submit_create

2017-12-01 Thread Lucas Stach
Use kzalloc so other code doesn't need to worry about uninitialized members. Drop the non-standard GFP flags, as we really don't want to fail the submit when under slight memory pressure. Remove one level of indentation by using an early return if the allocation failed. Also remove the unused drm d