diff options
author | Ian Romanick <[email protected]> | 2015-03-05 10:27:04 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-03-09 14:08:57 -0700 |
commit | 19fda9fc8336795b9898d3773b05549238b72bd0 (patch) | |
tree | 63a9655e2a9a970196872f183926e1080caeb7c8 /src/mesa/drivers/dri/i915/intel_screen.c | |
parent | 6d41316b79cf6d67bcbd155dfb6556e2977080d5 (diff) |
i915: Remove IS_9XX macro
Since the i915 / i965 split, IS_9XX just means IS_GEN3. Inspired by
Damien's recent libdrm changes.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Damien Lespiau <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 00d85805da0..77af328bfed 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -969,7 +969,7 @@ intelCreateContext(gl_api api, return false; } - if (IS_9XX(intelScreen->deviceID)) { + if (IS_GEN3(intelScreen->deviceID)) { success = i915CreateContext(api, mesaVis, driContextPriv, major_version, minor_version, flags, error, sharedContextPrivate); @@ -1177,7 +1177,7 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp) intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); - if (IS_9XX(intelScreen->deviceID)) { + if (IS_GEN3(intelScreen->deviceID)) { intelScreen->gen = 3; } else { intelScreen->gen = 2; |