Bug 92870

Summary: GF117M nvkm_pmu_pgob fault - v4.3 regression
Product: xorg Reporter: Wu Xiaotian <xiaotian.wu>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: NEW --- QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: marci_r
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
error message. none

Description Wu Xiaotian 2015-11-09 09:56:48 UTC
Created attachment 119500 [details]
error message.

Dell notebook vostro 2421, lspci output:
    Intel Corporation 3rd Gen Core processor Graphics Controller
    NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]

When use kernel 4.2.x, all is ok.

If use kernel 4.3.x, kernel panic. Please see attachment for more message.
Comment 1 Ilia Mirkin 2015-11-09 10:11:11 UTC
Interesting. The v4.3 kernel has:

void
nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable)
{
        if (pmu->func->pgob)
                pmu->func->pgob(pmu, enable);
}

But Ben's latest upstream has:

void
nvkm_pmu_pgob(struct nvkm_pmu *pmu, bool enable)
{
        if (pmu && pmu->func->pgob)
                pmu->func->pgob(pmu, enable);
}

And indeed it looks like the GF117 is missing a PMU definition. I have no idea why that'd be the case, but it was that way before the rewrite as well. The simplest thing is to fix up that function as above, but I think we may also want to enable the PMU on GF117.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.