From mboxrd@z Thu Jan 1 00:00:00 1970 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 93809C47DDC for ; Tue, 23 Jan 2024 20:45:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4EDE610E3F2; Tue, 23 Jan 2024 20:45:15 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 45D8610E301 for ; Tue, 23 Jan 2024 20:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706042708; x=1737578708; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Z3AdyGSVYn5bwJa+dEFZiDclASYFPbYsV7LhhYZ4ZtM=; b=G2UzbWaX+fGw7spXYuN5u3yBCTZnkMt3x/w/M4uwSEGKHZKs+7tgpuYR g6+/6xfJw+ic121TxKTET7p2M6FrmhZ9CmzhMWHT7PqyFgJPkaFtm/xE9 pk7IS/vRmKbxHWUKqHX1od5/mrUvOu+bhRdUs+H+CuxHY2rkSqR449GhK 8U+feaY3BAEIMxrET5krxukTU4SXHrFhT1wqkxXMiKHIMI61Ga3K0Qo+x sAWSXOuReqHzO0xGPGUDiIVgQnEcyh9NUxCBznxrtF1LSnlMiAthRQ7js FE/z56Y8nrm7L0CNt36848ZEqAg+tfBsBc3YvZ4921Z83z+zgBFu26i2Q A==; X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="8319856" X-IronPort-AV: E=Sophos;i="6.05,215,1701158400"; d="scan'208";a="8319856" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 12:45:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="909421933" X-IronPort-AV: E=Sophos;i="6.05,215,1701158400"; d="scan'208";a="909421933" Received: from josouza-mobl2.bz.intel.com ([10.87.243.88]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2024 12:45:06 -0800 From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= To: intel-xe@lists.freedesktop.org Subject: [PATCH v3 3/9] drm/xe: Nuke xe from xe_devcoredump Date: Tue, 23 Jan 2024 12:44:48 -0800 Message-ID: <20240123204454.246788-3-jose.souza@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240123204454.246788-1-jose.souza@intel.com> References: <20240123204454.246788-1-jose.souza@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maarten Lankhorst , Rodrigo Vivi Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" xe is never set in xe_devcoredump but if xe_device is needed devcoredump_to_xe_device() can be used. Cc: Rodrigo Vivi Cc: Maarten Lankhorst Reviewed-by: Rodrigo Vivi Signed-off-by: José Roberto de Souza --- drivers/gpu/drm/xe/xe_devcoredump_types.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_devcoredump_types.h b/drivers/gpu/drm/xe/xe_devcoredump_types.h index 7fdad9c3d3dde..50106efcbc29d 100644 --- a/drivers/gpu/drm/xe/xe_devcoredump_types.h +++ b/drivers/gpu/drm/xe/xe_devcoredump_types.h @@ -44,8 +44,6 @@ struct xe_devcoredump_snapshot { * for reading the information. */ struct xe_devcoredump { - /** @xe: Xe device. */ - struct xe_device *xe; /** @captured: The snapshot of the first hang has already been taken. */ bool captured; /** @snapshot: Snapshot is captured at time of the first crash */ -- 2.43.0