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/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c | |
| index e1790af..a7737e0 100644 | |
| --- a/drivers/gpu/drm/drm_stub.c | |
| +++ b/drivers/gpu/drm/drm_stub.c | |
| @@ -39,7 +39,8 @@ | |
| #include <drm/drmP.h> | |
| #include <drm/drm_core.h> | |
| -unsigned int drm_debug = 0; /* 1 to enable debug output */ | |
| +unsigned int drm_debug = 15; /* 1 to enable debug output */ |
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
| chronos@localhost /tmp/chrome/src/out_gbm/Release $ ./content_perftests --gtest_filter=GpuMemoryBufferPerf* --ozone-platform=gbm --ozone-use-surfaceless | |
| IMPORTANT DEBUGGING NOTE: batches of tests are run inside their | |
| own process. For debugging a test inside a debugger, use the | |
| --gtest_filter=<your_test_name> flag along with | |
| --single-process-tests. | |
| Using sharding settings from environment. This is shard 0/1 | |
| Using 1 parallel jobs. | |
| [9203:9203:0701/071357:1174537542843:ERROR:gpu_info_collector_ozone.cc(11)] Not implemented reached in std::string gpu::CollectDriverVersionNVidia() | |
| Note: Google Test filter = GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0:GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1 | |
| [==========] Running 2 tests from 1 test case. |
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
| chronos@localhost /tmp/chrome/src/out_gbm/Release $ ./content_perftests --gtest_filter=GpuMemoryBufferPerf* --ozone-platform=gbm --ozone-use-surfaceless --ozone-use-intel-drm | |
| IMPORTANT DEBUGGING NOTE: batches of tests are run inside their | |
| own process. For debugging a test inside a debugger, use the | |
| --gtest_filter=<your_test_name> flag along with | |
| --single-process-tests. | |
| Using sharding settings from environment. This is shard 0/1 | |
| Using 1 parallel jobs. | |
| [9185:9185:0701/071244:1174465331146:ERROR:gpu_info_collector_ozone.cc(11)] Not implemented reached in std::string gpu::CollectDriverVersionNVidia() | |
| Note: Google Test filter = GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/0:GpuMemoryBufferPerfTests/GpuMemoryBufferPerfTest.Map/1 | |
| [==========] Running 2 tests from 1 test case. |
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
| IMPORTANT DEBUGGING NOTE: each test is run inside its own process. | |
| For debugging a test inside a debugger, use the | |
| --gtest_filter=<your_test_name> flag along with either | |
| --single_process (to run the test in one launcher/browser process) or | |
| --single-process (to do the above, and also run Chrome in single-process mode). | |
| Using sharding settings from environment. This is shard 0/1 | |
| Using 1 parallel jobs. | |
| Note: Google Test filter = ChildThreadImplGpuMemoryBufferPerfTests/ChildThreadImplGpuMemoryBufferPerfTest.Map/0 | |
| [==========] Running 1 test from 1 test case. | |
| [----------] Global test environment set-up. |
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
| chronos@localhost //tmp/chrome/src/out_gbm/Debug $ ./content_browsertests --ozone-platform=gbm --ozone-use-surfaceless --no-sandbox --gtest_also_run_disabled_tests --gtest_filter=ChildThreadImplGpuMemoryBufferBrowserTests/ChildThreadImplGpuMemoryBufferBrowserTest.DISABLED_Map/0 | |
| IMPORTANT DEBUGGING NOTE: each test is run inside its own process. | |
| For debugging a test inside a debugger, use the | |
| --gtest_filter=<your_test_name> flag along with either | |
| --single_process (to run the test in one launcher/browser process) or | |
| --single-process (to do the above, and also run Chrome in single-process mode). | |
| Using sharding settings from environment. This is shard 0/1 | |
| Using 1 parallel jobs. | |
| Note: Google Test filter = ChildThreadImplGpuMemoryBufferBrowserTests/ChildThreadImplGpuMemoryBufferBrowserTest.DISABLED_Map/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
| --- /media/git/drm-intel/drivers/gpu/drm/vgem/vgem_drv.c 2015-05-14 18:25:58.743234338 -0300 | |
| +++ /media/chromiumos/src/third_party/kernel/v3.8/drivers/gpu/drm/vgem/vgem_drv.c 2015-04-16 21:05:39.470843601 -0300 | |
| @@ -30,10 +30,11 @@ | |
| * software renderer and the X server for efficient buffer sharing. | |
| */ | |
| +#include "drmP.h" | |
| +#include <linux/dma-buf.h> | |
| #include <linux/module.h> | |
| #include <linux/ramfs.h> |
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
| --- /media/git/drm-intel/drivers/gpu/drm/vgem/vgem_drv.c 2015-05-14 18:25:58.743234338 -0300 | |
| +++ /media/chromiumos/src/third_party/kernel/v3.14/drivers/gpu/drm/vgem/vgem_drv.c 2015-04-16 21:04:40.173736984 -0300 | |
| @@ -30,6 +30,7 @@ | |
| * software renderer and the X server for efficient buffer sharing. | |
| */ | |
| +#include "drmP.h" | |
| #include <linux/module.h> | |
| #include <linux/ramfs.h> | |
| #include <linux/shmem_fs.h> |
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
| 32a33 | |
| > #include "drmP.h" | |
| 47c48,57 | |
| < drm_gem_put_pages(&obj->base, obj->pages, false, false); | |
| --- | |
| > int num_pages = obj->base.size / PAGE_SIZE; | |
| > int i; | |
| > | |
| > for (i = 0; i < num_pages; i++) { | |
| > if (obj->pages[i] == NULL) |
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
| 32a33 | |
| > #include "drmP.h" | |
| 47c48,57 | |
| < drm_gem_put_pages(&obj->base, obj->pages, false, false); | |
| --- | |
| > int num_pages = obj->base.size / PAGE_SIZE; | |
| > int i; | |
| > | |
| > for (i = 0; i < num_pages; i++) { | |
| > if (obj->pages[i] == NULL) |
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
| --- /media/git/drm-intel/drivers/gpu/drm/vgem/vgem_drv.c 2015-05-14 18:25:58.743234338 -0300 | |
| +++ /media/chromiumos/src/third_party/kernel/v3.14/drivers/gpu/drm/vgem/vgem_drv.c 2015-04-16 21:04:40.173736984 -0300 | |
| @@ -30,6 +30,7 @@ | |
| * software renderer and the X server for efficient buffer sharing. | |
| */ | |
| +#include "drmP.h" | |
| #include <linux/module.h> | |
| #include <linux/ramfs.h> | |
| #include <linux/shmem_fs.h> |