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

Issue 2789363004: ozone: Add KMS "rotation" property support. (Closed)

Created:
3 years, 8 months ago by Daniele Castagna
Modified:
3 years, 8 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Add KMS "rotation" property support. Once https://chromium-review.googlesource.com/c/468191/ lands in the kernel we should be able to use rotation KMS property. While this CL adds support for all the values of the property "rotation", initially the only supported value on rockchip will be "reflect-y", this will allow Chrome to promote WebGL and Pepper content to HW overlay. BUG=b/36752417 Review-Url: https://codereview.chromium.org/2789363004 Cr-Commit-Position: refs/heads/master@{#463777} Committed: https://chromium.googlesource.com/chromium/src/+/0877ce62e907e9a76083121c29ce4c7d31f2949f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Check rotation AddProperty. #

Patch Set 3 : Check rotation AddProperty. #

Total comments: 4

Patch Set 4 : Use drm_crtc.h defines. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -21 lines) Patch
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h View 3 chunks +4 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc View 1 2 3 4 chunks +55 lines, -16 lines 1 comment Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
Daniele Castagna
3 years, 8 months ago (2017-04-05 02:16:28 UTC) #5
Daniele Castagna
https://chromium-review.googlesource.com/c/470606/ has just landed. dnicoara@: Do you have time to take a look at this ...
3 years, 8 months ago (2017-04-11 00:01:15 UTC) #9
spang
https://codereview.chromium.org/2789363004/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc (right): https://codereview.chromium.org/2789363004/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc#newcode111 ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc:111: drmModeAtomicAddProperty( This one doesn't need to be checked?
3 years, 8 months ago (2017-04-11 00:07:44 UTC) #11
Daniele Castagna
https://codereview.chromium.org/2789363004/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc (right): https://codereview.chromium.org/2789363004/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc#newcode111 ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc:111: drmModeAtomicAddProperty( On 2017/04/11 at 00:07:44, spang wrote: > This ...
3 years, 8 months ago (2017-04-11 00:25:45 UTC) #12
dnicoara
lgtm https://codereview.chromium.org/2789363004/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc (right): https://codereview.chromium.org/2789363004/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc#newcode24 ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc:24: const int kDrmRotate0 = 0; Do you know ...
3 years, 8 months ago (2017-04-11 13:51:06 UTC) #19
Daniele Castagna
https://codereview.chromium.org/2789363004/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc (right): https://codereview.chromium.org/2789363004/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc#newcode24 ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc:24: const int kDrmRotate0 = 0; On 2017/04/11 at 13:51:06, ...
3 years, 8 months ago (2017-04-11 20:21:05 UTC) #20
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/2789363004/60001
3 years, 8 months ago (2017-04-11 20:32:50 UTC) #23
hoegsberg1
https://codereview.chromium.org/2789363004/diff/60001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc File ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc (right): https://codereview.chromium.org/2789363004/diff/60001/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc#newcode24 ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc:24: // TODO(dcastagna): Remove the following defines once they're in ...
3 years, 8 months ago (2017-04-11 21:24:31 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 21:31:34 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0877ce62e907e9a76083121c29ce...

Powered by Google App Engine
This is Rietveld 408576698