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

Issue 994503004: Preliminary atomic patch (Closed)

Created:
5 years, 9 months ago by achaulk
Modified:
5 years, 9 months ago
Reviewers:
dnicoara
CC:
chromium-reviews, kalyank, piman+watch_chromium.org, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Preliminary atomic patch Adds atomic plane, plane manager and define to enable Currently only in the GN build and disabled - no platforms support the ioctl so there's no reason to enable it anywhere Committed: https://crrev.com/10660cc12bd27506a1353a9a04105c512f410eec Cr-Commit-Position: refs/heads/master@{#321207}

Patch Set 1 #

Patch Set 2 : #

Total comments: 29

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : forgot to change var name #

Patch Set 9 : change gyp var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -20 lines) Patch
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.cc View 1 2 3 4 5 6 7 8 3 chunks +26 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.h View 1 chunk +1 line, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.cc View 1 chunk +0 lines, -8 lines 0 comments Download
A ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc View 1 2 3 1 chunk +117 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc View 1 2 3 4 5 6 3 chunks +9 lines, -2 lines 0 comments Download
A + ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.h View 1 2 3 4 3 chunks +13 lines, -5 lines 0 comments Download
A ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc View 1 2 3 4 1 chunk +90 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/gpu/scoped_drm_types.h View 1 2 3 4 5 3 chunks +10 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/scoped_drm_types.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/test/mock_drm_device.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/test/mock_drm_device.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (3 generated)
achaulk
5 years, 9 months ago (2015-03-09 19:29:20 UTC) #2
dnicoara
The GYP change is missing. https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h File ui/ozone/platform/drm/gpu/drm_device.h (right): https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h#newcode157 ui/ozone/platform/drm/gpu/drm_device.h:157: virtual bool CommitProperties(drmModePropertySet* properties, ...
5 years, 9 months ago (2015-03-09 20:10:41 UTC) #3
achaulk
I'm hoping gyp goes away before we use this https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h File ui/ozone/platform/drm/gpu/drm_device.h (right): https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h#newcode157 ui/ozone/platform/drm/gpu/drm_device.h:157: ...
5 years, 9 months ago (2015-03-09 20:23:49 UTC) #4
dnicoara
Soo, when is this expected to land? https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h File ui/ozone/platform/drm/gpu/drm_device.h (right): https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h#newcode158 ui/ozone/platform/drm/gpu/drm_device.h:158: uint32_t flags, ...
5 years, 9 months ago (2015-03-09 20:42:58 UTC) #5
achaulk
We can land it whenever but I don't think we will turn it on for ...
5 years, 9 months ago (2015-03-09 20:55:19 UTC) #6
dnicoara
https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h File ui/ozone/platform/drm/gpu/drm_device.h (right): https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h#newcode158 ui/ozone/platform/drm/gpu/drm_device.h:158: uint32_t flags, On 2015/03/09 20:55:18, achaulk wrote: > On ...
5 years, 9 months ago (2015-03-09 20:57:26 UTC) #7
achaulk
https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h File ui/ozone/platform/drm/gpu/drm_device.h (right): https://codereview.chromium.org/994503004/diff/20001/ui/ozone/platform/drm/gpu/drm_device.h#newcode158 ui/ozone/platform/drm/gpu/drm_device.h:158: uint32_t flags, On 2015/03/09 20:57:26, dnicoara wrote: > On ...
5 years, 9 months ago (2015-03-09 21:41:00 UTC) #8
achaulk
ping
5 years, 9 months ago (2015-03-13 19:21:36 UTC) #9
dnicoara
I thought we were waiting until we're getting actual support before landing? If we're landing ...
5 years, 9 months ago (2015-03-13 19:27:18 UTC) #10
achaulk
We already have the APIs in the headers, but we're missing kernel support, so no-go ...
5 years, 9 months ago (2015-03-13 19:51:42 UTC) #11
dnicoara
On 2015/03/13 19:51:42, achaulk wrote: > We already have the APIs in the headers, but ...
5 years, 9 months ago (2015-03-13 20:11:29 UTC) #12
achaulk
Hmm, previously there were some builds that broke, I can always try again now though
5 years, 9 months ago (2015-03-13 20:13:11 UTC) #13
achaulk
Oh right it would break the locally compiled X11 platform. Which never got in and ...
5 years, 9 months ago (2015-03-13 20:15:46 UTC) #14
dnicoara
Also, could you please update the CL title and description and be more explicit to ...
5 years, 9 months ago (2015-03-13 20:19:02 UTC) #15
dnicoara
On 2015/03/13 20:15:46, achaulk wrote: > Oh right it would break the locally compiled X11 ...
5 years, 9 months ago (2015-03-14 02:07:44 UTC) #16
achaulk
It will break the buildability of everything on X. Unless we can guarantee that this ...
5 years, 9 months ago (2015-03-16 20:47:35 UTC) #17
achaulk
https://codereview.chromium.org/994503004/diff/60001/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc (right): https://codereview.chromium.org/994503004/diff/60001/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc#newcode30 ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc:30: plane_list->plane_list.begin(), On 2015/03/13 19:27:18, dnicoara wrote: > s/.begin/.end()/ Done.
5 years, 9 months ago (2015-03-16 21:05:00 UTC) #18
dnicoara
Arr, sorry, missed one. lgtm with include change https://codereview.chromium.org/994503004/diff/80001/ui/ozone/platform/drm/gpu/drm_device.cc File ui/ozone/platform/drm/gpu/drm_device.cc (right): https://codereview.chromium.org/994503004/diff/80001/ui/ozone/platform/drm/gpu/drm_device.cc#newcode22 ui/ozone/platform/drm/gpu/drm_device.cc:22: #if ...
5 years, 9 months ago (2015-03-16 21:14:11 UTC) #19
spang
Can you rename the build variable & ifdef to something like USE_DRM_ATOMIC This is a ...
5 years, 9 months ago (2015-03-16 21:17:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/994503004/160001
5 years, 9 months ago (2015-03-18 20:33:52 UTC) #23
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 9 months ago (2015-03-18 21:24:37 UTC) #24
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 21:25:17 UTC) #25
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/10660cc12bd27506a1353a9a04105c512f410eec
Cr-Commit-Position: refs/heads/master@{#321207}

Powered by Google App Engine
This is Rietveld 408576698