media: venus: core: Add io base variables for each block
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 2 Apr 2021 10:06:27 +0000 (12:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 6 Apr 2021 13:21:10 +0000 (15:21 +0200)
commitb4053a2097ec2f8ea622e817ae5a46a83b23aefe
treeacdd007ae18305a97c127c4a93a971bb388b9f98
parent0aeabfa29a9cb5b0fa62b9edc530da0ed114034f
media: venus: core: Add io base variables for each block

New silicon means that the pre-determined offsets we have been using
in this driver no longer hold. Existing blocks of registers can exist at
different offsets relative to the IO base address.

This commit adds a routine to assign the IO base hooks a subsequent commit
will convert from absolute to relative addressing.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/core.c
drivers/media/platform/qcom/venus/core.h