summaryrefslogtreecommitdiff
path: root/drivers/media/platform/qcom/venus/hfi_venus_io.h
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2018-07-05 16:03:36 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-25 15:40:36 +0300
commitf04997bdca34221c5e953df40999c4c92edb4e0b (patch)
tree375e1eb49ede6ac8314d52cfcd30d1489b5e392f /drivers/media/platform/qcom/venus/hfi_venus_io.h
parentea8afbabc25ade9aa34da01ffbba8085ab46ca48 (diff)
downloadlinux-f04997bdca34221c5e953df40999c4c92edb4e0b.tar.xz
media: venus: hfi: preparation to support venus 4xx
This covers the differences between 1xx,3xx and 4xx. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/venus/hfi_venus_io.h')
-rw-r--r--drivers/media/platform/qcom/venus/hfi_venus_io.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/platform/qcom/venus/hfi_venus_io.h b/drivers/media/platform/qcom/venus/hfi_venus_io.h
index 98cc350113ab..d327b5cea334 100644
--- a/drivers/media/platform/qcom/venus/hfi_venus_io.h
+++ b/drivers/media/platform/qcom/venus/hfi_venus_io.h
@@ -110,4 +110,11 @@
#define WRAPPER_CPU_STATUS (WRAPPER_BASE + 0x2014)
#define WRAPPER_SW_RESET (WRAPPER_BASE + 0x3000)
+/* Venus 4xx */
+#define WRAPPER_VCODEC0_MMCC_POWER_STATUS (WRAPPER_BASE + 0x90)
+#define WRAPPER_VCODEC0_MMCC_POWER_CONTROL (WRAPPER_BASE + 0x94)
+
+#define WRAPPER_VCODEC1_MMCC_POWER_STATUS (WRAPPER_BASE + 0x110)
+#define WRAPPER_VCODEC1_MMCC_POWER_CONTROL (WRAPPER_BASE + 0x114)
+
#endif