Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: drivers/video/tegra/dc/dc.c

Issue 6672056: [07/23] video: tegra: Remove fbdev SET_NVMAP and FLIP ioctls (Closed)
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « arch/arm/mach-tegra/include/mach/fb.h ('k') | drivers/video/tegra/fb.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * drivers/video/tegra/dc/dc.c 2 * drivers/video/tegra/dc/dc.c
3 * 3 *
4 * Copyright (C) 2010 Google, Inc. 4 * Copyright (C) 2010 Google, Inc.
5 * Author: Erik Gilling <konkers@android.com> 5 * Author: Erik Gilling <konkers@android.com>
6 * 6 *
7 * This software is licensed under the terms of the GNU General Public 7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and 8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms. 9 * may be copied, distributed, and modified under those terms.
10 * 10 *
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 struct tegra_dc *dc = nvhost_get_drvdata(ndev); 1301 struct tegra_dc *dc = nvhost_get_drvdata(ndev);
1302 1302
1303 dev_info(&ndev->dev, "suspend\n"); 1303 dev_info(&ndev->dev, "suspend\n");
1304 1304
1305 mutex_lock(&dc->lock); 1305 mutex_lock(&dc->lock);
1306 1306
1307 if (dc->out_ops && dc->out_ops->suspend) 1307 if (dc->out_ops && dc->out_ops->suspend)
1308 dc->out_ops->suspend(dc); 1308 dc->out_ops->suspend(dc);
1309 1309
1310 if (dc->enabled) { 1310 if (dc->enabled) {
1311 tegra_fb_suspend(dc->fb);
1312 tegra_dc_ext_suspend(dc->ext); 1311 tegra_dc_ext_suspend(dc->ext);
1313 _tegra_dc_disable(dc); 1312 _tegra_dc_disable(dc);
1314 } 1313 }
1315 mutex_unlock(&dc->lock); 1314 mutex_unlock(&dc->lock);
1316 1315
1317 return 0; 1316 return 0;
1318 } 1317 }
1319 1318
1320 static int tegra_dc_resume(struct nvhost_device *ndev) 1319 static int tegra_dc_resume(struct nvhost_device *ndev)
1321 { 1320 {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1381 } 1380 }
1382 1381
1383 static void __exit tegra_dc_module_exit(void) 1382 static void __exit tegra_dc_module_exit(void)
1384 { 1383 {
1385 nvhost_driver_unregister(&tegra_dc_driver); 1384 nvhost_driver_unregister(&tegra_dc_driver);
1386 tegra_dc_ext_module_exit(); 1385 tegra_dc_ext_module_exit();
1387 } 1386 }
1388 1387
1389 module_exit(tegra_dc_module_exit); 1388 module_exit(tegra_dc_module_exit);
1390 module_init(tegra_dc_module_init); 1389 module_init(tegra_dc_module_init);
OLDNEW
« no previous file with comments | « arch/arm/mach-tegra/include/mach/fb.h ('k') | drivers/video/tegra/fb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698