Module: Mesa Branch: main Commit: f8c9b5a96ba92f6e82d1dc17392c61e049aab38a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8c9b5a96ba92f6e82d1dc17392c61e049aab38a
Author: José Roberto de Souza <[email protected]> Date: Thu Oct 27 09:57:30 2022 -0700 iris: Do not set I915_CONTEXT_PARAM_RECOVERABLE twice For the protected context path, it was already set. Signed-off-by: José Roberto de Souza <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18974> --- src/gallium/drivers/iris/iris_bufmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_bufmgr.c b/src/gallium/drivers/iris/iris_bufmgr.c index c720d08a6ea..4854f0d40eb 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.c +++ b/src/gallium/drivers/iris/iris_bufmgr.c @@ -2231,9 +2231,9 @@ iris_create_hw_context(struct iris_bufmgr *bufmgr, bool protected) } ctx_id = create.ctx_id; + iris_hw_context_set_unrecoverable(bufmgr, ctx_id); } - iris_hw_context_set_unrecoverable(bufmgr, ctx_id); iris_hw_context_set_vm_id(bufmgr, ctx_id); return ctx_id;
