From patchwork Fri Nov 10 00:54:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Harrison X-Patchwork-Id: 13451946 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2433DC4332F for ; Fri, 10 Nov 2023 00:53:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4356B10E397; Fri, 10 Nov 2023 00:53:47 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by gabe.freedesktop.org (Postfix) with ESMTPS id 65CE410E395; Fri, 10 Nov 2023 00:53:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699577624; x=1731113624; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JOfxS4an4m9zbwlBhKKTPMpxehoWiWRgX+fzja2Aipg=; b=MiJcVqt9SLU5NTm5HI1xb8GxJVOm4g1udekLl/9sqH7IjSwo8AysPKQN a2vj1FWhAPbabQnNm1qstJhI76pIiLtZzc0Ut9NWr0/5FpcJQytmDbvH7 bi2CtmPRDSuTrdKTJcmBjLa6j48QMRfyNeVL2bwkHohoYQzRl8Es1xD05 iQ/z7/Hp/ggKkN9i9k6jBu9+vxDYiDvUrCGShPHYZ0Aof8M4aw1DJ0/9y toi1Y2CCORHxS2KOKErnShq639dJY4+2um1G3ujjpsl/4kMQbenrQr0Oe yD5UbtN3tMD6Rp5gj/l0ej73uRQYK7plHw6zTacXq2hy5Cj0g+6OElTVA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="11654502" X-IronPort-AV: E=Sophos;i="6.03,290,1694761200"; d="scan'208";a="11654502" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 16:53:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10889"; a="887206112" X-IronPort-AV: E=Sophos;i="6.03,290,1694761200"; d="scan'208";a="887206112" Received: from relo-linux-5.jf.intel.com ([10.165.21.152]) by orsmga004.jf.intel.com with ESMTP; 09 Nov 2023 16:53:41 -0800 From: John.C.Harrison@Intel.com To: Intel-GFX@Lists.FreeDesktop.Org Date: Thu, 9 Nov 2023 16:54:07 -0800 Message-ID: <20231110005409.304273-1-John.C.Harrison@Intel.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Organization: Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ Subject: [Intel-gfx] [PATCH 0/2] Don't send double context enable/disable requests X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: DRI-Devel@Lists.FreeDesktop.Org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: John Harrison The driver could sometimes send context enable/disable requests when a previous request was still pending. This is not allowed. So stop doing it. Signed-off-by: John Harrison John Harrison (2): drm/i915/guc: Don't double enable a context drm/i915/guc: Don't disable a context whose enable is still pending .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-)