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 B72A1C433F5 for ; Fri, 14 Jan 2022 15:19:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49B3610EDC0; Fri, 14 Jan 2022 15:19:25 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id D8C2310E272; Fri, 14 Jan 2022 15:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642173563; x=1673709563; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gQypZeKb20iK6V4Fo2vqovMOcW37eXRpK9D4ZpMA80M=; b=j/smNvKL81Ucm1X0+wRG5Khqh89vg1Exsa9+M6Ch5mSR8J4UBsP3OXIJ Soq2ss9Yl0/ftLdfJyf8FrZEwbd8EjHoMvQ1GC9oSDAkTu0eA6JfYpkvc UJB8eEBVY2aPT/9ZX+yRf8+saOhhfEal4kPBTaZMBgr5/ZAtyymIXOXBa /shOof5NuTl5jLtQemxygyrj+60aFXqoqZ0hZh0l+Jss/RIG2Tsf+zbp+ NYUGgwkvDUiWjQkkLJTv2bcY4+zFUnColgpzL/T2E/AUl5qRZO/XWBssr zreqskLqCXgfh+l1OC97o0zfxxQq+b5TFgC83LxuxkLbJ0ovB4HumZZdj w==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="307604628" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="307604628" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2022 07:19:13 -0800 X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="594058641" Received: from smile.fi.intel.com ([10.237.72.61]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2022 07:19:07 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1n8OKv-00AgJa-UJ; Fri, 14 Jan 2022 17:17:53 +0200 Date: Fri, 14 Jan 2022 17:17:53 +0200 From: Andy Shevchenko To: Simon Ser Message-ID: References: <20220114101753.24996-1-etom@igel.co.jp> <20220114101753.24996-3-etom@igel.co.jp> <7eljcd3F4aWL2jjBRwr3DISmyt0XPWFIH1_kebFGqZTJXLZRx0bm_8c8yaIuEuH8rS0MaJhU6SY1y-fc6U_zCLaKgoLM124nZpr0H91nSjw=@emersion.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7eljcd3F4aWL2jjBRwr3DISmyt0XPWFIH1_kebFGqZTJXLZRx0bm_8c8yaIuEuH8rS0MaJhU6SY1y-fc6U_zCLaKgoLM124nZpr0H91nSjw=@emersion.fr> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Subject: Re: [Nouveau] [RFC PATCH v3 2/3] drm: add support modifiers for drivers whose planes only support linear layout X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Michel =?iso-8859-1?Q?D=E4nzer?= , Daniel Stone , Lee Jones , Tomohito Esaki , Rob Clark , Takanari Hayama , amd-gfx@lists.freedesktop.org, Ben Skeggs , Petr Mladek , Sakari Ailus , Maarten Lankhorst , Abhinav Kumar , Alex Deucher , Sean Paul , Maxime Ripard , Daniel Vetter , Evan Quan , Mark Yacoub , Qingqing Zhuo , "Pan, Xinhui" , linux-kernel@vger.kernel.org, Bas Nieuwenhuizen , Dmitry Baryshkov , Damian Hobson-Garcia , Christian =?iso-8859-1?Q?K=F6nig?= , Laurent Pinchart Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On Fri, Jan 14, 2022 at 03:07:21PM +0000, Simon Ser wrote: > On Friday, January 14th, 2022 at 15:16, Andy Shevchenko wrote: > > > Why not enum? > > There is no enum for DRM format modifiers. I'm not sure how this prevents to use enum in the code instead of const u64. Any specific reason for that? -- With Best Regards, Andy Shevchenko