diff options
author | achaulk <achaulk@chromium.org> | 2015-05-19 14:39:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-19 21:40:42 +0000 |
commit | effd312ed38f2c3306f0c8e97d22dc6cacf61da8 (patch) | |
tree | 224fa9cc57200632d679de24a0997b065e1df679 /ui/ozone/platform/drm/gpu/drm_device_generator.cc | |
parent | 2905d303db21f120aab1914f98fe0e44284f82ed (diff) | |
download | chromium_src-effd312ed38f2c3306f0c8e97d22dc6cacf61da8.zip chromium_src-effd312ed38f2c3306f0c8e97d22dc6cacf61da8.tar.gz chromium_src-effd312ed38f2c3306f0c8e97d22dc6cacf61da8.tar.bz2 |
ozone: Add atomic initialization path
Atomic is only selected if the kernel indicates support (SetCapability
succeeds), the platform wants to use it and DRM is new enough to support it (define)
Also fixes up the atomic page flip path, callbacks weren't being handled properly
Review URL: https://codereview.chromium.org/1147553003
Cr-Commit-Position: refs/heads/master@{#330614}
Diffstat (limited to 'ui/ozone/platform/drm/gpu/drm_device_generator.cc')
-rw-r--r-- | ui/ozone/platform/drm/gpu/drm_device_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ozone/platform/drm/gpu/drm_device_generator.cc b/ui/ozone/platform/drm/gpu/drm_device_generator.cc index 75ca66e..205269f 100644 --- a/ui/ozone/platform/drm/gpu/drm_device_generator.cc +++ b/ui/ozone/platform/drm/gpu/drm_device_generator.cc @@ -18,7 +18,7 @@ scoped_refptr<DrmDevice> DrmDeviceGenerator::CreateDevice( const base::FilePath& device_path, base::File file) { scoped_refptr<DrmDevice> drm = new DrmDevice(device_path, file.Pass()); - if (drm->Initialize()) + if (drm->Initialize(false)) return drm; return nullptr; |