OSDN Git Service

drm/tegra: Boot VIC during runtime PM resume
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 10 Jun 2021 11:04:49 +0000 (14:04 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 10 Aug 2021 12:48:30 +0000 (14:48 +0200)
commit9916612311a777cdf15a53491243589ea4fcc4e7
tree52bc22789f1021d18d029bef979aa5009219b2d8
parent57e203953d150e6304ab6936bd2d9aa2daa687f4
drm/tegra: Boot VIC during runtime PM resume

With the new UAPI implementation, engines are powered on and off
when there are active jobs, and the core code handles channel
allocation. To accommodate that, boot the engine as part of
runtime PM instead of using the open_channel callback, which is
not used by the new submit path.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/vic.c