Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp577862ybz; Wed, 15 Apr 2020 14:24:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIbnaRFkxMk6MC4bgng1MrUK2ebmtMSbTVL8+cRawudgohos39btz7FwIQUMBXaskxt/cgz X-Received: by 2002:a17:906:3492:: with SMTP id g18mr6569536ejb.112.1586985886424; Wed, 15 Apr 2020 14:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586985886; cv=none; d=google.com; s=arc-20160816; b=QRpLl2gfB9YHCu5ldWnQ7A4V9bIJCiTqQYlnacdpK6R6a/UZy2/kaiNC/KSFClZ6/s x8PEfVTSbtr32HVbFyandq/yJtN/5XoVr6dinad9uFoOLSe+oq7hjHCKgLmHuzLIRIws cww/e/XOGOgieCW2vBbSeJPWIz8MEaa5LNLW7uQkRXsDJUFY0E9ISEMhsCTP2Nj+Iji6 adyc9o1UOMg8CNlEbXbWMB0LS57meiJLOYlvJI6bHUGeA6SKhaJmDo42w+W0ypBx7vD7 knvZeyEfN1TreoUNIq7VHDozTNF0spNH65k4laPwq8lAgxGZUb3eONLAh6HADPXsrv/o lm4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=lr/dsecnzdsTn/FFA/d5ZJMiV1ViWmhBoF5MihNuHyc=; b=Bu1l1b8VBe0jsvDaEotjHp0Mhbzg+3+CA+/7uTUxGon0BVHjVbNRmb1pP7TckswZy5 ptJbA5DxuYvPpAb1A8VeVksvq45qGH9WvYShessv0YpAxcJfrdjB/6uMI2KEFlSQ7yBV wYKuBTNq9jOST0+3vavzWjaRwOYBblflS9Pl8HptAsptEXHb0iOu9Cu1JyBAkTTkV51t Ch2jO+gpwGXg0geuGs3OsnhWCg4b4letOt7dIvo/mvXYLC9uGrSF77NwDorrWBdJUtyH QWJF+bQEjYmRxrLTbx9NWOjYxaQHh1Yw9aegjWqe+Q6reWoOHd+kMHQFjpZBKe2AQLFr ROzQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 g11si9247273edn.181.2020.04.15.14.24.23; Wed, 15 Apr 2020 14:24:46 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729602AbgDNLVQ (ORCPT + 99 others); Tue, 14 Apr 2020 07:21:16 -0400 Received: from mga11.intel.com ([192.55.52.93]:5622 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728758AbgDNLVN (ORCPT ); Tue, 14 Apr 2020 07:21:13 -0400 IronPort-SDR: fNMUvguwHjGPosPtqN7qT1OTZHVMJ7z+1V6Kse1SXGOrnLZT89CJTWWgz1T2mHNM7Rwu/bpwVO wcOL3B698itA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2020 04:21:12 -0700 IronPort-SDR: nBh+HDJOG1IQJScmUMIMFGy/LFqCdBemrRKIn7RuiyV93w4yPA5GwtKIR6yoVpjAtr89ryOHZW 3VEk34ZEzXzw== X-IronPort-AV: E=Sophos;i="5.72,382,1580803200"; d="scan'208";a="399921309" Received: from mdoerbec-mobl.ger.corp.intel.com (HELO localhost) ([10.252.38.76]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2020 04:21:09 -0700 From: Jani Nikula To: Simon Ser , Yussuf Khalil Cc: Thomas Zimmermann , David Airlie , "linux-kernel\@vger.kernel.org" , "dri-devel\@lists.freedesktop.org" Subject: Re: [PATCH 5/5] drm/i915: Replace "Broadcast RGB" with "RGB quantization range" property In-Reply-To: <87ftd6mi3e.fsf@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20200413214024.46500-1-dev@pp3345.net> <20200413214024.46500-6-dev@pp3345.net> <87ftd6mi3e.fsf@intel.com> Date: Tue, 14 Apr 2020 14:21:06 +0300 Message-ID: <87d08amhy5.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Apr 2020, Jani Nikula wrote: > On Mon, 13 Apr 2020, Simon Ser wrote: >> On Monday, April 13, 2020 11:40 PM, Yussuf Khalil wrote: >> >>> DRM now has a globally available "RGB quantization range" connector >>> property. i915's "Broadcast RGB" that fulfils the same purpose is now >>> considered deprecated, so drop it in favor of the DRM property. >> >> For a UAPI point-of-view, I'm not sure this is fine. Some user-space >> might depend on this property, dropping it would break such user-space. > > Agreed. > >> Can we make this property deprecated but still keep it for backwards >> compatibility? > > Would be nice to make the i915 specific property an "alias" for the new > property, however I'm not sure how you'd make that happen. Otherwise > juggling between the two properties is going to be a nightmare. Ah, the obvious easy choice is to use the property and enum names already being used by i915 and gma500, and you have no problem. Perhaps they're not the names you'd like, but then looking at the total lack of consistency across property naming makes them fit right in. ;) BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center