6689e4ee14f2dd0f04db9b5b816a252dfeb01ca5 |
|
29-Nov-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: add test for g2d_move To check if g2d_move() works properly we create a small checkerboard pattern in the center of the screen and then shift this pattern around with g2d_move(). The pattern should be properly preserved by the operation (but not the surrounding area). Tested-by: Hyungwon Hwang <human.hwang@samsung.com> Reviewed-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> [Emil Velikov: add g2d_move to the symbol check] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
1b32e5da44f4c1e24a60c6bad1fa8766cf36be39 |
|
29-Nov-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: use XRGB8888 for framebuffer This matches the G2D color mode that is used in the entire code. The previous (incorrect) RGBA8888 would only work since the Exynos mixer did its configuration based on the bpp, and not based on the actual pixelformat. Reviewed-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
2bf0d5bf63cda5a0abd79f2fd4b5737cb852b476 |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: handle G2D_IMGBUF_COLOR in switch statements This fixes a compiler warning about missing handling of enum values in the switch statements. Also remove the silent mapping to G2D_IMGBUF_GEM when an unknown buffer type is encountered. We have full control about the type here, and if it's unknown then we obviously have a bug in the code. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
b26c8efb6566e78d12a93fee7c01f6857e07f611 |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: remove connector_find_plane No test uses DRM planes at the moment so this function is never called. Inspection of the git history shows that DRM planes were also never used in these tests in the past. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
13ad10afc306a76f9a61e6a339e412a34a59bfe4 |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: simplify drm_set_crtc We can just return 'ret' here, the goto serves no purpose. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
28d896c763e0cc2ab8f9679ee75b756bdd587da7 |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: remove struct fimg2d_test_case It doesn't make sense to keep this structure, since we can just call all tests directly. An inspection of the git history shows that no code ever used this abstraction in the past. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
3aeea6198d3c62bab2ce98450f47ff91e402784b |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: remove unused define It doesn't make sense to limit the number of test cases anyway. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
0536d33f077ef92b5e9577c32a8772dd79f31c43 |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: clean struct connector Remove all unused struct members. An inspection of the git history shows that these members were also never used in the past. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
8d8bbbb9722c3eed3e2736da95d2fef4613d97fb |
|
12-Jun-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: replace return by break The 'usage' function already does exit(0), so that this 'return -EINVAL' is never called. Just put a break there to avoid confusion. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
8dff7a04780a0f028aa7c0218806a5ee59b1a40d |
|
18-Mar-2015 |
Jan Vesely <jan.vesely@rutgers.edu> |
tests/exynos: Fix missing static keyword Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
9a0949a8f46b6b844ab4a1ecce79a9e9078151c6 |
|
11-Mar-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
exynos: add exynos prefix to fimg2d header Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Inki Dae <inki.dae@samsung.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
736d6a1f0f8292fe3f3d0b38f5d69b8693767537 |
|
16-Mar-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
exynos: use structure initialization instead of memset Keeps the code cleaner, since the structs have to be initialized once anyway. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Inki Dae <inki.dae@samsung.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com> [evelikov: squash trivial conflict] Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Conflicts: tests/exynos/exynos_fimg2d_test.c
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
6f950de953ead6391ffa82b6c517fd4ea3ce3e29 |
|
11-Mar-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: fimg2d: add a checkerboard test This makes it easier to spot memory corruptions which don't become visible when using a plain buffer filled with a solid color (so corruptions that are just a permutation of the bytes in the buffer). Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Inki Dae <inki.dae@samsung.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
0706c14e7cc5f1d996bb1c3c526f877c4f8fc215 |
|
27-Feb-2015 |
Jan Vesely <jan.vesely@rutgers.edu> |
Fix unused, and unused-but-set variables warnings Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <eil.l.velikov@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
734d13b13b2f6f02465bf51412e0c2be255eb8b5 |
|
24-Feb-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: improve error handling Check for a useable connector and also if the resolution is sane (width and height are both non-zero). Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
6e2a9f936e032813dfb5be7d18cabdd177910645 |
|
24-Feb-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: introduce wait_for_user_input Currently getchar() is used to pause execution after each test. The user isn't informed if one is supposed to do anything for the tests to continue, so print a simple message to make this more clear. v3: Compactify printf calls as pointed out by Emil Velikov <emil.l.velikov@gmail.com>. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
a7c865dc0a574c67208855b5b814dc874a02fa85 |
|
24-Feb-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: disable the G2D userptr/blend test v2: Move the commit description into the patch itself. v3: Use common commenting style as pointed out by Emil Velikov <emil.l.velikov@gmail.com>. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
c8168fe5b8e4c448976a79d5b00d10e31e304cf5 |
|
24-Feb-2015 |
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> |
tests/exynos: fix typos and change wording No functional changes. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
0b3e540aa40117561d4dc1e9616f003ec7a8d621 |
|
23-Feb-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
exynos_fimg2d_test: remove unused variables Cc: Inki Dae <inki.dae@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
2b209fc409179a271751f57f6caad952e57eb3f6 |
|
23-Feb-2015 |
Emil Velikov <emil.l.velikov@gmail.com> |
exynos_fimg2d_test: fix implicit funciton declaration errors As one adds WARN_CFLAGS to the build the compiler throws a couple of lovely error messages. Add the relevant includes to fix them. error: implicit declaration of function ‘time’ error: implicit declaration of function ‘getopt’ Cc: Inki Dae <inki.dae@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
d1000c432c8ce76ea64f7f9eb6094d11542e0495 |
|
17-Apr-2014 |
Daniel Kurtz <djkurtz@chromium.org> |
exynos_fimg2d_test: fix drmModeRmFB The first parameter should be the drm fd, second param is the fb id. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Acked-by: Inki Dae <inki.dae@samsung.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|
bbf6e3dea3c79ea8e0c3e1dd8f80014201e003fc |
|
18-Feb-2013 |
Inki Dae <inki.dae@samsung.com> |
libdrm/exynos: add test application for 2d gpu. This patch adds library and test application for g2d gpu(fimg2d). The fimg2d hardware is a 2D graphics accelerator(G2D) that supports Bit Block Transfer(BitBLT). The library includes the following primitive drawing operations: .solid fill - This operation fills the given buffer with the given color data. .copy - This operation copies contents in source buffer to destination buffer. .copy_with_scale - This operation copies contents in source buffer to destination buffer scaling up or down properly. .blend - This operation blends contents in source buffer with the ones in destination buffer. And the above operations uses gem handle or user space address allocated by malloc() as source or destination buffer. And the test application includes just simple primitive drawing tests with the above library. And the guide to test is as the following, "#exynos_fimg2d_test -s connector_id@crtc_id:mode" With this above simple command, four primitive drawing operations would be called step by step and also rendered on the output device to the given connector and crtc id. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
/external/libdrm/tests/exynos/exynos_fimg2d_test.c
|