diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-07-08 18:18:01 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 17:35:19 +0200 |
commit | 5b7239c17ce29b4ffea90a5731d56bd8a3893960 (patch) | |
tree | 4f7557b3334dde7b699a67833d3c8dd1d512815c /drivers/gpu/host1x | |
parent | 7ac1a36a9823a573ad23ece58007a74b8089fe16 (diff) | |
download | lwn-5b7239c17ce29b4ffea90a5731d56bd8a3893960.tar.gz lwn-5b7239c17ce29b4ffea90a5731d56bd8a3893960.zip |
gpu: host1x: Initialize syncval in channel_submit()
During the refactoring of channel_submit(), assignment of syncval was
moved but it is also used in channel_submit(). Add this assignment back
to channel_submit() as well.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r-- | drivers/gpu/host1x/hw/channel_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/channel_hw.c b/drivers/gpu/host1x/hw/channel_hw.c index 4eb7fb2e4f0a..732abe0750ff 100644 --- a/drivers/gpu/host1x/hw/channel_hw.c +++ b/drivers/gpu/host1x/hw/channel_hw.c @@ -319,6 +319,7 @@ static int channel_submit(struct host1x_job *job) } channel_program_cdma(job); + syncval = host1x_syncpt_read_max(sp); /* end CDMA submit & stash pinned hMems into sync queue */ host1x_cdma_end(&ch->cdma, job); |