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>
Sat, 31 Mar 2018 14:54:13 +0000 (15:54 +0100)
commit16d7d09eb48ba2d87b2aea9874138ad01d8bc402
treeabf202e445ab416024fc4a69c600a3434cf56dfa
parent9cdb9caa87f134494c905781126e4f99b6ce67c6
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