]> asedeno.scripts.mit.edu Git - linux.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)
commitdf0dff132905974697e2a19aa8bcc0ecc447c00e
tree9545cdb4706b36754261fea47d7eea915285fe14
parent32aa27e15c28d3898ed6f9b3c98f95f34a81eab2
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