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

Issue 2576263002: ozone: Allocate scanout buffer according to KMS modifiers (Closed)

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

Description

ozone: Allocate scanout buffer according to KMS modifiers BUG=chrome-os-partner:56407

Patch Set 1 #

Patch Set 2 : ozone: Allocate scanout buffer according to KMS modifiers #

Total comments: 23

Patch Set 3 : ozone: Allocate scanout buffer according to KMS modifiers #

Total comments: 33

Patch Set 4 : ozone: Allocate scanout buffer according to KMS modifiers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -29 lines) Patch
M ui/ozone/platform/drm/gpu/crtc_controller.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/crtc_controller.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_buffer.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_device.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.cc View 1 2 3 1 chunk +15 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.h View 1 2 3 2 chunks +19 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 3 5 chunks +51 lines, -12 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.cc View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.h View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.cc View 1 2 3 3 chunks +25 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc View 1 2 3 5 chunks +33 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/mock_drm_device.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/mock_drm_device.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
Daniele Castagna
Thank you for looking into the Ozone integration too. Do you mind expanding a little ...
4 years ago (2016-12-16 00:27:42 UTC) #7
hoegsberg1
Thanks for the review - most issues fixed, except for whether or not to create ...
4 years ago (2016-12-17 01:10:49 UTC) #9
hoegsberg1
Updated patch, now shouldn't have any whitespace warnings. Switched to just return a std::vector<uint64_t> of ...
4 years ago (2016-12-19 19:18:46 UTC) #10
dnicoara
https://codereview.chromium.org/2576263002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.h File ui/ozone/platform/drm/gpu/gbm_buffer.h (right): https://codereview.chromium.org/2576263002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.h#newcode31 ui/ozone/platform/drm/gpu/gbm_buffer.h:31: static scoped_refptr<GbmBuffer> CreateBufferWithModifiers( On 2016/12/17 01:10:49, hoegsberg1 wrote: > ...
4 years ago (2016-12-19 19:44:46 UTC) #11
marcheu1
we will also have to tackle the issue of external display resolution being limited by ...
4 years ago (2016-12-20 01:25:31 UTC) #13
dnicoara
https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc File ui/ozone/platform/drm/gpu/hardware_display_controller.cc (right): https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc#newcode148 ui/ozone/platform/drm/gpu/hardware_display_controller.cc:148: // TODO(hoegsberg): We need to intersect modifiers from different ...
4 years ago (2016-12-20 15:35:42 UTC) #14
Daniele Castagna
https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/common/scoped_drm_types.h File ui/ozone/platform/drm/common/scoped_drm_types.h (right): https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/common/scoped_drm_types.h#newcode21 ui/ozone/platform/drm/common/scoped_drm_types.h:21: struct drm_format_modifier; nit: typedef to stay consistent so we ...
4 years ago (2016-12-20 18:03:29 UTC) #15
hoegsberg1
https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/common/scoped_drm_types.h File ui/ozone/platform/drm/common/scoped_drm_types.h (right): https://codereview.chromium.org/2576263002/diff/40001/ui/ozone/platform/drm/common/scoped_drm_types.h#newcode21 ui/ozone/platform/drm/common/scoped_drm_types.h:21: struct drm_format_modifier; On 2016/12/20 18:03:28, Daniele Castagna wrote: > ...
4 years ago (2016-12-22 23:05:21 UTC) #20
Daniele Castagna
It seems to fail to compile ozone_unittests. Can you try building and running those unittests?
3 years, 11 months ago (2017-01-09 15:55:33 UTC) #25
Daniele Castagna
3 years, 11 months ago (2017-01-11 04:53:48 UTC) #26
On 2017/01/09 at 15:55:33, Daniele Castagna wrote:
> It seems to fail to compile ozone_unittests. Can you try building and running
those unittests?

As discussed with hoegsberg@, re-uploaded to crrev.com/2623963002 and fixed
unittests.

Powered by Google App Engine
This is Rietveld 408576698