Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: pranay.samala@intel.com, Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t v2] tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform
Date: Tue, 28 Mar 2023 08:08:11 +0530	[thread overview]
Message-ID: <20230328023811.46847-1-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20241113110104.125403-1-mohammed.thasleem@intel.com>

FBC test isn't supported on bmg, skip the test on this platform.

v2: Add workaround id: Wa_16023588340. (Pranay)
    Use IS_BATTLEMAGE check instead using devid.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
Reviewed-by: Pranay Samala <pranay.samala@intel.com>
---
 tests/intel/kms_fbcon_fbt.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/intel/kms_fbcon_fbt.c b/tests/intel/kms_fbcon_fbt.c
index ab4819d23..8b792d868 100644
--- a/tests/intel/kms_fbcon_fbt.c
+++ b/tests/intel/kms_fbcon_fbt.c
@@ -73,7 +73,7 @@ IGT_TEST_DESCRIPTION("Test the relationship between fbcon and the frontbuffer "
 #define MAX_CONNECTORS 32
 
 struct drm_info {
-	int fd, debugfs_fd, crtc_id;
+	int fd, debugfs_fd, crtc_id, devid;
 	struct igt_fb fb;
 	drmModeResPtr res;
 	drmModeConnectorPtr connectors[MAX_CONNECTORS];
@@ -418,6 +418,9 @@ static void setup_environment(struct drm_info *drm)
 	igt_require(drm->fd >= 0);
 	drm->debugfs_fd = igt_debugfs_dir(drm->fd);
 	igt_require(drm->debugfs_fd >= 0);
+	drm->devid = intel_get_drm_devid(drm->fd);
+	igt_require_f(!IS_BATTLEMAGE(drm->devid),
+		      "FBC isn't supported on BMG\n");
 
 	drm->res = drmModeGetResources(drm->fd);
 	igt_require(drm->res);
-- 
2.25.1


  reply	other threads:[~2024-12-11 13:37 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 11:01 [PATCH i-g-t] tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform Mohammed Thasleem
2023-03-28  2:38 ` Mohammed Thasleem [this message]
2025-01-03 11:57   ` [PATCH i-g-t v3] " Mohammed Thasleem
2025-01-03 14:22     ` Samala, Pranay
2025-01-10 14:29       ` Kamil Konieczny
2025-01-08  6:59     ` Samala, Pranay
2024-11-13 11:13 ` [PATCH i-g-t] " Samala, Pranay
2024-11-13 13:57 ` ✗ CI.xeBAT: failure for " Patchwork
2024-11-13 13:58 ` ✓ Fi.CI.BAT: success " Patchwork
2024-11-13 16:34 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-11-13 19:50 ` ✗ CI.xeFULL: " Patchwork
2024-11-14  6:18 ` [PATCH i-g-t] " Samala, Pranay
2024-12-11 16:09 ` ✗ GitLab.Pipeline: warning for tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform (rev2) Patchwork
2024-12-11 17:19 ` ✓ i915.CI.BAT: success " Patchwork
2024-12-11 17:31 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-11 18:54 ` ✗ i915.CI.Full: failure " Patchwork
2024-12-11 19:32 ` ✗ Xe.CI.Full: " Patchwork
2024-12-13  8:32 ` ✗ i915.CI.BAT: failure for tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform (rev3) Patchwork
2024-12-13  8:37 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-13 13:06 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-03 13:45 ` ✓ i915.CI.BAT: success for tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform (rev4) Patchwork
2025-01-03 14:06 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-03 17:11 ` ✗ i915.CI.Full: failure " Patchwork
2025-01-03 19:45 ` ✗ Xe.CI.Full: " Patchwork
2025-01-20  7:14 ` [PATCH i-g-t v4] tests/intel/kms_fbcon_fbt: Skip FBC testing on BMG platform Mohammed Thasleem
2025-01-20  8:42 ` ✓ i915.CI.BAT: success for tests/intel/kms_fbcon_fbt: Add skip condition for bmg platform (rev5) Patchwork
2025-01-20  9:11 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-20 11:11 ` ✗ Xe.CI.Full: failure " Patchwork
2025-01-20 18:10   ` Thasleem, Mohammed
2025-01-23  5:45     ` Illipilli, TejasreeX
2025-01-21  3:13 ` ✗ i915.CI.Full: " Patchwork
2025-01-23  4:31 ` ✓ i915.CI.Full: success " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230328023811.46847-1-mohammed.thasleem@intel.com \
    --to=mohammed.thasleem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=pranay.samala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox