commit | 2efd3908517d0d32014dd88ccece9f40c3c4e13a | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Fri Feb 12 14:22:17 2016 +0900 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Mar 14 10:13:55 2016 +1000 |
tree | da174a92ebd85aaab38813709e8c319d6a163a1d | |
parent | 195c113773c50fbc2bbe319d48ce82e43d9ff09c [diff] |
drm/nouveau/clk/gk20a: split gk20a_clk_new() This allows to instanciate drivers that use the same logic as gk20a with different parameters. Add a constructor function to allow other chips that inherit from this clock to easily initialize its members Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>