Thread (26 messages) 26 messages, 6 authors, 2014-06-18

[RFC PATCH 3/4] drm/tegra: Request memory bandwidth for the display controller

From: Stephen Warren <hidden>
Date: 2014-06-16 20:06:51
Also in: dri-devel, linux-devicetree, linux-pm, linux-tegra, lkml

On 06/16/2014 07:35 AM, Tomeu Vizoso wrote:
Request it based solely on the current mode's refresh rate. More
accurate requirements can be requested in future patches.
quoted hunk ↗ jump to hunk
diff --git a/drivers/gpu/drm/tegra/dc.c b/drivers/gpu/drm/tegra/dc.c
+	bandwidth = mode->clock * window.bits_per_pixel / 8;
+	err = tegra124_emc_reserve_bandwidth(TEGRA_EMC_CONSUMER_DISP1, bandwidth);
DISP1 shouldn't be hard-coded here; the code should use DISP1 or DISP2
based on head or DC identity. We certainly have some boards capable of
dual-head operation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help