All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: Implement a clock request API
@ 2021-04-13 10:13 ` Maxime Ripard
  0 siblings, 0 replies; 16+ messages in thread
From: Maxime Ripard @ 2021-04-13 10:13 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd, dri-devel, Daniel Vetter,
	David Airlie, Maarten Lankhorst, Thomas Zimmermann,
	Maxime Ripard
  Cc: Eric Anholt, Daniel Vetter, linux-kernel, Russell King,
	Dave Stevenson, Phil Elwell, Tim Gover, Dom Cobley, linux-clk,
	Maxime Ripard

Hi,

This is a follow-up of the discussion here:
https://lore.kernel.org/linux-clk/20210319150355.xzw7ikwdaga2dwhv@gilmour/

This implements a mechanism to raise and lower clock rates based on consumer
workloads, with an example of such an implementation for the RaspberryPi4 HDMI
controller.

There's a couple of things worth discussing:

  - The name is in conflict with clk_request_rate, and even though it feels
    like the right name to me, we should probably avoid any confusion

  - The code so far implements a policy of always going for the lowest rate
    possible. While we don't have an use-case for something else, this should
    maybe be made more flexible?

Let me know what you think
Maxime

Maxime Ripard (2):
  clk: Introduce a clock request API
  drm/vc4: hdmi: Convert to the new clock request API

 drivers/clk/clk.c              | 121 +++++++++++++++++++++++++++++++++
 drivers/gpu/drm/vc4/vc4_hdmi.c |  19 ++++--
 drivers/gpu/drm/vc4/vc4_hdmi.h |   3 +
 include/linux/clk.h            |   4 ++
 4 files changed, 140 insertions(+), 7 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-06-16 10:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 10:13 [PATCH 0/2] clk: Implement a clock request API Maxime Ripard
2021-04-13 10:13 ` Maxime Ripard
2021-04-13 10:13 ` [PATCH 1/2] clk: Introduce " Maxime Ripard
2021-04-13 10:13   ` Maxime Ripard
2021-04-13 10:13 ` [PATCH 2/2] drm/vc4: hdmi: Convert to the new " Maxime Ripard
2021-04-13 10:13   ` Maxime Ripard
2021-04-30  8:48 ` [PATCH 0/2] clk: Implement a " Maxime Ripard
2021-04-30  8:48   ` Maxime Ripard
2021-04-30 20:59 ` Stephen Boyd
2021-04-30 20:59   ` Stephen Boyd
2021-05-03  8:32   ` Maxime Ripard
2021-05-03  8:32     ` Maxime Ripard
2021-05-24 12:48     ` Maxime Ripard
2021-05-24 12:48       ` Maxime Ripard
2021-06-16 10:05       ` Maxime Ripard
2021-06-16 10:05         ` Maxime Ripard

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.