disp: msm: sde: add support for display emulation on RUMI.

Add support display emulation targets on RUMI

This change does the following:
-parse dt node to enable display emulation mode.
-use sde_reg_read for pool timeout ops and debug fs dump.
-increases the kickoff timeout when emulation is enabled.
-bypass AXI halt operation when emulation is enabled.

Change-Id: Idc493964c0b8fc89f5d85fcc5755e0874a12d211
Signed-off-by: Amine Najahi <quic_anajahi@quicinc.com>
This commit is contained in:
Amine Najahi
2022-01-20 17:09:14 -05:00
committed by Alex Danila
szülő 249b73b0c7
commit 11672b46fc
12 fájl változott, egészen pontosan 69 új sor hozzáadva és 126 régi sor törölve

Fájl megtekintése

@@ -247,16 +247,13 @@ static int sde_hw_pp_poll_timeout_wr_ptr(struct sde_hw_pingpong *pp,
{
struct sde_hw_blk_reg_map *c;
u32 val;
int rc;
if (!pp)
return -EINVAL;
c = &pp->hw;
rc = readl_poll_timeout(c->base_off + c->blk_off + PP_LINE_COUNT,
val, (val & 0xffff) >= 1, 10, timeout_us);
return rc;
return read_poll_timeout(sde_reg_read, val, (val & 0xffff) >= 1,
10, false, timeout_us, c, PP_LINE_COUNT);
}
static void sde_hw_pp_dsc_enable(struct sde_hw_pingpong *pp)