[PATCH] drm/nouveau: fail runtime pm properly.

2014-03-26 Thread Dave Airlie
From: Dave Airlie If we were on a non-optimus device, we'd return -EINVAL, this would lead to the over engineered runtime pm system to go into an error state, subsequent get_sync's would fail, so we'd never be able to open the device again. (like really get_sync shouldn't fail if the device isn'

[PATCH] drm/nouveau: fail runtime pm properly.

2014-03-26 Thread Alex Deucher
On Wed, Mar 26, 2014 at 12:09 AM, Dave Airlie wrote: > From: Dave Airlie > > If we were on a non-optimus device, we'd return -EINVAL, this would > lead to the over engineered runtime pm system to go into an error > state, subsequent get_sync's would fail, so we'd never be able > to open the devic