From: Jordan Justen Date: Tue, 20 Aug 2019 01:55:40 +0000 (-0700) Subject: i965: Exit with error if gen12+ is detected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=107c22945fdc1d21c3aaf48f0841cb1289f1669e;p=mesa.git i965: Exit with error if gen12+ is detected For OpenGL support on gen12, the iris driver should be used. Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 4dac9f7860c..42601132b6d 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -2527,6 +2527,11 @@ __DRIconfig **intelInitScreen2(__DRIscreen *dri_screen) screen->deviceID = devinfo->chipset_id; screen->no_hw = devinfo->no_hw; + if (devinfo->gen >= 12) { + fprintf(stderr, "gen12 and newer are not supported on i965\n"); + return NULL; + } + if (!intel_init_bufmgr(screen)) return NULL;