This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tiago@fisu:~/git/intel-gpu-tools/tests$ sudo ./kms_plane | |
IGT-Version: 1.8-g15972aa (x86_64) (Linux: 3.13.0-37-generic x86_64) | |
Testing connector LVDS-1 using pipe A plane 1 | |
Subtest plane-position-covered-pipe-A-plane-1: TIMEOUT (5.148s) | |
Subtest plane-position-hole-pipe-A-plane-1: SKIP | |
Subtest plane-panning-top-left-pipe-A-plane-1: SKIP | |
Subtest plane-panning-bottom-right-pipe-A-plane-1: SKIP | |
Subtest plane-position-covered-pipe-A-plane-2: SKIP | |
Subtest plane-position-hole-pipe-A-plane-2: SKIP | |
Subtest plane-panning-top-left-pipe-A-plane-2: SKIP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/content/common/gpu/media/vaapi_picture_provider_drm.cc b/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
index 5a8d0fa..4be8c57 100644 | |
--- a/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
+++ b/content/common/gpu/media/vaapi_picture_provider_drm.cc | |
@@ -62,7 +62,7 @@ DrmPicture::~DrmPicture() { | |
gl_image_->Destroy(true); | |
- DCHECK_EQ(glGetError(), GL_NO_ERROR); | |
+ DCHECK_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ui/ozone/platform/dri/buffer_data.cc b/ui/ozone/platform/dri/buffer_data.cc | |
index a2ea1b3..3462fd0 100644 | |
--- a/ui/ozone/platform/dri/buffer_data.cc | |
+++ b/ui/ozone/platform/dri/buffer_data.cc | |
@@ -20,6 +20,7 @@ const uint8_t kPixelDepth = 32; | |
BufferData::BufferData(DriWrapper* dri, gbm_bo* buffer) | |
: dri_(dri), | |
handle_(gbm_bo_get_handle(buffer).u32), | |
+ stride_(gbm_bo_get_stride(buffer)), | |
framebuffer_(0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asdf adsf adf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solution: | |
https://github.com/tmpsantos/meta-crosswalk/commits/embedded | |
https://github.com/tmpsantos/poky/commits/embedded | |
https://github.com/tiagovignatti/crosswalk/commits/embedded | |
https://github.com/tiagovignatti/chromium-crosswalk/commits/embedded | |
HOWTO: | |
wifi settings: | |
first type `connmanctl enable wifi` and then follow: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 3c1bdd234926334b36f68a2a522044eee5a80066 | |
Author: Tiago Vignatti <[email protected]> | |
Date: Thu Jul 3 16:32:09 2014 -0300 | |
hack for starting secondary display | |
diff --git a/ui/ozone/platform/dri/screen_manager.cc b/ui/ozone/platform/dri/screen_manager.cc | |
index ada162d..6fbf94c 100644 | |
--- a/ui/ozone/platform/dri/screen_manager.cc | |
+++ b/ui/ozone/platform/dri/screen_manager.cc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 drm_intel_gem_bo_tile_pitch (bufmgr_gem=0x40e3d0, pitch=5464, | |
tiling_mode=0x7fffffffdde8) at intel_bufmgr_gem.c:332 | |
#1 0x00007ffff7e15af8 in drm_intel_gem_bo_alloc_tiled (bufmgr=0x40e3d0, | |
name=0x7ffff574711f "image", x=1366, y=768, cpp=4, tiling_mode=0x7fffffffdde8, | |
pitch=0x7fffffffddd0, flags=0) at intel_bufmgr_gem.c:837 | |
#2 0x00007ffff7e10efa in drm_intel_bo_alloc_tiled (bufmgr=0x40e3d0, | |
name=0x7ffff574711f "image", x=1366, y=768, cpp=4, tiling_mode=0x7fffffffdde8, | |
pitch=0x7fffffffddd0, flags=0) at intel_bufmgr.c:68 | |
#3 0x00007ffff555a92f in intel_create_image (screen=0x40d8a0, width=1366, height=768, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@fisu:/home/tiago/git/chromium/src/out/Debug# ./ozone_egl_demo --ozone-platform=gbm | |
[0626/144415:ERROR:dri_wrapper.cc(77)] drm_mode_add_fb ret: 0 fb: 25 1 256 | |
[0626/144415:ERROR:dri_wrapper.cc(77)] drm_mode_add_fb ret: 0 fb: 27 2 256 | |
[0626/144415:INFO:dri_util.cc(109)] mode for connector 9 is 1366x768 | |
[0626/144415:ERROR:dri_wrapper.cc(77)] drm_mode_add_fb ret: 0 fb: 28 3 5504 | |
[0626/144415:ERROR:dri_wrapper.cc(39)] set_crtc: 3 conn: 9buf: 28 | |
[0626/144415:ERROR:gbm_surface_factory.cc(55)] Not implemented reached in virtual bool ui::{anonymous}::GbmSurfaceAdapter::ResizeNativeWindow(const gfx::Size&) | |
[0626/144415:ERROR:dri_wrapper.cc(77)] drm_mode_add_fb ret: 0 fb: 29 12 5632 | |
[0626/144415:INFO:hardware_display_controller.cc(114)] Attempting to PageFlip connector: 9 | |
[0626/144415:ERROR:dri_wrapper.cc(96)] page flip 1 crtc: 3 29 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ui/ozone/platform/dri/dri_buffer.cc b/ui/ozone/platform/dri/dri_buffer.cc | |
index e4cde59..5efb772 100644 | |
--- a/ui/ozone/platform/dri/dri_buffer.cc | |
+++ b/ui/ozone/platform/dri/dri_buffer.cc | |
@@ -50,6 +50,7 @@ bool CreateDumbBuffer(int fd, | |
uint32_t* handle, | |
uint32_t* stride) { | |
struct drm_mode_create_dumb request; | |
+ memset(&request, 0, sizeof(request)); | |
request.width = info.width(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ui/ozone/platform/dri/buffer_data.cc b/ui/ozone/platform/dri/buffer_data.cc | |
index a2ea1b3..d070e54 100644 | |
--- a/ui/ozone/platform/dri/buffer_data.cc | |
+++ b/ui/ozone/platform/dri/buffer_data.cc | |
@@ -14,8 +14,7 @@ namespace ui { | |
// Pixel configuration for the current buffer format. | |
// TODO(dnicoara) These will need to change once we query the hardware for | |
// supported configurations. | |
-const uint8_t kColorDepth = 24; | |
-const uint8_t kPixelDepth = 32; |