linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Tegra EMC clock scaling API
@ 2012-12-14 20:14 Lucas Stach
       [not found] ` <1355516086-11116-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Lucas Stach @ 2012-12-14 20:14 UTC (permalink / raw)
  To: linux-tegra-u79uwXL29TY76Z2rM5mHXA
  Cc: Thierry Reding, Stephen Warren, Mark Zhang

This series is more of a RFC, but is working pretty well already.

It adds a new API to control EMC performance. There are two new
functions added, to provide memory clients with a way to
communicate their memory performance demands to the EMC.
Documentation can be found inline.

I've tested this on my Colibri T20 with a memory config with the
following DDR clock rates: 88.25MHz, 133.2MHz, 166.5MHz, 333MHz.

I've verified that CPU clock changes toggle EMC clock changes, just
like before the change. Also with a 1080p display attached DDR
clock rate stays at 133,2MHz to satisfy the bandwidth demand of
the scanout.

With the series applied I no longer see display corruption caused
by FIFO underflow, while keeping the ability to demand scale the
EMC clockrate.

Lucas Stach (3):
  ARM: tegra: add EMC clock scaling API
  ARM: tegra: use new EMC clock scaling API in CPUfreq driver
  ARM: tegra: drm: use new EMC clock scaling API to reserve DC
    bandwidth

 arch/arm/mach-tegra/cpu-tegra.c        | 15 +++---
 arch/arm/mach-tegra/tegra2_emc.c       | 84 ++++++++++++++++++++++++++++++++--
 drivers/gpu/drm/tegra/dc.c             | 11 +++++
 include/memory/tegra_emc_performance.h | 79 ++++++++++++++++++++++++++++++++
 4 Dateien geändert, 179 Zeilen hinzugefügt(+), 10 Zeilen entfernt(-)
 create mode 100644 include/memory/tegra_emc_performance.h

-- 
1.7.11.7

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

end of thread, other threads:[~2012-12-19  3:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-14 20:14 [PATCH 0/3] Tegra EMC clock scaling API Lucas Stach
     [not found] ` <1355516086-11116-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2012-12-14 20:14   ` [PATCH 1/3] ARM: tegra: add " Lucas Stach
     [not found]     ` <1355516086-11116-2-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2012-12-17 11:08       ` Mark Zhang
     [not found]         ` <50CEFD28.7080601-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-17 11:18           ` Mark Zhang
     [not found]             ` <50CEFF8B.5030901-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-17 11:23               ` Lucas Stach
2012-12-17 11:22           ` Lucas Stach
2012-12-18  8:09             ` Mark Zhang
     [not found]               ` <50D024B7.400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-18  9:11                 ` Lucas Stach
2012-12-18 11:50                   ` Mark Zhang
     [not found]                     ` <50D05891.3070006-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-18 12:02                       ` Lucas Stach
2012-12-19  3:21                         ` Mark Zhang
2012-12-17 21:23       ` Stephen Warren
     [not found]         ` <50CF8D51.6020208-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-12-17 21:43           ` Lucas Stach
2012-12-17 21:57             ` Stephen Warren
2012-12-14 20:14   ` [PATCH 2/3] ARM: tegra: use new EMC clock scaling API in CPUfreq driver Lucas Stach
2012-12-14 20:14   ` [PATCH 3/3] ARM: tegra: drm: use new EMC clock scaling API to reserve DC bandwidth Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).