From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id B887910E594 for ; Wed, 6 Sep 2023 08:16:51 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Wed, 6 Sep 2023 13:38:35 +0530 Message-Id: <20230906080840.1714917-2-bhanuprakash.modem@intel.com> In-Reply-To: <20230906080840.1714917-1-bhanuprakash.modem@intel.com> References: <20230906080840.1714917-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V3 1/6] lib/igt_gt: Fix igt_post_hang_ring for XE driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kunal Joshi Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Fix igt_post_hang_ring() to not execute gem specific logic for XE driver. Cc: Kunal Joshi Cc: Zbigniew KempczyƄski Signed-off-by: Bhanuprakash Modem --- lib/igt_gt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/igt_gt.c b/lib/igt_gt.c index 7cf0e468e..a24a566c7 100644 --- a/lib/igt_gt.c +++ b/lib/igt_gt.c @@ -384,6 +384,8 @@ void igt_post_hang_ring(int fd, igt_hang_t arg) if (is_xe_device(fd)) { igt_spin_free(fd, arg.spin); xe_post_hang_ring(fd, arg); + + return; } gem_sync(fd, arg.spin->handle); /* Wait until it hangs */ -- 2.40.0