[igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc at exhaust-fences: added check for HW detiler
Sharma, Swati2
swati2.sharma at intel.com
Fri Mar 5 07:38:49 UTC 2021
Thanks for the patch. Pushed.
On 05-Mar-21 12:58 PM, Sharma, Swati2 wrote:
> LGTM.
> Reviewed-by: Swati Sharma <swati2.sharma at intel.com>
>
> On 05-Mar-21 12:14 PM, Nidhi Gupta wrote:
>> 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.
>>
>> Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
>> ---
>> tests/kms_rotation_crc.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
>> index adddb690..bcbb9bdc 100644
>> --- a/tests/kms_rotation_crc.c
>> +++ b/tests/kms_rotation_crc.c
>> @@ -884,6 +884,7 @@ static void
>> test_plane_rotation_exhaust_fences(data_t *data,
>> int i;
>> igt_require(igt_plane_has_prop(plane, IGT_PLANE_ROTATION));
>> + igt_require(gem_available_fences(display->drm_fd) > 0);
>> prepare_crtc(data, output, pipe, plane, false);
>>
>
--
~Swati Sharma
More information about the igt-dev
mailing list