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

Issue 2488253005: exo: Use use-drm flag to pick a driver. (Closed)

Created:
4 years, 1 month ago by Daniele Castagna
Modified:
4 years, 1 month ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Use use-drm flag to pick a driver. The test wayland_motion_event used had an hardcoded render node path. This render node path turned out to use vgem on kevin. This CL adds logic to allow to specify a string for the flag use-drm. The first drm device with a driver name containing the substring will be picked. BUG=661010 Committed: https://crrev.com/106d9c981130ca2de709c14f368655b56479eb71 Cr-Commit-Position: refs/heads/master@{#431615}

Patch Set 1 #

Patch Set 2 : Address incoming nits and avoid opening drm device when not used. #

Total comments: 10

Patch Set 3 : Address reveman's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -15 lines) Patch
M components/exo/wayland/clients/motion_events.cc View 1 2 8 chunks +49 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Daniele Castagna
4 years, 1 month ago (2016-11-11 00:06:51 UTC) #3
Daniele Castagna
PTAL
4 years, 1 month ago (2016-11-11 00:35:45 UTC) #9
reveman
lgtm with nits https://codereview.chromium.org/2488253005/diff/20001/components/exo/wayland/clients/motion_events.cc File components/exo/wayland/clients/motion_events.cc (right): https://codereview.chromium.org/2488253005/diff/20001/components/exo/wayland/clients/motion_events.cc#newcode397 components/exo/wayland/clients/motion_events.cc:397: std::ostringstream dri_render_node( nit: s/std::ostringstream/std::string/ https://codereview.chromium.org/2488253005/diff/20001/components/exo/wayland/clients/motion_events.cc#newcode405 components/exo/wayland/clients/motion_events.cc:405: ...
4 years, 1 month ago (2016-11-11 01:46:17 UTC) #12
Daniele Castagna
https://codereview.chromium.org/2488253005/diff/20001/components/exo/wayland/clients/motion_events.cc File components/exo/wayland/clients/motion_events.cc (right): https://codereview.chromium.org/2488253005/diff/20001/components/exo/wayland/clients/motion_events.cc#newcode397 components/exo/wayland/clients/motion_events.cc:397: std::ostringstream dri_render_node( On 2016/11/11 at 01:46:17, reveman wrote: > ...
4 years, 1 month ago (2016-11-11 18:17:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488253005/40001
4 years, 1 month ago (2016-11-11 18:18:37 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-11 19:23:46 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 19:30:41 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/106d9c981130ca2de709c14f368655b56479eb71
Cr-Commit-Position: refs/heads/master@{#431615}

Powered by Google App Engine
This is Rietveld 408576698