]> 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)
commita43cee406c60de78aca9683dd4a3fe5a6c6225ea
tree9545cdb4706b36754261fea47d7eea915285fe14
parent67ace0aa874fe5c56ad181eb56ac1b3125fbd69a
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