From 5b348f3ac0069485ecd86ee30483646fad4b01cc Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Wed, 13 Feb 2013 16:09:33 +0000 Subject: intel/bdw: Handle gen8 bufmgr_init [bwidawsk: Added Damien's SOB] Signed-off-by: Damien Lespiau Reviewed-by: Kenneth Graunke Reviewed-by: Eric Anholt Signed-off-by: Ben Widawsky --- intel/intel_bufmgr_gem.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intel') 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; -- cgit v1.2.3