mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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>
This commit is contained in:
parent
7ac1a36a98
commit
5b7239c17c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue