summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_gpuprops.c
diff options
context:
space:
mode:
authorSidath Senanayake <sidaths@google.com>2017-01-24 10:48:35 +0100
committerSidath Senanayake <sidaths@google.com>2020-08-14 14:39:08 +0100
commit44e8be9a3714ef2c7ce5a7b24d5428a9be72b17b (patch)
treed283bab2da22d3e4523d29892cdfc74aff3c53aa /mali_kbase/mali_kbase_gpuprops.c
parent5f133f2dc7f7893f62b63f6889112c985673c502 (diff)
downloadgpu-44e8be9a3714ef2c7ce5a7b24d5428a9be72b17b.tar.gz
Mali Bifrost DDK r4p0 KMD
Provenance: e126eb313 (collaborate/EAC/b_r4p0) BX304L01B-BU-00000-r4p0-01rel0 BX304L06A-BU-00000-r4p0-01rel0 BX304X07X-BU-00000-r4p0-01rel0 Signed-off-by: Sidath Senanayake <sidaths@google.com> Change-Id: Ibcec32b4736e66dab9ee6ba68704336354e9a1f3
Diffstat (limited to 'mali_kbase/mali_kbase_gpuprops.c')
-rw-r--r--mali_kbase/mali_kbase_gpuprops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mali_kbase/mali_kbase_gpuprops.c b/mali_kbase/mali_kbase_gpuprops.c
index 0fb26d9..ceba27c 100644
--- a/mali_kbase/mali_kbase_gpuprops.c
+++ b/mali_kbase/mali_kbase_gpuprops.c
@@ -322,6 +322,8 @@ void kbase_gpuprops_set_features(struct kbase_device *kbdev)
/*
* Copy the raw value from the register, later this will get turned
* into the selected coherency mode.
+ * Additionally, add non-coherent mode, as this is always supported.
*/
- gpu_props->raw_props.coherency_mode = regdump.coherency_features;
+ gpu_props->raw_props.coherency_mode = regdump.coherency_features |
+ COHERENCY_FEATURE_BIT(COHERENCY_NONE);
}