https://github.com/torvalds/linux
Revision adbbdbac04f093c0abf946b1e93e4e5291808491 authored by Dave Airlie on 26 March 2014, 04:09:37 UTC, committed by Dave Airlie on 27 March 2014, 02:20:37 UTC
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 <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 347cf10
History
Tip revision: adbbdbac04f093c0abf946b1e93e4e5291808491 authored by Dave Airlie on 26 March 2014, 04:09:37 UTC
drm/nouveau: fail runtime pm properly.
Tip revision: adbbdba
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 267.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top