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

Issue 1294113005: Atomic: Don’t keep track of Cursor planes (Closed)

Created:
5 years, 4 months ago by kalyank
Modified:
5 years, 3 months ago
CC:
chromium-reviews, 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

Atomic: Don’t keep track of Cursor planes CRTC controller always assume they have a cursor plane and it is updated via cursor specific DRM API. In our side, cursor plane is part of the planes list which are free to be used. Now, we dont keep track of these planes as we shouldn’t try to use them for any other purpose. Committed: https://crrev.com/2238227bae73cc03d5dc388f50255dac52951c2e Cr-Commit-Position: refs/heads/master@{#345398}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Review fixes #

Total comments: 2

Patch Set 3 : Make the code common for Atomic and Legacy #

Patch Set 4 : Dont track cursor planes #

Patch Set 5 : Add comments #

Total comments: 3

Patch Set 6 : Review fix #

Patch Set 7 : Define DRM_FORMAT_XRGB8888 #

Patch Set 8 : Fix platform cast build #

Total comments: 7

Patch Set 9 : Fix #define #

Patch Set 10 : Include drm_fourcc.h again #

Total comments: 2

Patch Set 11 : Style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -31 lines) Patch
M ui/ozone/platform/drm/gpu/hardware_display_plane.h View 1 2 3 4 5 2 chunks +13 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +66 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -14 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (3 generated)
kalyank
5 years, 4 months ago (2015-08-19 22:18:52 UTC) #2
dnicoara
https://codereview.chromium.org/1294113005/diff/1/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1294113005/diff/1/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode152 ui/ozone/platform/drm/gpu/crtc_controller.cc:152: if (plane->CanUseForCrtc(crtc_) && !plane->owning_crtc() && I think that the ...
5 years, 4 months ago (2015-08-20 14:22:46 UTC) #3
kalyank
https://codereview.chromium.org/1294113005/diff/1/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1294113005/diff/1/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode152 ui/ozone/platform/drm/gpu/crtc_controller.cc:152: if (plane->CanUseForCrtc(crtc_) && !plane->owning_crtc() && On 2015/08/20 14:22:45, dnicoara ...
5 years, 4 months ago (2015-08-20 16:36:18 UTC) #4
dnicoara
https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode148 ui/ozone/platform/drm/gpu/crtc_controller.cc:148: if (!cursor_plane_) { I was thinking that HardwareDisplayPlaneManager should ...
5 years, 4 months ago (2015-08-21 21:38:38 UTC) #5
kalyank
https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode148 ui/ozone/platform/drm/gpu/crtc_controller.cc:148: if (!cursor_plane_) { On 2015/08/21 21:38:38, dnicoara wrote: > ...
5 years, 4 months ago (2015-08-21 22:05:59 UTC) #6
kalyank
On 2015/08/21 22:05:59, kalyank wrote: > https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc > File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): > > https://codereview.chromium.org/1294113005/diff/20001/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode148 > ...
5 years, 4 months ago (2015-08-21 22:06:23 UTC) #7
kalyank
https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode59 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:59: ScopedDrmObjectPropertyPtr plane_props(drmModeObjectGetProperties( Sorry, the previous reply got badly formatted. ...
5 years, 4 months ago (2015-08-22 01:54:38 UTC) #8
dnicoara
Thanks, lgtm. https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.h File ui/ozone/platform/drm/gpu/hardware_display_plane.h (right): https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.h#newcode52 ui/ozone/platform/drm/gpu/hardware_display_plane.h:52: const ScopedDrmObjectPropertyPtr& plane_props); nit: add empty line ...
5 years, 3 months ago (2015-08-24 13:39:50 UTC) #9
kalyank
https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.h File ui/ozone/platform/drm/gpu/hardware_display_plane.h (right): https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.h#newcode52 ui/ozone/platform/drm/gpu/hardware_display_plane.h:52: const ScopedDrmObjectPropertyPtr& plane_props); On 2015/08/24 13:39:50, dnicoara wrote: > ...
5 years, 3 months ago (2015-08-24 16:26:10 UTC) #10
kalyank
On 2015/08/24 13:39:50, dnicoara wrote: > Thanks, lgtm. > > https://codereview.chromium.org/1294113005/diff/80001/ui/ozone/platform/drm/gpu/hardware_display_plane.h > File ui/ozone/platform/drm/gpu/hardware_display_plane.h (right): ...
5 years, 3 months ago (2015-08-24 19:59:22 UTC) #11
dnicoara
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ #defines shouldn't be ...
5 years, 3 months ago (2015-08-25 16:27:13 UTC) #12
kalyank
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ On 2015/08/25 16:27:13, ...
5 years, 3 months ago (2015-08-25 16:38:09 UTC) #13
kalyank
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ On 2015/08/25 16:27:13, ...
5 years, 3 months ago (2015-08-25 16:39:47 UTC) #14
kalyank
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ On 2015/08/25 16:27:13, ...
5 years, 3 months ago (2015-08-25 16:54:37 UTC) #15
dnicoara
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ On 2015/08/25 16:39:47, ...
5 years, 3 months ago (2015-08-25 17:35:32 UTC) #16
kalyank
https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:17: #define FOURCC(a, b, c, d) \ On 2015/08/25 17:35:32, ...
5 years, 3 months ago (2015-08-25 17:56:18 UTC) #17
kalyank
On 2015/08/25 17:56:18, kalyank wrote: > https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc > File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): > > https://codereview.chromium.org/1294113005/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode17 > ...
5 years, 3 months ago (2015-08-25 18:12:49 UTC) #18
dnicoara
lgtm with change required by the style guide https://codereview.chromium.org/1294113005/diff/180001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/180001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode7 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:7: #include ...
5 years, 3 months ago (2015-08-25 18:19:13 UTC) #19
kalyank
https://codereview.chromium.org/1294113005/diff/180001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1294113005/diff/180001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode7 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:7: #include <drm_fourcc.h> On 2015/08/25 18:19:13, dnicoara wrote: > Empty ...
5 years, 3 months ago (2015-08-25 18:31:55 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294113005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294113005/200001
5 years, 3 months ago (2015-08-25 18:34:04 UTC) #23
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 3 months ago (2015-08-25 19:05:18 UTC) #24
commit-bot: I haz the power
5 years, 3 months ago (2015-08-25 19:06:00 UTC) #25
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/2238227bae73cc03d5dc388f50255dac52951c2e
Cr-Commit-Position: refs/heads/master@{#345398}

Powered by Google App Engine
This is Rietveld 408576698