[Intel-gfx] [PATCH] drm/i915: add psr toggle to debugfs

Daniel Vetter daniel at ffwll.ch
Fri Mar 13 12:01:30 PDT 2015


On Fri, Mar 13, 2015 at 7:10 PM, Eric Caruso <ejcaruso at chromium.org> wrote:
> This patch allows userspace to toggle PSR through a debugfs interface.
> It adds functionality to write 0 or 1 to the existing
> i915_edp_psr_status file in order to change the relevant module
> parameter and enable/disable PSR.
>
> Previous upstream feedback did not like making it a connector property
> or putting it in sysfs because that would require API stability going
> forward. debugfs interfaces do not have this restriction.
>
> Signed-off-by: Eric Caruso <ejcaruso at chromium.org>

What do we need this for? debugfs is generally for debugging (where
the module option should be enough) and for testcases (which doesn't
seem to be the case here).
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list