All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
@ 2021-06-30  9:43 Mika Kahola
  2021-06-30 11:09 ` Juha-Pekka Heikkila
  2021-06-30 15:31 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Mika Kahola @ 2021-06-30  9:43 UTC (permalink / raw)
  To: igt-dev

ADL-P platform doesn't support 90/270 rotation. Let's skip to test
with these rotations.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 tests/kms_plane_scaling.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index 2aa46ac8..1dad2e60 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -165,6 +165,10 @@ static bool can_rotate(data_t *d, unsigned format, uint64_t tiling,
 	if (!is_i915_device(d->drm_fd))
 		return true;
 
+	if (intel_display_ver(d->devid) >= 13 &&
+		(rot == IGT_ROTATION_90 || rot == IGT_ROTATION_270))
+		return false;
+
 	switch (format) {
 	case DRM_FORMAT_RGB565:
 		if (intel_display_ver(d->devid) >= 11)
-- 
2.27.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
  2021-06-30  9:43 [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P Mika Kahola
@ 2021-06-30 11:09 ` Juha-Pekka Heikkila
  2021-06-30 15:31 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Juha-Pekka Heikkila @ 2021-06-30 11:09 UTC (permalink / raw)
  To: Mika Kahola, igt-dev

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

On 30.6.2021 12.43, Mika Kahola wrote:
> ADL-P platform doesn't support 90/270 rotation. Let's skip to test
> with these rotations.
> 
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
>   tests/kms_plane_scaling.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
> index 2aa46ac8..1dad2e60 100644
> --- a/tests/kms_plane_scaling.c
> +++ b/tests/kms_plane_scaling.c
> @@ -165,6 +165,10 @@ static bool can_rotate(data_t *d, unsigned format, uint64_t tiling,
>   	if (!is_i915_device(d->drm_fd))
>   		return true;
>   
> +	if (intel_display_ver(d->devid) >= 13 &&
> +		(rot == IGT_ROTATION_90 || rot == IGT_ROTATION_270))
> +		return false;
> +
>   	switch (format) {
>   	case DRM_FORMAT_RGB565:
>   		if (intel_display_ver(d->devid) >= 11)
> 

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
  2021-06-30  9:43 [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P Mika Kahola
  2021-06-30 11:09 ` Juha-Pekka Heikkila
@ 2021-06-30 15:31 ` Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2021-06-30 15:31 UTC (permalink / raw)
  To: Mika Kahola; +Cc: igt-dev


[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

== Series Details ==

Series: tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P
URL   : https://patchwork.freedesktop.org/series/92060/
State : failure

== Summary ==

Series 92060 revision 1 was fully merged or fully failed: no git log



[-- Attachment #1.2: Type: text/html, Size: 713 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-30 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30  9:43 [igt-dev] [PATCH i-g-t] tests/kms_plane_scaling: Skip 90/270 rotation for ADL-P Mika Kahola
2021-06-30 11:09 ` Juha-Pekka Heikkila
2021-06-30 15:31 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.