aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/vc4_validate_shaders.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-07-26 20:47:12 +0000
committerEric Anholt <[email protected]>2016-08-20 02:17:30 +0000
commit163195fc12cae0c8b5c0d74d3ba8d2c5f81773bc (patch)
treefb1fae850e1adb11ae9ffe85faded1e53135d60c /drivers/gpu/drm/vc4/vc4_validate_shaders.c
parentdrm/vc4: Use drm_malloc_ab to fix large rendering jobs. (diff)
downloadkernel-163195fc12cae0c8b5c0d74d3ba8d2c5f81773bc.tar.gz
kernel-163195fc12cae0c8b5c0d74d3ba8d2c5f81773bc.zip
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 <[email protected]> Fixes: af713795c59f ("drm/vc4: Add a getparam ioctl for getting the V3D identity regs.")
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate_shaders.c')
0 files changed, 0 insertions, 0 deletions