[igt-dev] [PATCH i-g-t] tests/kms_display_modes: Skip the negative test on MST Hub

Modem, Bhanuprakash bhanuprakash.modem at intel.com
Wed Aug 23 06:37:52 UTC 2023



On Fri-18-08-2023 02:14 pm, Lisovskiy, Stanislav wrote:
> On Fri, Jul 07, 2023 at 09:07:20PM +0530, Thasleem, Mohammed wrote:
>> Skip the test on which MST hub which support bandwidth for 2k-4k
>> and 4k-4k multi displays.
>>
>> Signed-off-by: Thasleem, Mohammed <mohammed.thasleem at intel.com>
> 
> Okay I missed the MST check in the begining of the main function, so
> 
> Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
> 
>> ---
>>   tests/kms_display_modes.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
>> index 4bebb25e..8e117695 100644
>> --- a/tests/kms_display_modes.c
>> +++ b/tests/kms_display_modes.c
>> @@ -310,6 +310,7 @@ static void run_extendedmode_negative(data_t *data, int pipe1, int pipe2)
>>   
>>   	igt_require(i915_pipe_output_combo_valid(display));
>>   	ret = igt_display_try_commit2(display, COMMIT_ATOMIC);
>> +	igt_skip_on_f(ret == 0, "MST Hub supports bandwidth on multi display\n");

NACK

Failure reason can be anything, you need to check for the precise error 
code.

- Bhanu

>>   	igt_assert(ret != 0 && errno == ENOSPC);
>>   }
>>   
>> -- 
>> 2.34.1
>>


More information about the igt-dev mailing list