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 37D6FC9EC94 for ; Mon, 12 Jan 2026 15:36:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C934710E404; Mon, 12 Jan 2026 15:36:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="EHZ9kBal"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id E28F210E404; Mon, 12 Jan 2026 15:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1768232166; x=1799768166; h=message-id:date:subject:to:cc:references:from: in-reply-to:mime-version; bh=zF1DkxAyIUXLZB9eWQtBb31KSqCR4dIV+4XNheST9uI=; b=EHZ9kBal7/UAmU+b6iNqsEpqQy9kzzdpAxII7HL8oirKOpmyvuRw9dJW YQ2wXMaJeGc77Zlgd4v/Arodbd4y0/GhQq+w4JGaJcwWqh1B10J2CTGeD AY1k+WaRlNKWLL7ELAoJdt2EB67W6tiAOXB99JXe8zjknOO/horJcqvdF C8nrUmiqGlU24RrqgFYmPApO8iPzhUqLkyFdEWZtt39Mha/qZXrt0MNe3 F9+D1ut+v4New+3VhXh5l+2g+rXF36wyuy6IlTKWK4D/ojw8rU9QQZLKE 8N5t3Gapksm1/M7tZWeMFYVrOUsWPaspRJ1ccYOy3snQZu7nyuUYn5pF+ Q==; X-CSE-ConnectionGUID: xHJMZ9NGQK+JVT1b8MP3rQ== X-CSE-MsgGUID: YPin2WH1Q5e77xgcik696Q== X-IronPort-AV: E=McAfee;i="6800,10657,11669"; a="69433662" X-IronPort-AV: E=Sophos;i="6.21,221,1763452800"; d="scan'208,217";a="69433662" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2026 07:36:05 -0800 X-CSE-ConnectionGUID: 9twrJM3iR4iCZYakWHnz9w== X-CSE-MsgGUID: jfABIC3oSmqdV1vvMbt0fw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,221,1763452800"; d="scan'208,217";a="204131446" Received: from fmsmsx903.amr.corp.intel.com ([10.18.126.92]) by orviesa007.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2026 07:36:05 -0800 Received: from FMSMSX902.amr.corp.intel.com (10.18.126.91) by fmsmsx903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 12 Jan 2026 07:36:04 -0800 Received: from fmsedg903.ED.cps.intel.com (10.1.192.145) by FMSMSX902.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29 via Frontend Transport; Mon, 12 Jan 2026 07:36:04 -0800 Received: from BL0PR03CU003.outbound.protection.outlook.com (52.101.53.25) by edgegateway.intel.com (192.55.55.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 12 Jan 2026 07:36:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yg/zgA/csE6f5LN8cAABz+XH+7qKO/8+B8OLf/RQaAUFTAu2JhnV6VDylVsAglLH0ym8vyEu0GxkaIi/f1jsY8lEaTwKEyuxIEPjxCP5xH7wxSqzsCezBQG2FYFre2kayau2/Jh1kEmdQpH2cow5WACnDPLmFzqo3CoreL+zKFNXVYQdzPxYJeuwHCU6Gb6RScHp1YehLRLp9NpJw3BBHXu2jhGhrUqnoRdIIZSuvwpRCTL/lg89X5xBpB6nUD5ZJHNRviJFBZjnPcKViLVD7JblgfeSthfGE2SqrlpBkDZcPqTTgIPehKjgG5xHuXQvxfomxqvdWcy6TCygRIYs3g== 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=mURBH0ZI6FDqzU/+9FCDKSRkxpXUzwwBuaD7aVsd0ZU=; b=oQrF5zWVX7QOE5D9jO8j75OM2GIztw9EDF7mSeyZxAKwUDKpOwrQi8TbN7D5jHyUCrc6DoHC7ViFMeHMH/9EqBN72b6KmVQSJGSad5yCeem9ajJ4dbmSpDxj2FtqeNu8EjL+KNXR7N8ySBwuMtap1rjthh12TjOe5GVeQhkn0cC3pm9+Da2KDKP5x4s5IyVSlAMHdnrNmTGfjYRLYXZUImNSVxHY2AGJ3TXEH+riHWvnIqYLhKzlWSTB7PchcJdCRDUTePhtt2XVCKpfCFqNI36knarnK4eAoIorqwWyx49WhcqVxcR4Sij0e7e2qCFSfXTdj/Oh8BnSJjWJkmwC/g== 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 IA0PR11MB7307.namprd11.prod.outlook.com (2603:10b6:208:437::10) by MW3PR11MB4602.namprd11.prod.outlook.com (2603:10b6:303:52::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9499.7; Mon, 12 Jan 2026 15:35:56 +0000 Received: from IA0PR11MB7307.namprd11.prod.outlook.com ([fe80::dafa:d38d:8ac1:e843]) by IA0PR11MB7307.namprd11.prod.outlook.com ([fe80::dafa:d38d:8ac1:e843%6]) with mapi id 15.20.9499.005; Mon, 12 Jan 2026 15:35:56 +0000 Content-Type: multipart/alternative; boundary="------------Thbv48VBtzFpN4EYmpNUXVI8" Message-ID: Date: Mon, 12 Jan 2026 21:05:46 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v3 0/7] Async Flip in Atomic ioctl corrections To: =?UTF-8?Q?Michel_D=C3=A4nzer?= , "Maarten Lankhorst" , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , "Vivi, Rodrigo" , Joonas Lahtinen , Tvrtko Ursulin , "xaver.hugl@kde.org" , "andrealmeid@igalia.com" , "Kumar, Naveen1" , "Syrjala, Ville" , "Dmitry Baryshkov" CC: "dri-devel@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "intel-xe@lists.freedesktop.org" References: <20260108-async-v3-0-e7730c3fe9ff@intel.com> <342abb15-95e6-4ed6-8b86-a900c0f403a4@mailbox.org> <83e50bd4-de11-4298-bab9-7a5255b0c5ca@intel.com> Content-Language: en-US From: "Murthy, Arun R" In-Reply-To: X-ClientProxiedBy: MA5PR01CA0044.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:1d6::14) To IA0PR11MB7307.namprd11.prod.outlook.com (2603:10b6:208:437::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA0PR11MB7307:EE_|MW3PR11MB4602:EE_ X-MS-Office365-Filtering-Correlation-Id: 4644d789-59f8-4510-c1ec-08de51f04724 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|7416014|376014|7053199007|8096899003|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?B?YThITktKbS8rNTNLdVY1RzBKY3JBRytWdElRN2lZT245WG1DcWt4R1hUa29D?= =?utf-8?B?N241QzdNNlNkT0ZjTUhwZXJGU2tIbStGRW9taGMweDNobzVBVEVQY1poZXV4?= =?utf-8?B?M3psbVN4akpKU2tLdnJaZ2dpRkd3ZmlNL3YxaERkSHFDYUZaV1Nmd1p5SEMy?= =?utf-8?B?OGZ0QkJIbWppa0VPWHhXT0JVbVVKTEZ6MVkwWW4yTzIxQ2dldkZOSmRFdmtn?= =?utf-8?B?WGc0WU5kMU9XU01UQVJYMktLU2E2Mzl6OUI0cnRnOE5iQWZ4RUZzSU1NTE9X?= =?utf-8?B?VlNFbUYxK1pneUp1ZWVQdzFNa1doWGFxSi9oUXhjWVdVYmRnWitkL0Jnc0ZN?= =?utf-8?B?NHZFWW1SUWFRcHArN0RFUU83WG5oVFFxRnhQa21wSDE4ZVdYN000ang5c1Zs?= =?utf-8?B?WDV1YjVEeGVJaWwzOHY0NytEMmg5VWV6bngyalpDa2NRa1l4dUtnRWswZm9U?= =?utf-8?B?QUUzVnlvMCsvMWdvNzMrUWx5T0EydHhKZC8za2dPQlhpcUw2bUgwOUN4Q091?= =?utf-8?B?bjJFNWtNeWlTVVloZUQzODRXNWpmWVVHb0JHWkkrZWFia25xWlFYaDhOWUZ6?= =?utf-8?B?Vk4rSERuMGlIYkpTbDZidDdQWVdzQ3h5enBCbEpSVTliRGwzRDkwR01qNlZH?= =?utf-8?B?eUU0aFNZL0N3djY3ZDl4Y09XSEFnRnoxcXp0MUt1enNQcmpWMEs4UC9Ka1FI?= =?utf-8?B?dmFaL3hRWFRBdy9Jdjl0czc4ZnB5eGxCZHBsSTJtTXBrZzl5WHE5V2NRcU91?= =?utf-8?B?NHBVWkVncXA4VTh0T2pLMG9tUjUyNFhISXoyZXpjUGYyamhlWThRMThOcHVU?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FdnY25W?= =?utf-8?B?T2JVUUJYVWtwNnpZZTR1anY4UUMzM0x6VFRNOG1GaC9XWEZIeVNVbmoySHB3?= =?utf-8?B?MWFmcmhBRGc3bnh3OTBsaXdzc1ZoUG1VdlBzZXMwb3dMRjF4ejMyeWF0dVlu?= =?utf-8?B?WWZ1eFY2KzZ6VXhEMjV1c2RkdzhJNTR4K1VKY2h4RWxGR29Ienc2WEFrNDhx?= =?utf-8?B?Wm5UaStqQ3Y4OTdER0liZW41VlhBNGVhWDNZM2U1SXk1Q01WYmNZaGZZSUJT?= =?utf-8?Q?PYNvT2YDdcR19+CV+ZWhuAzi9fyX6E=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA0PR11MB7307.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(7416014)(376014)(7053199007)(8096899003)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WktYYTlZVWNxTEF3akZhNWh1UVFheTlsVDNkMU4zVy9TT0xjVVFneXpORjRa?= =?utf-8?B?dEg5eWFONmZYdzV5Wm1OME1YMmxMK0ZUNnRTZExQMTFMcEV0RnNYTElrckVj?= =?utf-8?B?dnEzNzNlbDdmdmIvK0poeEsyZmdSN0RlcHUvOGIwdmdGRlRZZXgyL01FS0po?= =?utf-8?B?TU1PTzFBaldicTBJaUJUZ2Q3akt6N0VLU0hEcWUxTFdGeElNYzgvc2ovZ1kx?= =?utf-8?B?REdIRC9zTTVneDdvSzNrNUZKK0NCMk1tRFFLTFZBS1JFaVlqR1Nac0hkS0Z2?= =?utf-8?B?cW1mQTgzN3RmUlBCZmFrVGVlOGYzem96T1dqZXNYRjdkUGNMc2gycFhoSkZO?= =?utf-8?B?RVVPcVRjVGR2VExub3NzUFdZUkJkSGI2b1ZlTmpDTTFvQ2R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jROQkZYZndEOW1hUVdPb1NzazZSU0pMcVhIMHJQcExWN1lsT0l6?= =?utf-8?B?Z3FnWGRQYzZvZEFHQUJGZ0gxVC9mUlBlVTRWajZzTFpad1FBdGtMUWRRZEY4?= =?utf-8?B?ajRub1VNNHFkVUllSkZ6ZzlpblcxR29HZVduT0xGVEVGcCtCekpBUT09?= X-MS-Exchange-CrossTenant-Network-Message-Id: 4644d789-59f8-4510-c1ec-08de51f04724 X-MS-Exchange-CrossTenant-AuthSource: IA0PR11MB7307.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2026 15:35:56.2343 (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: jyQ6uWioNEwuM9BJ8lETg7Myxvk5/fnCP2VkbWSqDaLv+6M5RB2PzUMJ/TYo4zjjys4/V1x6D3S7xy8M+jiziw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4602 X-OriginatorOrg: intel.com 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" --------------Thbv48VBtzFpN4EYmpNUXVI8 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit On 12-01-2026 17:04, Michel Dänzer wrote: > On 1/12/26 09:23, Murthy, Arun R wrote: >> On 09-01-2026 16:52, Michel Dänzer wrote: >>> On 1/9/26 12:07, Murthy, Arun R wrote: >>>>> From: Michel Dänzer >>>>> On 1/8/26 10:43, Arun R Murthy wrote: >>>>>> struct drm_crtc_state { >>>>>> /** >>>>>> * @async_flip: >>>>>> * >>>>>> * This is set when DRM_MODE_PAGE_FLIP_ASYNC is set in the legacy >>>>>> * PAGE_FLIP IOCTL. It's not wired up for the atomic IOCTL >>>>>> itself yet. >>>>>> */ >>>>>> bool async_flip; >>>>>> >>>>>> In the existing code the flag async_flip was intended for the legacy >>>>>> PAGE_FLIP IOCTL. But the same is being used for atomic IOCTL. >>>>>> As per the hardware feature is concerned, async flip is a plane >>>>>> feature and is to be treated per plane basis and not per pipe basis. >>>>>> For a given hardware pipe, among the multiple hardware planes, one can >>>>>> go with sync flip and other 2/3 can go with async flip. >>>>> FWIW, this kind of mix'n'match doesn't seem useful with current UAPI, since no >>>>> new commit can be made for the async plane(s) before the previous commit for >>>>> the sync plane(s) has completed, so the async plane(s) can't actually have >>>>> higher update rate than the sync one(s). >>>> That’s right, such mix and match flips will still consume vblank time for flipping. >>> Does a plane property really make sense for this then? >> As per the hardware this async flip is per plane basis and not per crtc. > That's not really relevant. > > >> Not that I am trying to clean up this. Recently AMD added async support on overlays as well for which  few other hacks were added. The checks that we do for async flip were all done in place of copy the objs/properties, but it actually is supposed to be done in the check_only() part of the drm core code. This was the limitation with the existing implementation. > Those implementation details can be changed without changing UAPI. > The existing approach ends up adding more and more hacks upon addition of async feature enhancement in the driver. One such example is the recent patches from AMD for adding async flip support on overlays which adds more and more hacks in the property/obj handling code. This was just an initiative to clean up the async feature and handle async flip in a well designed way. I will leave it to the maintainers and other reviewers to comment over here! Thanks and Regards, Arun R Murthy -------------------- --------------Thbv48VBtzFpN4EYmpNUXVI8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
On 12-01-2026 17:04, Michel Dänzer wrote:
On 1/12/26 09:23, Murthy, Arun R wrote:
On 09-01-2026 16:52, Michel Dänzer wrote:
On 1/9/26 12:07, Murthy, Arun R wrote:
From: Michel Dänzer <michel.daenzer@mailbox.org>
On 1/8/26 10:43, Arun R Murthy wrote:
struct drm_crtc_state {
         /**
          * @async_flip:
          *
          * This is set when DRM_MODE_PAGE_FLIP_ASYNC is set in the legacy
          * PAGE_FLIP IOCTL. It's not wired up for the atomic IOCTL
itself yet.
          */
         bool async_flip;

In the existing code the flag async_flip was intended for the legacy
PAGE_FLIP IOCTL. But the same is being used for atomic IOCTL.
As per the hardware feature is concerned, async flip is a plane
feature and is to be treated per plane basis and not per pipe basis.
For a given hardware pipe, among the multiple hardware planes, one can
go with sync flip and other 2/3 can go with async flip.
FWIW, this kind of mix'n'match doesn't seem useful with current UAPI, since no
new commit can be made for the async plane(s) before the previous commit for
the sync plane(s) has completed, so the async plane(s) can't actually have
higher update rate than the sync one(s).
That’s right, such mix and match flips will still consume vblank time for flipping.
Does a plane property really make sense for this then?
As per the hardware this async flip is per plane basis and not per crtc.
That's not really relevant.


Not that I am trying to clean up this. Recently AMD added async support on overlays as well for which  few other hacks were added. The checks that we do for async flip were all done in place of copy the objs/properties, but it actually is supposed to be done in the check_only() part of the drm core code. This was the limitation with the existing implementation.
Those implementation details can be changed without changing UAPI.

The existing approach ends up adding more and more hacks upon addition of async feature enhancement in the driver.
One such example is the recent patches from AMD for adding async flip support on overlays which adds more and more hacks in the property/obj handling code.
This was just an initiative to clean up the async feature and handle async flip in a well designed way.

I will leave it to the maintainers and other reviewers to comment over here!

Thanks and Regards,
Arun R Murthy
--------------------

--------------Thbv48VBtzFpN4EYmpNUXVI8--