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

Issue 1129923004: [1/2][Ozone-Drm] Refactor GPU display management (Closed)

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

Description

[Ozone-Drm] Refactor GPU display management This change decouples the DisplaySnapshot from the DrmDisplay since the snapshot is only needed to IPC the display information to the browser process. Also, move all the display configuration calls into the DrmDisplay object to simplify state and clarify the intent of the operations. This change also moves the logic to parse the DRM display state into DisplaySnapshot objects into a common location intended to be used by both GPU and Browser processes. The parsing logic will be used in a subsequent change to allow proper parsing of display configuration on the browser side during startup. BUG=484294 Committed: https://crrev.com/f8d980302e5136fd9b25f8f2c891d1f3859c6ddb Cr-Commit-Position: refs/heads/master@{#329462}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 19

Patch Set 3 : fixed comments #

Total comments: 10

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -555 lines) Patch
M ui/ozone/platform/drm/BUILD.gn View 1 chunk +2 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/common/drm_util.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/common/drm_util.cc View 1 2 3 4 3 chunks +161 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/drm.gypi View 1 chunk +2 lines, -4 lines 0 comments Download
A ui/ozone/platform/drm/gpu/drm_display.h View 1 chunk +61 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/drm_display.cc View 1 2 3 1 chunk +168 lines, -0 lines 0 comments Download
D ui/ozone/platform/drm/gpu/drm_display_mode.h View 1 chunk +0 lines, -33 lines 0 comments Download
D ui/ozone/platform/drm/gpu/drm_display_mode.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D ui/ozone/platform/drm/gpu/drm_display_snapshot.h View 1 1 chunk +0 lines, -45 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_display_snapshot.cc View 1 1 chunk +0 lines, -133 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h View 2 chunks +10 lines, -46 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_gpu_display_manager.cc View 1 2 6 chunks +111 lines, -256 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
dnicoara
5 years, 7 months ago (2015-05-11 18:46:40 UTC) #2
spang
Can you mention the patch dependencies when you send out the CR?
5 years, 7 months ago (2015-05-11 21:21:48 UTC) #3
dnicoara
On 2015/05/11 21:21:48, spang wrote: > Can you mention the patch dependencies when you send ...
5 years, 7 months ago (2015-05-11 21:23:08 UTC) #4
spang
On 2015/05/11 21:23:08, dnicoara wrote: > On 2015/05/11 21:21:48, spang wrote: > > Can you ...
5 years, 7 months ago (2015-05-11 21:49:29 UTC) #5
dnicoara
On 2015/05/11 21:49:29, spang wrote: > On 2015/05/11 21:23:08, dnicoara wrote: > > On 2015/05/11 ...
5 years, 7 months ago (2015-05-11 21:50:00 UTC) #6
spang
https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc#newcode98 ui/ozone/platform/drm/common/drm_util.cc:98: for (int i = 0; i < connector->count_props; ++i) ...
5 years, 7 months ago (2015-05-11 22:21:32 UTC) #7
dnicoara
https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc#newcode98 ui/ozone/platform/drm/common/drm_util.cc:98: for (int i = 0; i < connector->count_props; ++i) ...
5 years, 7 months ago (2015-05-12 15:17:11 UTC) #8
spang
https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc#newcode98 ui/ozone/platform/drm/common/drm_util.cc:98: for (int i = 0; i < connector->count_props; ++i) ...
5 years, 7 months ago (2015-05-12 16:58:53 UTC) #9
dnicoara
https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc#newcode98 ui/ozone/platform/drm/common/drm_util.cc:98: for (int i = 0; i < connector->count_props; ++i) ...
5 years, 7 months ago (2015-05-12 18:05:02 UTC) #10
spang
https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/20001/ui/ozone/platform/drm/common/drm_util.cc#newcode98 ui/ozone/platform/drm/common/drm_util.cc:98: for (int i = 0; i < connector->count_props; ++i) ...
5 years, 7 months ago (2015-05-12 18:28:48 UTC) #11
spang
lgtm https://codereview.chromium.org/1129923004/diff/60001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/60001/ui/ozone/platform/drm/common/drm_util.cc#newcode66 ui/ozone/platform/drm/common/drm_util.cc:66: // as an interger). spelling typo
5 years, 7 months ago (2015-05-12 18:51:25 UTC) #12
dnicoara
https://codereview.chromium.org/1129923004/diff/60001/ui/ozone/platform/drm/common/drm_util.cc File ui/ozone/platform/drm/common/drm_util.cc (right): https://codereview.chromium.org/1129923004/diff/60001/ui/ozone/platform/drm/common/drm_util.cc#newcode66 ui/ozone/platform/drm/common/drm_util.cc:66: // as an interger). On 2015/05/12 18:51:25, spang wrote: ...
5 years, 7 months ago (2015-05-12 18:53:19 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129923004/80001
5 years, 7 months ago (2015-05-12 18:54:13 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-12 19:37:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129923004/80001
5 years, 7 months ago (2015-05-12 19:40:04 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-12 19:45:32 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 19:46:30 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f8d980302e5136fd9b25f8f2c891d1f3859c6ddb
Cr-Commit-Position: refs/heads/master@{#329462}

Powered by Google App Engine
This is Rietveld 408576698