[Intel-gfx] [PATCH 02/14] drm/i915: set ring->size in common ring setup code

Ben Widawsky ben at bwidawsk.net
Thu Apr 12 21:23:47 CEST 2012

On Wed, 11 Apr 2012 22:12:47 +0200
Daniel Vetter <daniel.vetter at ffwll.ch> wrote:

> Eventually we want to scale the ring size depending upon available
> gtt space. For now just consolidate this instead of replicating it
> over all ringbuffer templates.
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---

Definitely in the bikeshed category:
Why not just make it a macro and scrap the member in struct

More information about the Intel-gfx mailing list