disp: msm: sde: add support for split VBIF clock access

From Kalama onwards, the VBIF CLK_CTRL register has been moved from TOP block
to individual hardware block memory range.

This change is adding a backward compatible solution to support
per block VBIF CLK_CTRL access by allowing each HW block to register
set of callback ops. Additionally, it adds DMA and IPCC/MSI VBIF CLK_CTRL
block type.

Change-Id: Ia82ced34cfa1636b57cd1c03b327faf923be482a
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
Amine Najahi
2021-08-12 11:26:16 -04:00
parent 15342a23fe
commit ca4acd5270
5 ha cambiato i file con 219 aggiunte e 20 eliminazioni

Vedi File

@@ -35,6 +35,7 @@
#include "sde_hw_wb.h"
#include "sde_hw_top.h"
#include "sde_hw_uidle.h"
#include "sde_hw_vbif.h"
#include "sde_rm.h"
#include "sde_power_handle.h"
#include "sde_irq.h"
@@ -283,6 +284,7 @@ struct sde_kms {
struct sde_rm rm;
bool rm_init;
struct sde_splash_data splash_data;
struct sde_vbif_clk_client vbif_clk_clients[SDE_CLK_CTRL_MAX];
struct sde_hw_vbif *hw_vbif[VBIF_MAX];
struct sde_hw_mdp *hw_mdp;
struct sde_hw_uidle *hw_uidle;