mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
Correct kms_fbc_crc case
Debugfs i915_fbc_status shows "FBC unsupported on this chipset" not "unsupported by this chipset" if the platform doesn't support FBC feature. That typo will cause case fail on some platforms such as byt, bsw. Signed-off-by: Lei Liu <lei.a.liu@intel.com>
This commit is contained in:
parent
b556c9e8e5
commit
d36465d520
@ -513,7 +513,7 @@ igt_main
|
|||||||
igt_assert_lt(0, fread(buf, 1, sizeof(buf), status));
|
igt_assert_lt(0, fread(buf, 1, sizeof(buf), status));
|
||||||
fclose(status);
|
fclose(status);
|
||||||
buf[sizeof(buf) - 1] = '\0';
|
buf[sizeof(buf) - 1] = '\0';
|
||||||
igt_require_f(!strstr(buf, "unsupported by this chipset") &&
|
igt_require_f(!strstr(buf, "unsupported on this chipset") &&
|
||||||
!strstr(buf, "disabled per module param") &&
|
!strstr(buf, "disabled per module param") &&
|
||||||
!strstr(buf, "disabled per chip default"),
|
!strstr(buf, "disabled per chip default"),
|
||||||
"FBC not supported/enabled\n");
|
"FBC not supported/enabled\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user