drm/vc4: Mark the device as active when enabling runtime PM.
authorEric Anholt <eric@anholt.net>
Mon, 15 May 2017 16:28:36 +0000 (09:28 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:08:06 +0000 (01:08 +0000)
commit1bfb5e7b0901935b9f7f7702a8fd8da8490f1b86
treee3d5ecab8eea2acd1daf1b9230c25cdc2ed6d342
parentf1918afe0cc4ae64b51ee03bbebd7fb2b1ad5c82
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.")
drivers/gpu/drm/vc4/vc4_v3d.c