summaryrefslogtreecommitdiff
path: root/mali_kbase/Mconfig
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2019-08-23 15:40:27 +0200
committerSidath Senanayake <sidaths@google.com>2019-08-23 15:40:27 +0200
commit869660680efaed77cec0414161640a6f1a85d5b2 (patch)
treed36678f523da5f9148c465c3b5d5ef058401a409 /mali_kbase/Mconfig
parent228451ed83f4840e863beff27b33ca9a460f820b (diff)
downloadgpu-869660680efaed77cec0414161640a6f1a85d5b2.tar.gz
Mali Valhall DDK r20p0 KMD
Provenance: f3deff212 (collaborate/EAC/v_r20p0) VX504X08X-BU-00000-r20p0-01rel0 - Android DDK Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: If3c1611d83966bcb25a85ad27638612c121cb545
Diffstat (limited to 'mali_kbase/Mconfig')
-rw-r--r--mali_kbase/Mconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/mali_kbase/Mconfig b/mali_kbase/Mconfig
index 60cb2a3..27e0d63 100644
--- a/mali_kbase/Mconfig
+++ b/mali_kbase/Mconfig
@@ -239,6 +239,30 @@ config MALI_REAL_HW
default y
default n if NO_MALI
+config MALI_HW_ERRATA_1485982_NOT_AFFECTED
+ bool "Disable workaround for BASE_HW_ISSUE_GPU2017_1336"
+ depends on MALI_MIDGARD && MALI_EXPERT
+ default n
+ default y if PLATFORM_JUNO
+ help
+ This option disables the default workaround for GPU2017-1336. The
+ workaround keeps the L2 cache powered up except for powerdown and reset.
+
+ The workaround introduces a limitation that will prevent the running of
+ protected mode content on fully coherent platforms, as the switch to IO
+ coherency mode requires the L2 to be turned off.
+
+config MALI_HW_ERRATA_1485982_USE_CLOCK_ALTERNATIVE
+ bool "Use alternative workaround for BASE_HW_ISSUE_GPU2017_1336"
+ depends on MALI_MIDGARD && MALI_EXPERT && !MALI_HW_ERRATA_1485982_NOT_AFFECTED
+ default n
+ help
+ This option uses an alternative workaround for GPU2017-1336. Lowering
+ the GPU clock to a, platform specific, known good frequeuncy before
+ powering down the L2 cache. The clock can be specified in the device
+ tree using the property, opp-mali-errata-1485982. Otherwise the
+ slowest clock will be selected.
+
# Instrumentation options.
# config MALI_JOB_DUMP exists in the Kernel Kconfig but is configured using CINSTR_JOB_DUMP in Mconfig.