On Wed, 11 Aug 2010 10:31:27 +0100 Chris Wilson <[email protected]> wrote:
> To simplify the IS_GEN[234] macros and to enable switching. > > Signed-off-by: Chris Wilson <[email protected]> > --- > drivers/gpu/drm/i915/i915_drv.c | 61 > ++++++++++++++++++--------------------- > drivers/gpu/drm/i915/i915_drv.h | 27 ++++------------- > 2 files changed, 34 insertions(+), 54 deletions(-) > Reviewed-by: Jesse Barnes <[email protected]> My only complaint about this patch is that our hardware isn't more uniform; for any given feature we may need to check the generation, something in VBT, whether it's a mobile chip, or the chip's specific ID. Really annoying but not really your fault. :) -- Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
