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

Alexandre Courbot gnurou at gmail.com
Sat Jul 26 02:41:38 PDT 2014


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.

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. :)

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



More information about the Nouveau mailing list