]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/a6xx: Poll for HFI responses
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 20 Sep 2018 23:04:43 +0000 (17:04 -0600)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:55 +0000 (20:24 -0400)
commitcd956a7ce59ebf65dadeb00b620b4f3d6b302de6
tree9545cdb4706b36754261fea47d7eea915285fe14
parent80e63dbcfdad45834b06c3415a683d7f5d9b3202
drm/msm/a6xx: Poll for HFI responses

The only HFI communication with the GMU on sdm845 happens
during initialization and all commands are synchronous. A fancy
interrupt tasklet and associated infrastructure is entirely
not eeded and puts us at the mercy of the scheduler.

Instead poll for the message signal and handle the response
immediately and go on our way.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/a6xx_gmu.h
drivers/gpu/drm/msm/adreno/a6xx_hfi.c