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

Unified Diff: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc

Issue 1124063003: drm: GPU process manages VGEM fd. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use LazyInstance Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
index 9a730bca3e8e86d35f22ada8e98d844aabf32cb2..097f846a37343cb5a7990e23335513949d15e77b 100644
--- a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc
@@ -285,10 +285,10 @@ void DrmGpuPlatformSupport::OnRelinquishDisplayControl() {
ndd_->RelinquishDisplayControl();
}
-void DrmGpuPlatformSupport::OnAddGraphicsDevice(
- const base::FilePath& path,
- const base::FileDescriptor& fd) {
- drm_device_manager_->AddDrmDevice(path, fd);
+void DrmGpuPlatformSupport::OnAddGraphicsDevice(const base::FilePath& path,
+ const base::FileDescriptor& fd,
+ bool is_vgem) {
+ drm_device_manager_->AddDrmDevice(path, fd, is_vgem);
}
void DrmGpuPlatformSupport::OnRemoveGraphicsDevice(const base::FilePath& path) {

Powered by Google App Engine
This is Rietveld 408576698