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

Unified Diff: ui/ozone/platform/dri/dri_gpu_platform_support.cc

Issue 905873003: [8/8][Ozone-Dri] Pass DRM FD to GPU process on hotplug event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl2.9-allow-ndd-to-handle-multiple-drm-devices
Patch Set: . Created 5 years, 10 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/dri/dri_gpu_platform_support.cc
diff --git a/ui/ozone/platform/dri/dri_gpu_platform_support.cc b/ui/ozone/platform/dri/dri_gpu_platform_support.cc
index 3a6724fe6e9aa1aa426982d511cf1910ca28b07a..518c6cc9c1813ecaf95c0b0754d00c51ab9c3e4c 100644
--- a/ui/ozone/platform/dri/dri_gpu_platform_support.cc
+++ b/ui/ozone/platform/dri/dri_gpu_platform_support.cc
@@ -289,8 +289,10 @@ void DriGpuPlatformSupport::OnRelinquishDisplayControl() {
ndd_->RelinquishDisplayControl();
}
-void DriGpuPlatformSupport::OnAddGraphicsDevice(const base::FilePath& path) {
- ndd_->AddGraphicsDevice(path);
+void DriGpuPlatformSupport::OnAddGraphicsDevice(
+ const base::FilePath& path,
+ const base::FileDescriptor& fd) {
+ ndd_->AddGraphicsDevice(path, fd);
}
void DriGpuPlatformSupport::OnRemoveGraphicsDevice(const base::FilePath& path) {

Powered by Google App Engine
This is Rietveld 408576698