drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idle
authorClément Péron <peron.clem@gmail.com>
Fri, 10 Jul 2020 09:53:58 +0000 (11:53 +0200)
committerRob Herring <robh@kernel.org>
Fri, 7 Aug 2020 16:11:26 +0000 (10:11 -0600)
commiteb9dd67249b55fd1fa3d7359be387ea2079247a6
tree6b1874410632a8ed958f3a51aae9aa95e2d4c06a
parent9713e942a539c55b5e0bc64ba83b736bda1087fe
drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idle

This use devfreq variable that will be lock with spinlock in future
patches. We should either introduce a function to access this one
but as devfreq is optional let's just remove it.

Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200710095409.407087-4-peron.clem@gmail.com
drivers/gpu/drm/panfrost/panfrost_job.c