commit | 7f696942a7e52df2a99410bf23da513f9aad04fb | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon May 15 10:16:15 2017 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Jun 02 13:00:47 2017 -0700 |
tree | 561de493e2c66b2ec2933b59b6d38470dd6f3cf3 | |
parent | 71ae3df2445a6cb3a1c1980954ee79ac944165f8 [diff] |
drm/vc4: Mark the device as active when enabling runtime PM. Failing to do so meant that we got a resume() callback on first use of the device, so we would leak the bin BO that we allocated during probe. Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: 553c942f8b2c ("drm/vc4: Allow using more than 256MB of CMA memory.") Link: http://patchwork.freedesktop.org/patch/msgid/20170515171615.10168-1-eric@anholt.net Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>