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 CE110D2C560 for ; Tue, 22 Oct 2024 14:35:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8385A10E6A9; Tue, 22 Oct 2024 14:35:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="TnQUfYcr"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C66110E6AD; Tue, 22 Oct 2024 14:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729607740; x=1761143740; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=DpGKWlshZysJjod4/wy/ZAeaeZiDhCEXowZpCLlxFgc=; b=TnQUfYcrkwhX0veWC/riM44iWel0TdsocK9BkwLPXA4/+rY9UR4dYzTW ZRSBMpuzDSw+JgipmKXzaEzm2Zg/8+9h3NW2iC+qJNL5uLTBn33U/ZesT tOVmk8etwO9fibcXMfPGmk+sANObV+OLBXA73iJkAAq+zGMz5rR7kwoX7 Er9IxWoBm39zCb1WvKhf8EyVA1om4uMWDVUb8/8CPPsrfiWchPF43H3Ps xnayL77LKe3iCKWnlNQlJ1dzKH3F/4Tt94TXCdTbyFltzYrCP4LdSPUg/ xbeeraIaHnRqg/3yyVjf8wW7fPHZlznZKdA+cUWCuNj+UI6UjGY6jgB1q A==; X-CSE-ConnectionGUID: vxr1pwCnTkChfZfn/B0jsw== X-CSE-MsgGUID: ShyIP7GUTV60Nqyv8p4IuA== X-IronPort-AV: E=McAfee;i="6700,10204,11233"; a="16774158" X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="16774158" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 07:35:39 -0700 X-CSE-ConnectionGUID: jIUs4AHyTN+fBDn5QnWTVQ== X-CSE-MsgGUID: a1rdWWrRSqWq+eeJmEIBDA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,223,1725346800"; d="scan'208";a="79896219" Received: from sosterlu-desk.ger.corp.intel.com (HELO [10.245.244.157]) ([10.245.244.157]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2024 07:35:38 -0700 Message-ID: Date: Tue, 22 Oct 2024 15:35:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 4/9] drm/xe: Take PM ref in delayed snapshot capture worker To: Matthew Brost , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: mika.kuoppala@intel.com, thomas.hellstrom@linux.intel.com References: <20241021211835.1675640-1-matthew.brost@intel.com> <20241021211835.1675640-5-matthew.brost@intel.com> Content-Language: en-GB From: Matthew Auld In-Reply-To: <20241021211835.1675640-5-matthew.brost@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On 21/10/2024 22:18, Matthew Brost wrote: > The delayed snapshot capture worker can access the GPU or VRAM both of > which require a PM reference. Take a reference in this worker. > > Cc: Rodrigo Vivi > Cc: Maarten Lankhorst > Fixes: 4f04d07c0a94 ("drm/xe: Faster devcoredump") > Signed-off-by: Matthew Brost Reviewed-by: Matthew Auld