From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH] drm/i915: Add a DRM property "psr" Date: Thu, 20 Mar 2014 12:52:23 +0200 Message-ID: <87r45xw3a0.fsf@intel.com> References: <1395172267-9203-1-git-send-email-sivachandra@chromium.org> <20140318130620.07fa8680@jbarnes-desktop> <20140319084438.GM30571@phenom.ffwll.local> <20140319150338.GA27717@strange.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FF826E01C for ; Thu, 20 Mar 2014 03:52:13 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Siva Chandra , Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 19 Mar 2014, Siva Chandra wrote: > On Wed, Mar 19, 2014 at 8:03 AM, Damien Lespiau > wrote: >> On Wed, Mar 19, 2014 at 09:44:38AM +0100, Daniel Vetter wrote: >>> On Tue, Mar 18, 2014 at 01:53:56PM -0700, Siva Chandra wrote: >>> > We are testing a few PSR panels; Having a knob to turn PSR on and off >>> > would be of great convenience for manual testing and for test scripts. >>> >>> Is the module param not good enough for that? Iirc we recheck that every >>> time ... >> >> (the module parameter is accessible through a file in sysfs: >> /sys/module/i915/parameters/enable_psr) > > As I mentioned in the other mail, this param is not active and I > couldn't think of any neat solution to make it active. > >> Alternatively, doesn't it look like something that belongs to debugfs? >> ie not an API with a stability guarantee? > > PSR is part of the eDP standard now. Also, we are only bringing in an > on/off knob. Is really going to cause us stability issues? The point is, if we add this, we need to support and maintain it until the end of time, i.e. the ABI must remain stable. It is quite a commitment to make. If this is for testing only, and the module parameter does not quite cut it, please add it to debugfs. That we can pretty much change at will. BR, Jani. > > Thanks, > Siva Chandra > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Jani Nikula, Intel Open Source Technology Center