iris: better error message with GuC loading failures

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18952>
This commit is contained in:
Lionel Landwerlin 2022-10-04 18:20:43 +03:00 committed by Marge Bot
parent 537176181e
commit 1d32bcdcb2

View file

@ -801,7 +801,8 @@ iris_screen_create(int fd, const struct pipe_screen_config *config)
* Checking the last feature availability will include all previous ones.
*/
if (iris_getparam_integer(fd, I915_PARAM_HAS_CONTEXT_ISOLATION) <= 0) {
debug_error("Kernel is too old for Iris. Consider upgrading to kernel v4.16.\n");
debug_error("Kernel is too old (4.16+ required) or unusable for Iris.\n"
"Check your dmesg logs for loading failures.\n");
return NULL;
}