Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp708764pxb; Fri, 14 Jan 2022 14:37:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZVUukeHKzNhR5pttqXYHDuKdM8wEwgkoROFacoZoJWWEn7SktL8MszIJJx/N/h6nN6KLH X-Received: by 2002:a63:194b:: with SMTP id 11mr9710574pgz.461.1642199868022; Fri, 14 Jan 2022 14:37:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642199868; cv=none; d=google.com; s=arc-20160816; b=RoWvoCNAmznYdhzOhnu4UD2cGOY1IxIpp/hcz1fBtVLRbq+nfWiPOCV+1aqqOzwOdy Nkzgws3Bq+Y474+66cU//mNIY57HVvjoPpBpNyEtQLJIRBV1aJ32NfrdyjpixzAlD/// 8lWgCofpmY7X3MUXKtnxBDnhR3PFfwGC6M2MAiSUjtzLs6ve1Kuo0nmLRLK/nS8crgK6 mBZPWaKvF6kFqh9xLUO7qAtMrvCA4/ptYUfJfZ1EkhlDIgemlw2fG6ORvn58Iepp0U8+ lpuzOmm0uWZG6LYLahXKJWlhxLLZj60E1vKmDLP4tyCmEBHMXhcdXIaUU0tR3O1KaRfB mmOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tw02tPCZH7tocLScTsL+/mlKVw59FnpgOWP/z31DsYg=; b=ZIOqNdCx59M/6wZRy1WOOEX/I+mW+/neLwRcXfZl1IjF6rKACGi4MSIthaTNVSn2YO LCVEM2wTqI5w6JlEkK6Udec+kYXFF3vKANEp+FxSNmBY4rk9YOWVNYbxczx8KK44JgXj VjBicORx0gsVmZnhiPJnNES7d7CyOJUPahVxEuTvmN5uRLJvxmq+rDsd8fwzdR6SIT/6 4med/M/Y0g8vzSHFLb++Q0h8+1yHbLvtDkJOuZNLAR1HEj9HNhSUHTfg+lvoghvQzlrm aCu6KNotF2iAN+OuYI7seEQCGb6PleQiglKXmtmttO72uzxnmB4ZmftGfiWp2K7Gk7N+ IZIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BtH88BUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne24si11637637pjb.106.2022.01.14.14.37.36; Fri, 14 Jan 2022 14:37:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BtH88BUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242682AbiANPT0 (ORCPT + 99 others); Fri, 14 Jan 2022 10:19:26 -0500 Received: from mga01.intel.com ([192.55.52.88]:57555 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239340AbiANPTO (ORCPT ); Fri, 14 Jan 2022 10:19:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642173554; x=1673709554; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gQypZeKb20iK6V4Fo2vqovMOcW37eXRpK9D4ZpMA80M=; b=BtH88BUhEmWlwFXXte+qLw3Vvhv3gqQk8ax+w+tSh2xstShTBvIDV56V PUsCKlImoNoj6t9b8S+UNiO0BR3jgJ7IY/cbAugfXLJNoOW4Sprdt2JsP zl6J1rREoHd4keoQ3+fBLgZH9RcNG/GdtqpMUxE2Q1U5X7k/QtPu23Gx4 PbVH6zuztG2ajbheN8fq/nneNzygRZ+qXiALSn5Ql8FXpYrMcHGWJYick c+osJESBMt+vxSnZqnCajDT8Hsw7+1MUBnfB8t8SovAWIECC6uh3Ksm4J xeUbUHUZ81YgYvHNGcjjd94PPxp7dHS3EwB+rm4QYWW/T6BxeZ8lbtHit w==; X-IronPort-AV: E=McAfee;i="6200,9189,10226"; a="268628145" X-IronPort-AV: E=Sophos;i="5.88,289,1635231600"; d="scan'208";a="268628145" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.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 Cc: Tomohito Esaki , dri-devel@lists.freedesktop.org, Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Ben Skeggs , Michel =?iso-8859-1?Q?D=E4nzer?= , Qingqing Zhuo , Bas Nieuwenhuizen , Mark Yacoub , Sean Paul , Evan Quan , Petr Mladek , Sakari Ailus , Lee Jones , Abhinav Kumar , Dmitry Baryshkov , Rob Clark , amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, Daniel Stone , Laurent Pinchart , Damian Hobson-Garcia , Takanari Hayama Subject: Re: [RFC PATCH v3 2/3] drm: add support modifiers for drivers whose planes only support linear layout 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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