diff options
author | Yang Rong <rong.r.yang@intel.com> | 2015-01-29 16:16:17 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-01-30 11:34:16 +0800 |
commit | a13066aedfbc439ccdc1f31942623a8f3c83f988 (patch) | |
tree | e6fec9bcc3489cf5a66b6985d8b72829c3802c7d /src/intel/intel_driver.c | |
parent | c00ba9b55b01025429e1dbbb7a6f208a7891f8dd (diff) |
SKL: enable skl device.
Add the intel_gpgpu_set_base_address_gen9 for SKL, the other functions are same as BDW in intel_GPGPU.
And the SKL's backend just same as BDW. Should derive from GEN8 later.
With this commit, some utests pass.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: He Junyan <Junyan.he@inbox.com>
Diffstat (limited to 'src/intel/intel_driver.c')
-rw-r--r-- | src/intel/intel_driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c index 21546d98..9e989b6f 100644 --- a/src/intel/intel_driver.c +++ b/src/intel/intel_driver.c @@ -170,7 +170,9 @@ intel_driver_init(intel_driver_t *driver, int dev_fd) else FATAL ("Unsupported Gen for emulation"); #else - if (IS_GEN8(driver->device_id)) + if (IS_GEN9(driver->device_id)) + driver->gen_ver = 9; + else if (IS_GEN8(driver->device_id)) driver->gen_ver = 8; else if (IS_GEN75(driver->device_id)) driver->gen_ver = 75; |