All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] introduce DVFS for GK20A
@ 2014-12-18  6:28 Vince Hsu
       [not found] ` <1418884092-14448-1-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Vince Hsu @ 2014-12-18  6:28 UTC (permalink / raw)
  To: bskeggs-H+wXaHxf7aLQT0dZR+AlfA, martin.peres-GANU6spQydw,
	seven-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w
  Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi,

This is a try to have some simple DVFS (Dynamic Voltage and Frequency Scaling)
support for GK20A. Instead of relying on other existing frequency scaling
framework, we create a simple subdev in Nouveau for the same purpose. That's
because we don't want to make the DVFS implementation for GK20A far more
than enough in the beginning and hinder the implementation for dGPU in the
future.

Thanks,
Vince

Vince Hsu (3):
  clk: allow non-blocking for nouveau_clock_astate()
  dvfs: add support for GK20A
  clk: allow users to enable auto mode when loading driver

 drm/Kbuild                     |   2 +
 drm/core/include/subdev/dvfs.h |   1 +
 drm/core/subdev/dvfs/base.c    |   1 +
 drm/core/subdev/dvfs/gk20a.c   |   1 +
 drm/core/subdev/dvfs/priv.h    |   1 +
 nvkm/engine/device/nve0.c      |   2 +
 nvkm/include/core/device.h     |   1 +
 nvkm/include/subdev/clock.h    |   2 +-
 nvkm/include/subdev/dvfs.h     |  30 ++++++++
 nvkm/subdev/Makefile.am        |   5 +-
 nvkm/subdev/clock/base.c       |   7 +-
 nvkm/subdev/dvfs/Makefile.am   |   6 ++
 nvkm/subdev/dvfs/base.c        | 129 ++++++++++++++++++++++++++++++++++
 nvkm/subdev/dvfs/gk20a.c       | 156 +++++++++++++++++++++++++++++++++++++++++
 nvkm/subdev/dvfs/priv.h        |  43 ++++++++++++
 15 files changed, 382 insertions(+), 5 deletions(-)
 create mode 120000 drm/core/include/subdev/dvfs.h
 create mode 120000 drm/core/subdev/dvfs/base.c
 create mode 120000 drm/core/subdev/dvfs/gk20a.c
 create mode 120000 drm/core/subdev/dvfs/priv.h
 create mode 100644 nvkm/include/subdev/dvfs.h
 create mode 100644 nvkm/subdev/dvfs/Makefile.am
 create mode 100644 nvkm/subdev/dvfs/base.c
 create mode 100644 nvkm/subdev/dvfs/gk20a.c
 create mode 100644 nvkm/subdev/dvfs/priv.h

-- 
1.9.1

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-19  1:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-18  6:28 [RFC PATCH 0/3] introduce DVFS for GK20A Vince Hsu
     [not found] ` <1418884092-14448-1-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-12-18  6:28   ` [RFC PATCH 1/3] clk: allow non-blocking for nouveau_clock_astate() Vince Hsu
2014-12-18  6:28   ` [RFC PATCH 2/3] dvfs: add support for GK20A Vince Hsu
     [not found]     ` <1418884092-14448-3-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-12-18  9:34       ` Ben Skeggs
     [not found]         ` <CACAvsv6ZaDf2YUvdK_HNtO4FA-K0nr7G5qvvunKbrkDWfrvfig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-18 10:13           ` Vince Hsu
     [not found]             ` <5492A8E6.1040508-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-12-18 10:25               ` Ben Skeggs
     [not found]                 ` <CACAvsv76LkHkk-1Z+pBwNO=81nUgVBcdyhaEWCrt3nfO_2YjyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-18 10:37                   ` Vince Hsu
2014-12-18 19:33                   ` Samuel Pitoiset
     [not found]                     ` <54932C04.6030506-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-19  1:25                       ` Vince Hsu
2014-12-18  6:28   ` [RFC PATCH 3/3] clk: allow users to enable auto mode when loading driver Vince Hsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.