Re: [PATCH 2/2] venus: pm_helpers: Use dev_pm_genpd_set_hwmode to switch GDSC mode on V4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/11/2024 10:31, Renjiang Han wrote:
-	if (IS_V6(core))
+	if (IS_V6(core) || IS_V4(core))

sdm845 IS_V4()

The GDSCs for the clock OTOH are


static struct gdsc vcodec0_gdsc = {
        .gdscr = 0x874,
        .pd = {
                .name = "vcodec0_gdsc",
        },
        .cxcs = (unsigned int []){ 0x890, 0x930 },
        .cxc_count = 2,
        .flags = HW_CTRL | POLL_CFG_GDSCR,
        .pwrsts = PWRSTS_OFF_ON,
};

static struct gdsc vcodec1_gdsc = {
        .gdscr = 0x8b4,
        .pd = {
                .name = "vcodec1_gdsc",
        },
        .cxcs = (unsigned int []){ 0x8d0, 0x950 },
        .cxc_count = 2,
        .flags = HW_CTRL | POLL_CFG_GDSCR,
        .pwrsts = PWRSTS_OFF_ON,
};

I can't see how this series will work on 845.

---
bod




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux