[Nouveau] [PATCH v2 0/3] drm/gk20a: support for reclocking

Ben Skeggs skeggsb at gmail.com
Mon Aug 4 16:55:10 PDT 2014


On Sat, Jul 26, 2014 at 7:41 PM, Alexandre Courbot <gnurou at gmail.com> wrote:
> Second version of the gk20a clock patches. I have tried to keep the therm and
> volt devices mandatory in the clock driver, but unfortunately they are too tied
> to bios to allow this, at least for the moment. Consequently this version is
> mostly a port of the first version to Ben's tree.
I've merged the series, thanks Alex.

>
> Ben, please let me know what I have done wrong in terms of integration to your
> tree, as the main purpose of writing patches against it instead of the kernel
> is to make your life easier. :)
I honestly don't mind at all if you completely ignore the non-DRM
build and leave it to me to fix up.  I personally use the userspace
build quite a lot for dev/testing, but don't at all expect others to,
or to maintain it.  But thank you for bothering :)

In any case, it was *almost* (clk_get_rate() was missing) fine.  I
left a patch in the tree of what I changed, and I'll squash it before
it goes to -staging.

Thanks again,
Ben.

>
> Alexandre Courbot (3):
>   clk: make therm and volt devices optional
>   clk: support for non-BIOS pstates
>   gk20a: reclocking support
>
>  drm/Kbuild                      |   1 +
>  drm/core/os.h                   |   1 +
>  drm/core/subdev/clock/gk20a.c   |   1 +
>  drm/core/subdev/fb/ramgk20a.h   |   1 +
>  drm/core/subdev/instmem/gk20a.c |   1 +
>  lib/core/os.h                   |  10 +
>  nvkm/engine/device/nve0.c       |   1 +
>  nvkm/include/subdev/clock.h     |   9 +-
>  nvkm/subdev/clock/Makefile.am   |   1 +
>  nvkm/subdev/clock/base.c        |  52 ++--
>  nvkm/subdev/clock/gk20a.c       | 665 ++++++++++++++++++++++++++++++++++++++++
>  nvkm/subdev/clock/nv04.c        |   4 +-
>  nvkm/subdev/clock/nv40.c        |   4 +-
>  nvkm/subdev/clock/nv50.c        |   2 +-
>  nvkm/subdev/clock/nva3.c        |   4 +-
>  nvkm/subdev/clock/nvaa.c        |   4 +-
>  nvkm/subdev/clock/nvc0.c        |   4 +-
>  nvkm/subdev/clock/nve0.c        |   4 +-
>  18 files changed, 735 insertions(+), 34 deletions(-)
>  create mode 120000 drm/core/subdev/clock/gk20a.c
>  create mode 120000 drm/core/subdev/fb/ramgk20a.h
>  create mode 120000 drm/core/subdev/instmem/gk20a.c
>  create mode 100644 nvkm/subdev/clock/gk20a.c
>
> --
> 2.0.2
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau


More information about the Nouveau mailing list