[igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc at exhaust-fences: added check for HW detiler

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 5 11:09:05 UTC 2021


Quoting Nidhi Gupta (2021-03-05 06:44:21)
> HW detiler not supported on platforms w/o aperture.
> Added feature test macro to query the kernel for the
> global gpu aperture size. Aperture size should be
> greater than zero to support HW detiler, if not skip
> the test.

Which is already a requirement for the test. So what are you actually
trying to achieve?

        igt_require(total_fbs_size < total_aperture_size * 0.9);

Maybe that it's mistakenly calling gem_available_aperture_size() and not
gem_mappable_aperture_size().
-Chris


More information about the igt-dev mailing list