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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 733B9C47080 for ; Mon, 31 May 2021 17:00:07 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1691F61042 for ; Mon, 31 May 2021 17:00:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1691F61042 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=emersion.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F18E6E195; Mon, 31 May 2021 17:00:06 +0000 (UTC) Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) by gabe.freedesktop.org (Postfix) with ESMTPS id 578E96E195 for ; Mon, 31 May 2021 17:00:05 +0000 (UTC) Date: Mon, 31 May 2021 16:59:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1622480402; bh=6LG/hJF7Ud6Kg+P4M2rWvClciU5IL5IYVh6FJfAO3iM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=NOezI+7Gmj5HdJ4Izuqj7dwZsJEvhSZ5FyPWCcTRJ2xxHPxrxoDKvkfc9i2ZXOdh8 kaNH1zzCQByPVfRpzSeqPYB7Ta6UAzNNQRltJwpVkKCOncrIjaq6fBi+oy0IWcpMoM ATYGG2zwy12QkBPQRgt0tKlyBh98dl7KwMzE1S0LPWjOpSrDGeDnoJ85e7FdDPzJA+ Oa0LMRkch9nj5rPqi7xTuPnsNVr+w+LyO1pSpFLGZkVngWCblnK0zfHiJ7vaAo3UC6 QBtr1yfb1ykCcYF6nZbbfn08YMGoDnuNiMjGicXHBQGA+prRxRP0IOEi4BMQoWKh/7 AvzbVbyDktMZA== To: Pekka Paalanen From: Simon Ser Subject: Re: [PATCH 3/3] drm: document minimum kernel version for DRM_CLIENT_CAP_* Message-ID: In-Reply-To: <20210520111733.7f44a492@eldfell> References: <8tBryxsjXiKtYZP4whnTumr2AsWx9X1xPmwFAdp5Nc@cp4-web-037.plabs.ch> <20210520111733.7f44a492@eldfell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Simon Ser Cc: dri-devel@lists.freedesktop.org, Daniel Stone Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thursday, May 20th, 2021 at 10:17 AM, Pekka Paalanen wrote: > I think adding "for all drivers" would make things much more clear, > like in the other cases you mention "atomic-capable drivers". Good point, done. > > @@ -797,6 +802,13 @@ struct drm_get_cap { > > * If set to 1, the DRM core will expose atomic properties to userspac= e. This > > * implicitly enables &DRM_CLIENT_CAP_UNIVERSAL_PLANES and > > * &DRM_CLIENT_CAP_ASPECT_RATIO. > > Wait, why does atomic turn on aspect ratio? That's surprising, > since I wouldn't think that atomic depends on aspect ratio features. Yes. I guess the motivation was to make sure new user-space can deal with these?