tests/kms_plane_scaling: Add downscaling+upscaling tests
PATCH v2 1/1 tests/kms_plane_scaling: Add downscaling+upscaling tests
In newer hardware versions (i.e. display version >= 14), the second scaler doesn't support downscaling. Current driver design in the case of 2 plane scaling scenario is if plane1-US and plane2-DS, it's reject for now. That's why new tests are added for plane1-DS and plane2-US, so that different DS+US combinations can be validated.
v2: -minor fix
--- tests/kms_plane_scaling.c | 70 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-)
tests/kms_plane_scaling.c +69 -1
@@ -31,7 +31,8 @@ IGT_TEST_DESCRIPTION("Test display plane scaling");enum scaler_combo_test_type {TEST_PLANES_UPSCALE =0 ,TEST_PLANES_DOWNSCALE , -TEST_PLANES_UPSCALE_DOWNSCALE +TEST_PLANES_UPSCALE_DOWNSCALE , +TEST_PLANES_DOWNSCALE_UPSCALE }; typedef struct {
@@ -286,6 +287,69 @@ const struct { 0.75, TEST_PLANES_UPSCALE_DOWNSCALE, }, + { +"Tests downscaling (scaling factor 0.25) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-25-upscale-20x20" , +0.25 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.25) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-25-upscale-0-25" , +0.25 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.25) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-25-unity-scaling" , +0.25 , +1.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-5-upscale-20x20" , +0.5 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-5-upscale-0-25" , +0.5 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-5-unity-scaling" , +0.5 , +1.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-75-upscale-20x20" , +0.75 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-75-upscale-0-25" , +0.75 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-75-unity-scaling" , +0.75 , +1.0 , + TEST_PLANES_DOWNSCALE_UPSCALE, + }, };static int get_width (drmModeModeInfo *mode,double scaling_factor)
@@ -653,6 +717,10 @@ test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,setup_fb (display->drm_fd, w1, h1,1.0 ,0.0 ,0.0 , &d->fb[1 ]);setup_fb (display->drm_fd, mode->hdisplay, mode->vdisplay,0.0 ,1.0 ,0.0 , &d->fb[2 ]); } +if (test_type ==TEST_PLANES_DOWNSCALE_UPSCALE ) { +setup_fb (display->drm_fd, mode->hdisplay, mode->vdisplay,0.0 ,1.0 ,0.0 , &d->fb[1 ]); +setup_fb (display->drm_fd, w1, h1,1.0 ,0.0 ,0.0 , &d->fb[2 ]); + }for (int k =0 ; k < display->pipes[pipe].n_planes; k++) {igt_plane_t *p1, *p2;
Signature · 1 line
2.25.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane_scaling: Add downscaling+upscaling tests (rev2)
== Series Details ==
== Series Details ==
Series: tests/kms_plane_scaling: Add downscaling+upscaling tests (rev2)
URL : https://patchwork.freedesktop.org/series/113692/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12697 -> IGTPW_8449
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
Participating hosts (26 -> 25)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in IGTPW_8449 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
- fi-bsw-n3050: [PASS][1] -> [FAIL][2] ([i915#6298])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/fi-bsw-n3050/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- {bat-jsl-3}: [DMESG-FAIL][3] ([i915#5334]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/bat-jsl-3/igt@i915_selftest@live@gt_heartbeat.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/bat-jsl-3/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
- fi-bsw-n3050: [FAIL][5] ([i915#6298]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/fi-bsw-n3050/igt@kms_cursor_legacy@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/fi-bsw-n3050/igt@kms_cursor_legacy@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7149 -> IGTPW_8449
CI-20190529: 20190529
CI_DRM_12697: 36bc05063652a1bb1a8c00c19c39281dc7ecf015 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8449: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
IGT_7149: 1c7ea154b625e1fb826f1519b816b4256dd10b62 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_plane_scaling: Add downscaling+upscaling tests (rev2)
In reply to Swati Sharma== Series Details ==
== Series Details ==
Series: tests/kms_plane_scaling: Add downscaling+upscaling tests (rev2)
URL : https://patchwork.freedesktop.org/series/113692/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12697_full -> IGTPW_8449_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
Participating hosts (9 -> 10)
------------------------------
Additional (1): shard-tglu-9
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8449_full:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20} (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-tglu-6/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20.html
* {igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling} (NEW):
- {shard-rkl}: NOTRUN -> [SKIP][2] +7 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-4/igt@[email protected]
* {igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25} (NEW):
- {shard-tglu-9}: NOTRUN -> [SKIP][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-tglu-9/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_12697_full and IGTPW_8449_full:
### New IGT tests (64) ###
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-a-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-a-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-b-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-c-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-c-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling@pipe-d-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25:
- Statuses :
- Exec time: [None] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-a-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-a-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-b-edp-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-b-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-c-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-0-25@pipe-d-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-a-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-a-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-b-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-c-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-c-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-a-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-b-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-c-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-0-25@pipe-d-hdmi-a-4:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-a-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-unity-scaling@pipe-c-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25:
- Statuses : 2 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25@pipe-a-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-0-25@pipe-c-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20:
- Statuses : 1 skip(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20@pipe-a-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20@pipe-b-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20@pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20@pipe-c-hdmi-a-1:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@planes-downscale-factor-0-75-upscale-20x20@pipe-d-hdmi-a-1:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_8449_full that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@drm_fdinfo@virtual-idle:
- {shard-rkl}: [FAIL][4] ([i915#7742]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-1/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-1/igt@[email protected]
* igt@fbdev@unaligned-read:
- {shard-rkl}: [SKIP][6] ([i915#2582]) -> [PASS][7] +2 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][8] ([fdo#103375]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [FAIL][10] ([i915#2842]) -> [PASS][11] +3 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-glk4/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- {shard-rkl}: [FAIL][12] ([i915#2842]) -> [PASS][13] +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-1/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-gtt-read-noreloc:
- {shard-rkl}: [SKIP][14] ([i915#3281]) -> [PASS][15] +7 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-2/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@gem_partial_pwrite_pread@write-display:
- {shard-rkl}: [SKIP][16] ([i915#3282]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- {shard-rkl}: [SKIP][18] ([i915#2527]) -> [PASS][19] +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- {shard-rkl}: [SKIP][20] ([i915#658]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@modeset-lpsp:
- {shard-rkl}: [SKIP][22] ([i915#1397]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-2/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@i915_pm_rpm@pm-tiling:
- {shard-rkl}: [SKIP][24] ([fdo#109308]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
- shard-glk: [FAIL][26] ([i915#2346]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-glk1/igt@kms_cursor_legacy@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-glk3/igt@kms_cursor_legacy@[email protected]
* igt@kms_fbcon_fbt@psr:
- {shard-rkl}: [SKIP][28] ([fdo#110189] / [i915#3955]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-1/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][30] ([i915#2122]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-glk5/igt@kms_flip@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-hdmi-a1:
- shard-glk: [FAIL][32] ([i915#79]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-glk4/igt@kms_flip@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-glk8/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- {shard-rkl}: [SKIP][34] ([i915#1849] / [i915#4098]) -> [PASS][35] +13 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-2/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@kms_properties@plane-properties-atomic:
- {shard-rkl}: [SKIP][36] ([i915#1849]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-2/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@kms_psr@cursor_mmap_cpu:
- {shard-rkl}: [SKIP][38] ([i915#1072]) -> [PASS][39] +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@kms_psr@cursor_mmap_cpu.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@kms_psr@cursor_mmap_cpu.html
* igt@kms_rotation_crc@exhaust-fences:
- {shard-rkl}: [SKIP][40] ([i915#1845] / [i915#4098]) -> [PASS][41] +18 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-3/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
* igt@perf@polling-small-buf:
- {shard-rkl}: [FAIL][42] ([i915#1722]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-1/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-5/igt@[email protected]
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][44] ([i915#4349]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-4/igt@perf_pmu@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-3/igt@perf_pmu@[email protected]
* igt@prime_vgem@basic-fence-flip:
- {shard-rkl}: [SKIP][46] ([fdo#109295] / [i915#3708] / [i915#4098]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12697/shard-rkl-1/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/shard-rkl-6/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6403]: https://gitlab.freedesktop.org/drm/intel/issues/6403
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7330]: https://gitlab.freedesktop.org/drm/intel/issues/7330
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7582]: https://gitlab.freedesktop.org/drm/intel/issues/7582
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7149 -> IGTPW_8449
CI-20190529: 20190529
CI_DRM_12697: 36bc05063652a1bb1a8c00c19c39281dc7ecf015 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8449: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
IGT_7149: 1c7ea154b625e1fb826f1519b816b4256dd10b62 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8449/index.html
Quoted 98 lines · Swati Sharma
In newer hardware versions (i.e. display version >= 14), the second scaler doesn't support downscaling. Current driver design in the case of 2 plane scaling scenario is if plane1-US and plane2-DS, it's reject for now. That's why new tests are added for plane1-DS and plane2-US, so that different DS+US combinations can be validated.
v2: -minor fix
Signed-off-by Swati Sharma <[email protected]>--- tests/kms_plane_scaling.c | 70 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-)tests/kms_plane_scaling.c +65
-1@@ -31,7 +31,8 @@ IGT_TEST_DESCRIPTION("Test display plane scaling");enum scaler_combo_test_type {TEST_PLANES_UPSCALE =0 ,TEST_PLANES_DOWNSCALE , -TEST_PLANES_UPSCALE_DOWNSCALE +TEST_PLANES_UPSCALE_DOWNSCALE , +TEST_PLANES_DOWNSCALE_UPSCALE }; typedef struct {@@ -286,6 +287,69 @@ const struct { 0.75, TEST_PLANES_UPSCALE_DOWNSCALE, }, + { +"Tests downscaling (scaling factor 0.25) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-25-upscale-20x20" , +0.25 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.25) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-25-upscale-0-25" , +0.25 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.25) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-25-unity-scaling" , +0.25 , +1.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-5-upscale-20x20" , +0.5 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-5-upscale-0-25" , +0.5 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.5) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-5-unity-scaling" , +0.5 , +1.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and upscaling (20x20) of 2 planes." , +"planes-downscale-factor-0-75-upscale-20x20" , +0.75 , +0.0 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and upscaling (scaling factor 0.25) of 2 planes." , +"planes-downscale-factor-0-75-upscale-0-25" , +0.75 , +0.25 , +TEST_PLANES_DOWNSCALE_UPSCALE , + }, + { +"Tests downscaling (scaling factor 0.75) and scaling (unity) of 2 planes." , +"planes-downscale-factor-0-75-unity-scaling" , +0.75 , +1.0 , + TEST_PLANES_DOWNSCALE_UPSCALE, + }, };static int get_width (drmModeModeInfo *mode,double scaling_factor)
tests/kms_plane_scaling.c test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2, · line 723
Quoted 7 lines
tests/kms_plane_scaling.c +4
-0@@ -653,6 +717,10 @@ test_planes_scaling_combo(data_t *d, int w1, int h1, int w2, int h2,setup_fb (display->drm_fd, w1, h1,1.0 ,0.0 ,0.0 , &d->fb[1 ]);setup_fb (display->drm_fd, mode->hdisplay, mode->vdisplay,0.0 ,1.0 ,0.0 , &d->fb[2 ]); } +if (test_type ==TEST_PLANES_DOWNSCALE_UPSCALE ) { +setup_fb (display->drm_fd, mode->hdisplay, mode->vdisplay,0.0 ,1.0 ,0.0 , &d->fb[1 ]); +setup_fb (display->drm_fd, w1, h1,1.0 ,0.0 ,0.0 , &d->fb[2 ]); + }
Should this TEST_PLANES_DOWNSCALE_UPSCALE be taken care of also in __test_planes_scaling_combo(..) ? You could also change these stream of "if (test_type .." to switch case and have default having assert(0) so when 'the next guy' come changing these it will be obvious if something was missed.
/Juha-Pekka
Quoted 3 lines
tests/kms_plane_scaling.c +0
-0for (int k =0 ; k < display->pipes[pipe].n_planes; k++) {igt_plane_t *p1, *p2;