diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2013-02-13 16:09:33 +0000 |
---|---|---|
committer | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-11-07 17:07:32 -0800 |
commit | 5b348f3ac0069485ecd86ee30483646fad4b01cc (patch) | |
tree | 83a09e911874b64da9e5c49cdea10115e15de0af /intel | |
parent | 6ea20a0fe2f3ede1c89176db0aa447b9758fefd1 (diff) |
intel/bdw: Handle gen8 bufmgr_init
[bwidawsk: Added Damien's SOB]
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'intel')
-rw-r--r-- | intel/intel_bufmgr_gem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 278f5c87..32a226c3 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -3124,6 +3124,8 @@ drm_intel_bufmgr_gem_init(int fd, int batch_size) bufmgr_gem->gen = 6; else if (IS_GEN7(bufmgr_gem->pci_device)) bufmgr_gem->gen = 7; + else if (IS_GEN8(bufmgr_gem->pci_device)) + bufmgr_gem->gen = 8; else { free(bufmgr_gem); return NULL; |