[Intel-gfx] [PATCH i-g-t] lib/igt_aux: Allow sysfs open to fail when setting suspend/resume delay

Arkadiusz Hiler arkadiusz.hiler at intel.com
Wed Aug 30 18:15:03 UTC 2017


On Wed, Aug 30, 2017 at 04:56:09PM +0300, Paul Kocialkowski wrote:
> This removes the igt_require condition on the sysfs open call used to
> write the suspend/resume delay so that it is allowed to fail. Intsead,
> the code that depends on it is put in a conditional block.
> 
> This allows running test binaries as a non-privileged user for e.g.
> listing the available tests with the SuspendResumeDelay parameter set
> in igtrc configuration. Sysfs access would otherwise cause it to fail.
> 
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski at linux.intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

and pushed

thanks for fixing it on a short notice!

-- 
Cheers,
Arek


More information about the Intel-gfx mailing list