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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 7866AC35242 for ; Sat, 8 Feb 2020 17:07:14 +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 54E9820733 for ; Sat, 8 Feb 2020 17:07:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 54E9820733 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=chris-wilson.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D266D6E39E; Sat, 8 Feb 2020 17:07:13 +0000 (UTC) Received: from fireflyinternet.com (unknown [77.68.26.236]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D6216E39E for ; Sat, 8 Feb 2020 17:07:11 +0000 (UTC) X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 20159542-1500050 for multiple; Sat, 08 Feb 2020 17:06:39 +0000 MIME-Version: 1.0 To: Andi Shyti From: Chris Wilson In-Reply-To: <20200208170153.GB32188@jack.zhora.eu> References: <20200208122759.30833-1-andi@etezian.org> <158117917844.18291.12433280872368810807@skylake-alporthouse-com> <20200208165139.GA32188@jack.zhora.eu> <158118102661.18291.13808402197936060238@skylake-alporthouse-com> <20200208170153.GB32188@jack.zhora.eu> Message-ID: <158118159751.18291.5299528510826622998@skylake-alporthouse-com> User-Agent: alot/0.6 Date: Sat, 08 Feb 2020 17:06:37 +0000 Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: make a gt sysfs group and move power management files X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Intel GFX Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Quoting Andi Shyti (2020-02-08 17:01:53) > Hi Chris, > > > > > > The GT has its own properties and in sysfs they should be grouped > > > > > in the 'gt/' directory. > > > > > > > > > > Create the 'gt/' directory in sysfs and move the power management > > > > > related files. > > > > > > > > As shown by BAT, we have a conundrum; do we have to preserve the old > > > > names forevermore? Or do we just userspace that they have to adapt? > > > > > > With this, I guess you are suggesting to change igt accordingly, > > > because I'm pretty sure this interface is subject to change, > > > sooner or later. > > > > Right; but what about powertop? And the bajillion wikis? > > mmhhh... right! > > > Just feels clumsy, so I'd like to spend a moment to see if we can think > > of any options before dropping them. No matter how silly, if userspace > > breaks, it's a regression :( > > > > Maybe we could do something like keep the old ones and put a deprecation > > warning in? > > how about linking and declare the old interface obsolete? Is a possibility, but I'm not keen on having more and more dangling symlinks. 1. Do nothing; have redundant files. 2. Remove them, expect complaints. 3. Mark them as deprecated, remove in 5.9? 4. Symlinks forevermore (not clear if we can symlink and emit a warning) 5. Profit? -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx