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

Issue 854203002: Read EDID for the 1st display for startup (Closed)

Created:
5 years, 11 months ago by oshima
Modified:
5 years, 11 months ago
Reviewers:
dnicoara, Jun Mukai, jam, spang
CC:
chromium-reviews, kalyank, 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

Read EDID for the 1st display for startup BUG=449662, chrome-os-partner:35334 TEST=covered by unittest. Also tested on link_freon Committed: https://crrev.com/a2b7df9d21af3c0d19fed3628caf13ae36fee233 Cr-Commit-Position: refs/heads/master@{#312947}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -64 lines) Patch
M ui/display/util/edid_parser.h View 1 2 3 4 2 chunks +12 lines, -5 lines 0 comments Download
M ui/display/util/edid_parser.cc View 1 2 3 5 chunks +63 lines, -13 lines 0 comments Download
M ui/display/util/edid_parser_unittest.cc View 5 chunks +33 lines, -11 lines 0 comments Download
M ui/display/util/x11/edid_parser_x11.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/common/display_util.h View 1 2 2 chunks +19 lines, -1 line 0 comments Download
M ui/ozone/common/display_util.cc View 1 2 3 4 3 chunks +63 lines, -20 lines 0 comments Download
A ui/ozone/common/display_util_unittest.cc View 1 chunk +61 lines, -0 lines 0 comments Download
M ui/ozone/common/native_display_delegate_ozone.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/display_snapshot_dri.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/native_display_delegate_proxy.cc View 1 2 3 4 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
oshima
5 years, 11 months ago (2015-01-16 19:52:28 UTC) #4
dnicoara
I think the bug number if wrong. https://codereview.chromium.org/854203002/diff/60001/ui/display/util/edid_parser.cc File ui/display/util/edid_parser.cc (right): https://codereview.chromium.org/854203002/diff/60001/ui/display/util/edid_parser.cc#newcode194 ui/display/util/edid_parser.cc:194: if (edid.size() ...
5 years, 11 months ago (2015-01-16 20:39:51 UTC) #5
oshima
filed a new bug. https://codereview.chromium.org/854203002/diff/60001/ui/display/util/edid_parser.cc File ui/display/util/edid_parser.cc (right): https://codereview.chromium.org/854203002/diff/60001/ui/display/util/edid_parser.cc#newcode194 ui/display/util/edid_parser.cc:194: if (edid.size() <= kNumExtensionsOffset) On ...
5 years, 11 months ago (2015-01-16 21:50:19 UTC) #6
dnicoara
lgtm +spang@ for ui/ozone OWNERS
5 years, 11 months ago (2015-01-17 05:17:44 UTC) #8
oshima
On 2015/01/17 05:17:44, dnicoara wrote: > lgtm > > +spang@ for ui/ozone OWNERS spang@: friendly ...
5 years, 11 months ago (2015-01-22 02:02:20 UTC) #9
oshima
On 2015/01/17 05:17:44, dnicoara wrote: > lgtm > > +spang@ for ui/ozone OWNERS spang@: friendly ...
5 years, 11 months ago (2015-01-22 02:02:21 UTC) #10
Jun Mukai
https://codereview.chromium.org/854203002/diff/80001/ui/display/util/edid_parser.cc File ui/display/util/edid_parser.cc (right): https://codereview.chromium.org/854203002/diff/80001/ui/display/util/edid_parser.cc#newcode61 ui/display/util/edid_parser.cc:61: gfx::Size* active_active_pixel_out, nit: active_active_pixel_out -> active_pixel_out
5 years, 11 months ago (2015-01-22 02:07:39 UTC) #12
spang
https://codereview.chromium.org/854203002/diff/80001/ui/ozone/common/display_util.cc File ui/ozone/common/display_util.cc (right): https://codereview.chromium.org/854203002/diff/80001/ui/ozone/common/display_util.cc#newcode137 ui/ozone/common/display_util.cc:137: base::ThreadRestrictions::ScopedAllowIO allow_io; This function is banned, see the red ...
5 years, 11 months ago (2015-01-22 02:25:26 UTC) #13
spang
On 2015/01/22 02:25:26, spang wrote: > https://codereview.chromium.org/854203002/diff/80001/ui/ozone/common/display_util.cc > File ui/ozone/common/display_util.cc (right): > > https://codereview.chromium.org/854203002/diff/80001/ui/ozone/common/display_util.cc#newcode137 > ...
5 years, 11 months ago (2015-01-22 02:31:14 UTC) #14
oshima
On 2015/01/22 02:31:14, spang wrote: > On 2015/01/22 02:25:26, spang wrote: > > > https://codereview.chromium.org/854203002/diff/80001/ui/ozone/common/display_util.cc ...
5 years, 11 months ago (2015-01-22 02:34:01 UTC) #15
spang
On 2015/01/22 02:34:01, oshima wrote: > On 2015/01/22 02:31:14, spang wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 02:39:29 UTC) #16
oshima
On 2015/01/22 02:39:29, spang wrote: > On 2015/01/22 02:34:01, oshima wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 02:45:13 UTC) #17
spang
On 2015/01/22 02:45:13, oshima wrote: > On 2015/01/22 02:39:29, spang wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 02:54:57 UTC) #18
oshima
On 2015/01/22 02:54:57, spang wrote: > On 2015/01/22 02:45:13, oshima wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 03:13:38 UTC) #19
oshima
On 2015/01/22 02:54:57, spang wrote: > On 2015/01/22 02:45:13, oshima wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 04:12:58 UTC) #20
oshima
+jam@ for requesting an exception for AllowIO on tmpfs file. (native_display_delegate_proxy.cc) context: ChromeOS ozone+freon build ...
5 years, 11 months ago (2015-01-22 04:16:22 UTC) #22
jam
On 2015/01/22 04:16:22, oshima wrote: > +jam@ for requesting an exception for AllowIO on tmpfs ...
5 years, 11 months ago (2015-01-22 17:17:51 UTC) #23
spang
On 2015/01/22 17:17:51, jam wrote: > On 2015/01/22 04:16:22, oshima wrote: > > +jam@ for ...
5 years, 11 months ago (2015-01-22 18:12:17 UTC) #24
oshima
On 2015/01/22 18:12:17, spang wrote: > On 2015/01/22 17:17:51, jam wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 19:09:29 UTC) #25
oshima
On 2015/01/22 18:12:17, spang wrote: > On 2015/01/22 17:17:51, jam wrote: > > On 2015/01/22 ...
5 years, 11 months ago (2015-01-22 19:29:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/854203002/120001
5 years, 11 months ago (2015-01-23 21:50:17 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 11 months ago (2015-01-23 22:22:28 UTC) #29
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a2b7df9d21af3c0d19fed3628caf13ae36fee233 Cr-Commit-Position: refs/heads/master@{#312947}
5 years, 11 months ago (2015-01-23 22:23:31 UTC) #30
gunsch
On 2015/01/23 22:23:31, I haz the power (commit-bot) wrote: > Patchset 5 (id:??) landed as ...
5 years, 11 months ago (2015-01-23 23:19:58 UTC) #31
oshima
5 years, 11 months ago (2015-01-24 01:29:53 UTC) #32
Message was sent while issue was closed.
On 2015/01/23 23:19:58, gunsch wrote:
> On 2015/01/23 22:23:31, I haz the power (commit-bot) wrote:
> > Patchset 5 (id:??) landed as
> > https://crrev.com/a2b7df9d21af3c0d19fed3628caf13ae36fee233
> > Cr-Commit-Position: refs/heads/master@{#312947}
> 
> FYI: this broke the Chromecast build (no trybot yet, we're working on it) that
> uses Ozone + Linux. Error below.
> 
> It looks like ui/ozone.gyp:ozone should now depend on
> ui/display/display.gyp:display_util to correctly link in the new dependency.
> 
> FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,-z,now
> -Wl,-z,relro -Wl,--fatal-warnings -pthread -Wl,-z,noexecstack -fPIC
> -fuse-ld=gold
>
-B/usr/local/google/home/mosaic-role/slave/repo_clients/chromium_tot/chromium/src/third_party/binutils/Linux_x64/Release/bin
> -Wl,--disable-new-dtags -Wl,-uIsHeapProfilerRunning,-uProfilerStart
>
-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi
>
-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl
>
-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv
> -m64 -Wl,--icf=safe -o cast_shell [ ... command snipped ]
> ../../ui/ozone/common/display_util.cc:108: error: undefined reference to
> 'ui::ParseOutputDeviceData(std::__debug::vector<unsigned char,
> std::allocator<unsigned char> > const&, unsigned short*, std::string*,
> gfx::Size*, gfx::Size*)'
> ../../ui/ozone/common/display_util.cc:111: error: undefined reference to
> 'ui::GetDisplayIdFromEDID(std::__debug::vector<unsigned char,
> std::allocator<unsigned char> > const&, unsigned char, long*)'
> ../../ui/ozone/common/display_util.cc:114: error: undefined reference to
> 'ui::ParseOutputOverscanFlag(std::__debug::vector<unsigned char,
> std::allocator<unsigned char> > const&, bool*)'
> clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Sorry for breakage. I'll land fix soon.

Powered by Google App Engine
This is Rietveld 408576698