From: Dave Airlie Date: Wed, 26 Mar 2014 04:09:37 +0000 (+1000) Subject: drm/nouveau: fail runtime pm properly. X-Git-Tag: v3.14~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adbbdbac04f093c0abf946b1e93e4e5291808491;p=pandora-kernel.git drm/nouveau: fail runtime pm properly. 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't powered down). Signed-off-by: Dave Airlie Reviewed-by: Alex Deucher --- Reading git-diff-tree failed