diff options
author | Mayuresh Kulkarni <mkulkarni@nvidia.com> | 2012-02-24 15:46:51 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-28 19:16:06 -0800 |
commit | e3ca4aa394e90579fc34fff8565c05640a7534e5 (patch) | |
tree | b615c8661fb0311ca48453023b11ab2e595328df /arch/arm/mach-tegra/board-p1852-panel.c | |
parent | 90b79e5712300baab889772a5af348559ac95836 (diff) |
video: tegra: host: Merge tegra_grhost and host1x devices
- tegra_grhost is a platform device that represents host1x
- nvhost has device host1x which represents the same hardware
- merge these two device structs
- as the new struct is a nvhost_device, platform_driver
is also converted into a nvhost_driver
- register nvhost device before other graphics devices.
this ensures that nvhost_probe() is called as soon as
nvhost_driver is registered with the core.
- this also ensures that nvmap is probed first, followed
by nvhost, followed by tegra-dc and nvavp (if they
are enabled).
Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/82631
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-p1852-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-p1852-panel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-p1852-panel.c b/arch/arm/mach-tegra/board-p1852-panel.c index b26ff19e87be..238642380e72 100644 --- a/arch/arm/mach-tegra/board-p1852-panel.c +++ b/arch/arm/mach-tegra/board-p1852-panel.c @@ -104,7 +104,6 @@ static struct nvmap_platform_data p1852_nvmap_data = { static struct platform_device *p1852_gfx_devices[] __initdata = { &tegra_nvmap_device, - &tegra_grhost_device }; int __init p1852_panel_init(void) |