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

Issue 2090343005: ui: Fix faulty drm/gbm DCHECKs. (Closed)

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

Description

ui: Fix faulty drm/gbm DCHECKs. - Remove a DCHECK in gl_image_ozone_native_pixmap_drm_unittest.cc that was checking drm permissions. The check is already done during Ozone initialization and the one in the test would always fail. - Relax the check that the number of fds has to be the same as the number of planes when creating a gbm buffer. BUG=618516 TEST='gl_unittests --gtest_also_run_disabled_tests' on cyan. Committed: https://crrev.com/6537917f6f58a3d46d28f01de2a8ca98fb9c1b70 Cr-Commit-Position: refs/heads/master@{#401873}

Patch Set 1 #

Patch Set 2 #

Total comments: 2

Patch Set 3 : Address posciak's comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -8 lines) Patch
M ui/gl/gl_image_ozone_native_pixmap_drm_unittest.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Daniele Castagna
When I landed YV12 support I was testing it in release, and as Pawel noticed, ...
4 years, 6 months ago (2016-06-23 22:22:52 UTC) #2
reveman
ui/gl lgtm
4 years, 6 months ago (2016-06-23 23:16:45 UTC) #4
Daniele Castagna
+dnicoara for ui/ozone approval.
4 years, 6 months ago (2016-06-23 23:37:39 UTC) #6
Pawel Osciak
lgtm % nit https://chromiumcodereview.appspot.com/2090343005/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://chromiumcodereview.appspot.com/2090343005/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode145 ui/ozone/platform/drm/gpu/gbm_buffer.cc:145: DCHECK_LE(fds.size(), strides.size()); Should we DCHECK offsets.size() ...
4 years, 6 months ago (2016-06-24 00:52:54 UTC) #7
Daniele Castagna
https://chromiumcodereview.appspot.com/2090343005/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://chromiumcodereview.appspot.com/2090343005/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode145 ui/ozone/platform/drm/gpu/gbm_buffer.cc:145: DCHECK_LE(fds.size(), strides.size()); On 2016/06/24 at 00:52:54, Pawel Osciak wrote: ...
4 years, 6 months ago (2016-06-24 01:16:16 UTC) #8
dnicoara
lgtm
4 years, 6 months ago (2016-06-24 13:52:07 UTC) #9
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/2090343005/40001
4 years, 6 months ago (2016-06-24 15:20:31 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-24 16:23:16 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 16:25:19 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6537917f6f58a3d46d28f01de2a8ca98fb9c1b70
Cr-Commit-Position: refs/heads/master@{#401873}

Powered by Google App Engine
This is Rietveld 408576698