[Intel-gfx] [PATCH 3/3] drm/i915: Replace the feature tests for BLT/BSD with ring init checks

Chris Wilson chris at chris-wilson.co.uk
Fri May 11 22:24:06 CEST 2012


On Fri, 11 May 2012 12:58:14 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> On Fri, 11 May 2012 14:29:32 +0100
> Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > When userspace asks whether the driver supports the BLT or BSD rings for
> > this chip, simply report whether those particular rings are initialised
> > 
> 
> This was the one place where I felt HAS_BLT and HAS_BSD was sort of
> nice to keep around to distinguish HW has the ring vs. HW successfully
> initialized the rings.

The hw supporting those rings is useless if the driver doesn't, imo.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list