]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Add support for multiple power domains
authorNicolas Boichat <drinkcat@chromium.org>
Fri, 7 Feb 2020 05:26:25 +0000 (13:26 +0800)
committerRob Herring <robh@kernel.org>
Tue, 25 Feb 2020 20:35:35 +0000 (14:35 -0600)
commitc0aa4de5da6ab410cc598cdfefee0088aab4aefd
tree3b52f7f7f579667bc7905582a9147c35d30c0e34
parentc4566eb2c0122f081c96a6efd461b8402abb14a7
drm/panfrost: Add support for multiple power domains

When there is a single power domain per device, the core will
ensure the power domain is switched on (so it is technically
equivalent to having not power domain specified at all).

However, when there are multiple domains, as in MT8183 Bifrost
GPU, we need to handle them in driver code.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207052627.130118-6-drinkcat@chromium.org
drivers/gpu/drm/panfrost/panfrost_device.c
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_drv.c