[PATCH v6 3/7] tests/intel/kms_frontbuffer_tracking: Enable the tests support variations based on the WAs
Mohammed Thasleem
mohammed.thasleem at intel.com
Fri Jun 27 06:04:42 UTC 2025
This update stops skipping fbc-* tests support variations based on the WAs.
v2: Use WA_FBC_DISABLED instead CHECK_WA. (Vinod)
Update igt_skip_on_f discription. (Vinod)
v3: Remove platform check and make it for xe specific. (Vinod)
Rename function name with is_fbc_support. (Vinod)
v4: Update function name and add igt_skip check. (Vinod)
v5: Move is_fbc_supported to intel_fbc.c (Kunal)
v6: Updated function name with intel_is_fbc_disabled_by_wa. (Kamil)
Signed-off-by: Mohammed Thasleem <mohammed.thasleem at intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
---
tests/intel/kms_frontbuffer_tracking.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index 0809352cb..32d5590ff 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -2610,8 +2610,8 @@ static void prepare_subtest_data(const struct test_mode *t,
static void prepare_subtest_screens(const struct test_mode *t)
{
/* FBC disabled: Wa_16023588340 */
- igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
- "FBC isn't supported on BMG\n");
+ igt_skip_on_f(t->feature == FEATURE_FBC && !intel_is_fbc_disabled_by_wa(drm.fd),
+ "WA has disabled FBC on BMG\n");
if (t->pipes == PIPE_DUAL)
enable_both_screens_and_wait(t);
@@ -2658,8 +2658,8 @@ static void prepare_subtest(const struct test_mode *t,
static void rte_subtest(const struct test_mode *t)
{
/* FBC disabled: Wa_16023588340 */
- igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
- "FBC isn't supported on BMG\n");
+ igt_skip_on_f(t->feature == FEATURE_FBC && !intel_is_fbc_disabled_by_wa(drm.fd),
+ "WA has disabled FBC on BMG\n");
prepare_subtest_data(t, NULL);
@@ -4157,8 +4157,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
t.tiling = opt.tiling;
/* FBC disabled: Wa_16023588340 */
- igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t.feature == FEATURE_FBC),
- "FBC isn't supported on BMG\n");
+ igt_skip_on_f(t.feature == FEATURE_FBC && !intel_is_fbc_disabled_by_wa(drm.fd),
+ "WA has disabled FBC on BMG\n");
for_each_pipe(&drm.display, pipe) {
if (pipe == default_pipe) {
--
2.34.1
More information about the igt-dev
mailing list