[Intel-gfx] [PATCH 1/2] drm/i915: add stepping macro

Chris Wilson chris at chris-wilson.co.uk
Wed May 21 20:50:53 CEST 2014


On Wed, May 21, 2014 at 11:42:25AM -0700, Jesse Barnes wrote:
> In some cases to enable or disable features & workarounds, we may need
> to check the GPU stepping.  Add a macro to do that based on caching the
> PCI revision ID reg.

What about just using dev->pdev->revision like we already do?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list