From: Mikko Perttunen Date: Fri, 8 Jul 2022 15:18:01 +0000 (+0300) Subject: gpu: host1x: Initialize syncval in channel_submit() X-Git-Tag: v6.1-rc5~617^2~14^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b7239c17ce29b4ffea90a5731d56bd8a3893960;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Thierry Reding --- diff --git a/drivers/gpu/host1x/hw/channel_hw.c b/drivers/gpu/host1x/hw/channel_hw.c index 4eb7fb2..732abe0 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);