diff options
author | Eric Anholt <[email protected]> | 2013-06-20 15:07:18 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-06-28 13:35:24 -0700 |
commit | c25e3c34d6d89577623af64dd4cdb75bd47a1533 (patch) | |
tree | 22f476dd23acc06fec425463e98088d0f529c33e /src/mesa/drivers/dri/i915/intel_screen.c | |
parent | 014251ef42e296bb9ed43f2a9fc00752fbf4450e (diff) |
i915: Drop chipset detection code for 965+ chipsets.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index a0ec7927540..cd4706cd69b 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -1157,15 +1157,7 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp) intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); - if (IS_GEN7(intelScreen->deviceID)) { - intelScreen->gen = 7; - } else if (IS_GEN6(intelScreen->deviceID)) { - intelScreen->gen = 6; - } else if (IS_GEN5(intelScreen->deviceID)) { - intelScreen->gen = 5; - } else if (IS_965(intelScreen->deviceID)) { - intelScreen->gen = 4; - } else if (IS_9XX(intelScreen->deviceID)) { + if (IS_9XX(intelScreen->deviceID)) { intelScreen->gen = 3; } else { intelScreen->gen = 2; |