diff options
author | Jon Mayo <jmayo@nvidia.com> | 2012-05-22 17:24:27 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-05-23 18:55:57 -0700 |
commit | 1953361f8e492ea6ec5de23a5321a8eaf000563e (patch) | |
tree | 2272328bf68b9f317b3cabb4c63c0fa888da2851 /arch/arm/mach-tegra/include/mach/dc.h | |
parent | 4e88128f3c4c40bf3b6cd1146dffe6a5156fef04 (diff) |
video: tegra: detect fbmem alignment on probe
Detect the stride size used by the bootloader.
If DC is not enabled, fallback to a default stride size.
Bug 973111
Change-Id: If04647ddf04a44987cd841062ff30e03fa4d6a02
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/104031
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/dc.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index ab3d4e920f46..71f1be769507 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -503,6 +503,7 @@ struct tegra_dc_platform_data { #define TEGRA_DC_FLAG_ENABLED (1 << 0) +int tegra_dc_get_stride(struct tegra_dc *dc, unsigned win); struct tegra_dc *tegra_dc_get_dc(unsigned idx); struct tegra_dc_win *tegra_dc_get_window(struct tegra_dc *dc, unsigned win); bool tegra_dc_get_connected(struct tegra_dc *); |