History log of /external/autotest/client/cros/graphics/drm.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5c4cfb286ad25e89a9ab298c56d8e656b615fd0 04-Jun-2015 Yuli Huang <yuli@chromium.org> Fix test failures for DUTs that don't use card0 for screenshot

Chameleon display tests failed on veyron_jerry because veyron_jerry uses card1
instead of card0 for screenshot. Therefore, we should enumerate /dev/dri/ to
find proper drm devices for screenshot.

BUG=chromium:477510
TEST=run display_ResolutionList test on veyron_jerry

Change-Id: I1c8dc82fffb99092c883e528e43ad9ce1c5d524b
Reviewed-on: https://chromium-review.googlesource.com/275791
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Tested-by: Yuli Huang <yuli@chromium.org>
Commit-Queue: Yuli Huang <yuli@chromium.org>
/external/autotest/client/cros/graphics/drm.py
d2c9f442b031fc47f6196b92bb96ecbbd796c10c 21-May-2015 Ilja H. Friedel <ihf@chromium.org> Find valid crtc for screenshot.

This change completes some of the drm structures and searches
for a valid crtc to take the screenshot from.

BUG=chromium:476791
TEST=Ran on alex.

Change-Id: I84a2c85061c2e2e897051d6cfad3211247518c03
Reviewed-on: https://chromium-review.googlesource.com/272546
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Trybot-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/cros/graphics/drm.py
d94feb65407b07bd2c17ffd94cfcace57f9d0650 17-Feb-2015 Ilja H. Friedel <ihf@chromium.org> Convert chameleon tests to Freon.

TEST=Ran on X and Freon variant of parrot
test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP suite:chameleon_hdmi
BUG=chromium:423527, chromium:451787, chromium:451800
CQ-DEPEND=CL:242131

Change-Id: I9f145c387a22529b369e6017894ae20c5f6f429f
Reviewed-on: https://chromium-review.googlesource.com/250674
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/drm.py
f2a4b9f6e2697ef7f6c82b7f276e9e102b61e62b 20-Jan-2015 Corbin Simpson <simpsoco@chromium.org> bin/screenshot: Enable selection of CRTCs with -c flag.

Defaults to CRTC 0 if none is picked.

BUG=chromium:423527
TEST=Plug two monitors into Link and try to take two screenshots with -c 0 and
TEST=-c 1. Works great.

Change-Id: I6f1b53c63ce3abdb7dfe84ebd56ab085a382d99e
Signed-off-by: Corbin Simpson <simpsoco@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/242131
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/drm.py
5ff4624633a375231c052b38510f279c9f2bbc28 14-Oct-2014 Corbin Simpson <simpsoco@chromium.org> client/cros/graphics: Introduce DRM-based screenshotting.

Directly take screenshots by mapping the framebuffers without using X11. This
effectively permits Freon-based screenshots during testing.

To test: Try to run something that uses screenshots. ui_SystemTray for
example. The test fails, but the screenshot succeeds.

BUG=chromium:412530
TEST=See above

Change-Id: If9160d3a2781f30be1edd0af5f9ce07ac115bd4a
Signed-off-by: Corbin Simpson <simpsoco@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/222973
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/drm.py