mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
0202a665bf
driver will enable the vpu core when request the first instance
on the core.
one vpu core can only support 8 streaming instances in the same
time, the instance won't be added to core's list before streamon.
so the actual instance count may be greater then the number in
the core's list.
in pm resume callback, driver will resume the core immediately if
core's list is not empty.
but this check is not accurate,
if suspend during one instance is requested, but not streamon,
then after suspend, the core won't be resume, and led to instance failure.
use the request_count instead of the core's list to check
whether is the core needed to resume immediately after suspend.
And it can make the pm suspend and resume callback more clear.
Fixes:
|
||
---|---|---|
.. | ||
allegro-dvt | ||
amlogic | ||
amphion | ||
aspeed | ||
atmel | ||
cadence | ||
chips-media | ||
intel | ||
marvell | ||
mediatek | ||
nvidia | ||
nxp | ||
qcom | ||
renesas | ||
rockchip | ||
samsung | ||
st | ||
sunxi | ||
ti | ||
via | ||
xilinx | ||
Kconfig | ||
m2m-deinterlace.c | ||
Makefile | ||
video-mux.c |