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

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM

Created:
5 years, 8 months ago by dshwang
Modified:
4 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, jln+watch_chromium.org, kalyank, mcasas+watch_chromium.org, ozone-reviews_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, rickyz+watch_chromium.org, sievers+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM This CL depends on https://codereview.chromium.org/1134993003/ It's implemented to compare performance between VGEM and Intel DRM. --ozone-use-intel-drm switch enables Intel DRM backend in runtime. All code using Intel DRM are in IntelDrmPixmap class. Both GPU process and Renderer use this class like below examples; GPU process: 1. IntelDrmPixmap::Create() 2. Send GetDmaBufFd() to Renderer Renderer: 1. IntelDrmPixmap::CreateFromHandle() using dma_buf 2. Map()/Unmap() 3. ~IntelDrmPixmap() GPU process: 3. ~IntelDrmPixmap() Inspired by previous works: fjhenigman@chromium.org, https://codereview.chromium.org/186123006 kalyan.kondapally@intel.com, https://codereview.chromium.org/211133005 reveman@chromium.org, https://codereview.chromium.org/225023009 TEST=chrome --ozone-platform=gbm --ozone-use-surfaceless --user-data-dir=/home/chronos --login-manager --enable-native-gpu-memory-buffers --ozone-use-intel-drm on amd64_generic_freon image BUG=475633 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 13

Patch Set 2 : depends on https://codereview.chromium.org/1134993003/ #

Total comments: 2

Patch Set 3 : Renderer uses render node instead of drm device #

Patch Set 4 : rebase after ClientNativePixmap is introduced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -2 lines) Patch
M build/linux/system.gyp View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc View 1 2 3 3 chunks +19 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gbm.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/intel_drm_pixmap.h View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/intel_drm_pixmap.cc View 1 2 3 1 chunk +259 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_device_handle.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_device_handle.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_display_host_manager.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_display_host_manager.cc View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M ui/ozone/public/ozone_switches.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/public/ozone_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (7 generated)
dshwang
5 years, 8 months ago (2015-04-09 18:58:13 UTC) #2
dshwang
reveman@, could you review this ongoing effort? I need your advice. It's based on your ...
5 years, 8 months ago (2015-04-09 19:12:26 UTC) #3
dshwang
> @kalyank_ ,dose drm_intel_bo_gem_export_to_prime() unref drm_intel_bo instance > internally? after drm_intel_bo_gem_export_to_prime(), if I call > ...
5 years, 8 months ago (2015-04-09 19:19:10 UTC) #5
reveman
https://codereview.chromium.org/1071273002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1071273002/diff/1/cc/resources/resource_provider.cc#newcode2066 cc/resources/resource_provider.cc:2066: // TODO(reveman): GL_COMMANDS_ISSUED_CHROMIUM is used for synchronization We'll need ...
5 years, 8 months ago (2015-04-13 00:46:13 UTC) #6
dshwang
I just answered comments in deprecated intel drm implementation. I will use vgem instead of ...
5 years, 8 months ago (2015-04-14 13:15:55 UTC) #7
dshwang
I submit vgem implementation in https://codereview.chromium.org/1134993003/ I remain this CL for history. Marked as "Not ...
5 years, 7 months ago (2015-05-11 13:32:30 UTC) #8
dshwang
Re-implement this based on https://codereview.chromium.org/1134993003/ --ozone-use-intel-drm switch enables Intel DRM backend in runtime. https://codereview.chromium.org/1071273002/diff/40001/ui/ozone/platform/drm/gpu/intel_drm_pixmap.h File ...
5 years, 5 months ago (2015-06-29 17:22:05 UTC) #11
dshwang
https://codereview.chromium.org/1071273002/diff/40001/ui/ozone/platform/drm/host/drm_display_host_manager.cc File ui/ozone/platform/drm/host/drm_display_host_manager.cc (right): https://codereview.chromium.org/1071273002/diff/40001/ui/ozone/platform/drm/host/drm_display_host_manager.cc#newcode173 ui/ozone/platform/drm/host/drm_display_host_manager.cc:173: device_fd = primary_drm_device_file_.get(); When --ozone-use-intel-drm, "/dev/dri/card0" is sent to ...
5 years, 5 months ago (2015-06-29 17:42:07 UTC) #12
jonnialva90
4 years, 7 months ago (2016-05-25 12:19:19 UTC) #16
jonnialva90
4 years, 7 months ago (2016-05-25 12:20:17 UTC) #17
jonnialva90
4 years, 7 months ago (2016-05-25 12:21:12 UTC) #18
jonnialva90
4 years, 7 months ago (2016-05-25 12:21:57 UTC) #19
jonnialva90
4 years, 7 months ago (2016-05-25 12:22:13 UTC) #20
jonnialva90
4 years, 7 months ago (2016-05-25 12:22:15 UTC) #21
jonnialva90
4 years, 7 months ago (2016-05-25 12:22:30 UTC) #22
jonnialva90
4 years, 7 months ago (2016-05-25 12:22:50 UTC) #23
jonnialva90
4 years, 7 months ago (2016-05-25 12:22:53 UTC) #24
jonnialva90
4 years, 7 months ago (2016-05-25 12:23:29 UTC) #25
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:05 UTC) #26
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:32 UTC) #27
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:36 UTC) #28
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:40 UTC) #29
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:43 UTC) #30
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:47 UTC) #31
jonnialva90
4 years, 7 months ago (2016-05-25 12:24:49 UTC) #32
jonnialva90
4 years, 7 months ago (2016-05-25 12:25:06 UTC) #33
jonnialva90
4 years, 7 months ago (2016-05-25 12:25:26 UTC) #34
jonnialva90
4 years, 7 months ago (2016-05-25 12:25:46 UTC) #35
jonnialva90
4 years, 7 months ago (2016-05-25 12:25:52 UTC) #36
jonnialva90
4 years, 7 months ago (2016-05-25 12:26:10 UTC) #37
jonnialva90
4 years, 7 months ago (2016-05-25 12:26:27 UTC) #38
jonnialva90
4 years, 7 months ago (2016-05-25 12:27:58 UTC) #39

          

Powered by Google App Engine
This is Rietveld 408576698