diff --git a/drivers/gpu/host1x/hw/channel_hw_t186.c b/drivers/gpu/host1x/hw/channel_hw_t186.c index 2b90ba63..256368f2 100644 --- a/drivers/gpu/host1x/hw/channel_hw_t186.c +++ b/drivers/gpu/host1x/hw/channel_hw_t186.c @@ -19,6 +19,7 @@ #include #include #include +#include #include @@ -194,6 +195,10 @@ static int channel_submit(struct host1x_job *job) syncpt = host1x_syncpt_get(host, job->syncpts[0].id); prev_max = host1x_syncpt_read_max(syncpt); + /* keep device powered on */ + for (i = 0; i < job->num_syncpts; ++i) + pm_runtime_get_sync(ch->dev); + /* get submit lock */ err = mutex_lock_interruptible(&ch->submitlock); if (err)