]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Remove core stack power management
authorSteven Price <steven.price@arm.com>
Thu, 9 Jan 2020 13:31:04 +0000 (13:31 +0000)
committerRob Herring <robh@kernel.org>
Tue, 21 Jan 2020 16:30:09 +0000 (10:30 -0600)
commitaface9d86b06cffff139a6f5919fbf988b80044f
tree01f1e05ce1e772dcae3e072b38512938c8e95033
parent0bfc0883bd0cf4ef2a78ec9c3268e32c21be37c9
drm/panfrost: Remove core stack power management

Explicit management of the GPU's core stacks is only necessary in the
case of a broken integration with the PDC. Since there are no known
platforms which have such a broken integration let's remove the explicit
control from the driver since this apparently causes problems on other
platforms and will have a small performance penality.

The out of tree mali_kbase driver contains this text regarding
controlling the core stack (CONFIGMALI_CORESTACK):

  Enabling this feature on supported GPUs will let the driver powering
  on/off the GPU core stack independently without involving the Power
  Domain Controller. This should only be enabled on platforms which
  integration of the PDC to the Mali GPU is known to be problematic.
  This feature is currently only supported on t-Six and t-HEx GPUs.

  If unsure, say N.

Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200109133104.11661-1-steven.price@arm.com
drivers/gpu/drm/panfrost/panfrost_gpu.c