From d325413b34a7951157f64639960c0456ed5b04af Mon Sep 17 00:00:00 2001 From: jsteube Date: Mon, 4 Mar 2019 15:34:03 +0100 Subject: [PATCH] Fix -m 10700 activate unstable warning only in optimized mode --- src/modules/module_10700.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module_10700.c b/src/modules/module_10700.c index 377439cbe..b9c89a07a 100644 --- a/src/modules/module_10700.c +++ b/src/modules/module_10700.c @@ -111,7 +111,7 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE // amdgpu-pro-18.50-708488-ubuntu-18.04: Segmentation fault if ((device_param->device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == false)) { - if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 0) + if ((hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL) == 1) { return true; }