Message ID | 20250122104049.388340-2-rodrigo.vivi@intel.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> 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 3EE31C0218D for <intel-gfx@archiver.kernel.org>; Wed, 22 Jan 2025 10:41:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5E8810E6B7; Wed, 22 Jan 2025 10:41:05 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="CFkUMvIs"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id E8C0810E6B4; Wed, 22 Jan 2025 10:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1737542464; x=1769078464; h=from:to:cc:subject:date:message-id:in-reply-to: references:content-transfer-encoding:mime-version; bh=6taVNAiODYm6hin2U8bpfDNrm7BlrEkq+T8O6QeG6ho=; b=CFkUMvIs1f5+Mb28s79TTz+ETICQetVKR6d/WxaCbnNqpo3rzIhWNbl7 vdJ1inpJ1Nk//RQ4ytxLDJ/nFBypWksHvnJNHudTYSz20TJdSDqvDGY7w qZwxgpQNNMfkP/dtawvSDEgkPkb3BsfYhEgH7t+ynwURS/SQs2xfgutIC gbq4Q8dqocR6IfeNBTjh5kxpuVOlir9c1MeXyWIynERHT2ldmNw3jTxvD 6n4aQ1f0F8gdnihBg1cYV31T8/mrEOxnWTjb/V3caoG85k4B16yycpq03 WnN79G3uznLfBRy3+xd2AXI9douIWsEf4MovPXCOt/Z8syavnGBi9CxtV A==; X-CSE-ConnectionGUID: lLrs4XKwSWKY3PpwPFtjMw== X-CSE-MsgGUID: g428DlMOReKgpRZp00TzBg== X-IronPort-AV: E=McAfee;i="6700,10204,11322"; a="41665611" X-IronPort-AV: E=Sophos;i="6.13,225,1732608000"; d="scan'208";a="41665611" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2025 02:41:04 -0800 X-CSE-ConnectionGUID: 8yvpfk5aTnSyLcbwJPwYQQ== X-CSE-MsgGUID: rL3IbGWESQKDWer5FKuz9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="106969748" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa010.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 Jan 2025 02:41:03 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 22 Jan 2025 02:41:03 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Wed, 22 Jan 2025 02:41:03 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Wed, 22 Jan 2025 02:41:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UpNw0291lSqOM6dXll+lKXNL7VqfnF+lreAnRuAAYDs3l5eUu0vpkYq21hKHOBxJVOYGZ1aDnsmEA3OPFrnvFIqD0CYL+PA4WPX8atuqqEnfNYfqRD7F6KRBq9eB5rxH5fvtvf936xgxO6+vPYaIB/YWlP+lZ2h29hLPkrhPUtroOWw84WaCE5OqNOmRL05kDNDQ0K/6vnx+uPiPpQJGtl5FJfxgFC6INsXUiRzuZDg3Uyu+HplPzZzrrda3qK22RYiBkZAmTQrpXK9H5CJYrD6icL8DTDKsw3wso3GuvxWiqzHbYBJUd9+xdYlxaRTv8pAufAfdky3+0hiVRFoM3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qSrvV3Ael2jglMyhlhqRd5HktjF9IpJWzDLrO8TJ8iQ=; b=SJCkkonZyXmk8BUo2RsW7fGxa+Y3KEHKuua4y/r6w3ofvLz5CX6yJauB6Sktoz9QSzmBM4GKJEwupnJCSLz1vXf/6VhuZA90YtCWhBZSoOx+QoRdVZLZBscXZ+MaDi0y5re64gfDynTERcLvhN5g50E/pHYqkaYplmcxiqhAz8CmkbWF1W8pf1ZcmH/il1SD6gfGcSl+Fuvvvhb1+TzNohcxgai51TP8/lSKMVJWyeWqyjaqcUinkId2FIM96GQh5pBkwyszrB3Pa7uDvswRadp0irBNBF3kjn2GqaKYVZUqZAOinVRIhabGuxvoXQ4yWUT+lwxYGcPmwTtD0wXB5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) by CYXPR11MB8663.namprd11.prod.outlook.com (2603:10b6:930:da::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8356.22; Wed, 22 Jan 2025 10:40:56 +0000 Received: from PH7SPRMB0046.namprd11.prod.outlook.com ([fe80::5088:3f5b:9a15:61dc]) by PH7SPRMB0046.namprd11.prod.outlook.com ([fe80::5088:3f5b:9a15:61dc%6]) with mapi id 15.20.8356.020; Wed, 22 Jan 2025 10:40:56 +0000 From: Rodrigo Vivi <rodrigo.vivi@intel.com> To: <intel-gfx@lists.freedesktop.org>, <intel-xe@lists.freedesktop.org> CC: Rodrigo Vivi <rodrigo.vivi@intel.com>, Maarten Lankhort <maarten.lankhorst@linux.intel.com>, Jonathan Cavitt <jonathan.cavitt@intel.com> Subject: [PATCH 2/3] drm/xe: At shutdown disable commit helpers instead of flushing Date: Wed, 22 Jan 2025 05:40:48 -0500 Message-ID: <20250122104049.388340-2-rodrigo.vivi@intel.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250122104049.388340-1-rodrigo.vivi@intel.com> References: <20250122104049.388340-1-rodrigo.vivi@intel.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW3PR06CA0030.namprd06.prod.outlook.com (2603:10b6:303:2a::35) To PH7SPRMB0046.namprd11.prod.outlook.com (2603:10b6:510:1f6::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7SPRMB0046:EE_|CYXPR11MB8663:EE_ X-MS-Office365-Filtering-Correlation-Id: dc1ab8a6-7e2c-48ec-6b3a-08dd3ad1406d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: ia6wXMG4qNALhJK9mTibsRYut7xfdboQvLZ+UKt86jcoRF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s2iEn9IXfonBQhSOMvIYWeOdaMuXcDLsIElkVevWMFaibpjHbJOAIJ/3Ey0yXTPlO420rr4UIzDA0dz4aZo6zm9Pnpc0TTCilyVBGnv8GpweKI5aJsgDnA3caokDaP7bo95jX8PAVd5DYxfuKa0m7A37TGPstnxfhsmAssnaAPgZCKqYunCmBWeXpJ77TdBaCvxLrDlhmhEEhQgVCrWK/ReikcaGjd2/g0QtDfPHtydTXxDVQ9I6U5Uoxz1r1yuMNzU24UQ85dBFpDeQaa5ZiLX+kLo X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7SPRMB0046.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SreFtsiM1NawycdR0Q1bDpmpXTWzJTzhEep/9lOWmXMkq1+Qpk0SwVhF6bNVBdgzSBEef7kgkN5C0Wj/33q4NvHbEjp7zSiMk2Bli1mHqq693JlISLJ55eV+BfGT5ZS26bA92jRt5mBl2fHKSWbtdRpyYknixe94JeLoNVj9Tl0+Sl1izE8ulGxhkMqKQxpflCoZeZd5EaOpL0ngc67Ge33MwgutqLEFtMtWHIhtENpE3hMJXHy/H+Cf63sxXEOY6vIaKGnFN5s+kCaMruxg3FMZhiwt62k87L+VswC6XL900Cvxs84IjIoplDOPaOJ8pOxTiTMrOYdAM2XXUawe6wqvUWWAF5nXnFpynjKG8H8iBZkdeFAUfXgSNNKlYahlPQYaGJSxul0e8cb2TLcTnyD/BP5/BzbchifXZS0Sq/6vmvZBXtl9g2IZtHfBKBXr/668el4h1MCsLsLju6hLO2R5AqVzQNQASFfrWc0/zRIW/KW4dFRQ9vkLZ6UWrf3H+kEf4ASbQ/z1/IZV43uVkbZ+hnOhwnmTh/QrOQMUVgz5fni0mAda0ZWonTD8Q/ppPb+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1ab8a6-7e2c-48ec-6b3a-08dd3ad1406d X-MS-Exchange-CrossTenant-AuthSource: PH7SPRMB0046.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2025 10:40:56.0815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EceH4y4q3r3PQzz5/fi8uGvjfS8HF6OUJ9k9KySbfJ+PuOqdT/nH4BYJnW5vWCx7eXHMn8d61Dh5JTNEGFL8hg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR11MB8663 X-OriginatorOrg: intel.com X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> |
Series |
[1/3] drm/i915/display: Move shutdown sequences under display driver
|
expand
|
diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c index 96ba9595bf2a..4f60d7bd7742 100644 --- a/drivers/gpu/drm/xe/display/xe_display.c +++ b/drivers/gpu/drm/xe/display/xe_display.c @@ -10,6 +10,7 @@ #include <drm/drm_drv.h> #include <drm/drm_managed.h> +#include <drm/drm_atomic_helper.h> #include <drm/drm_probe_helper.h> #include <uapi/drm/xe_drm.h> @@ -378,10 +379,10 @@ void xe_display_pm_shutdown(struct xe_device *xe) if (has_display(xe)) { drm_kms_helper_poll_disable(&xe->drm); intel_display_driver_disable_user_access(display); - intel_display_driver_suspend(display); + + drm_atomic_helper_shutdown(display->drm); } - xe_display_flush_cleanup_work(xe); intel_dp_mst_suspend(display); intel_hpd_cancel_work(xe);