[Nouveau] [PATCH 1/2] pmu/gk20a: add dummy func

Alexandre Courbot gnurou at gmail.com
Thu Sep 3 00:09:40 PDT 2015


On Thu, Sep 3, 2015 at 4:07 PM, Ben Skeggs <skeggsb at gmail.com> wrote:
> On 3 September 2015 at 16:32, Alexandre Courbot <acourbot at nvidia.com> wrote:
>> Some parts of the driver expect the PMU to have a func member, so set
>> one for GK20A to avoid NULL pointer derefences.
> This part should already be done in the current code.

Ah indeed, it was right before my eyes:

    static const struct nvkm_pmu_func func = {};
...
    pmu->base.func = &func;

Dropping this patch, sorry about the noise.


More information about the Nouveau mailing list