commit | 163195fc12cae0c8b5c0d74d3ba8d2c5f81773bc | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Jul 26 13:47:12 2016 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Aug 19 19:17:30 2016 -0700 |
tree | fb1fae850e1adb11ae9ffe85faded1e53135d60c | |
parent | ece7267dccf0e9e08cb6e8dc6b7ad2be9c4eb444 [diff] |
drm/vc4: Fix handling of a pm_runtime_get_sync() success case. If the device was already up, a 1 is returned instead of 0. We were erroring out, leading the 3D driver to sometimes fail at screen initialization (generally with ENOENT returned to it). Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: af713795c59f ("drm/vc4: Add a getparam ioctl for getting the V3D identity regs.")