[igt-dev] [PATCH i-g-t v4] tests/xe: Verify actual frequency on the basis of GT state

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Jul 19 14:25:18 UTC 2023


On Wed, 19 Jul 2023 07:17:44 -0700, Badal Nilawar wrote:
>
> @@ -266,7 +284,7 @@ static void test_freq_fixed(int fd, int gt_id)
>   * Run type: FULL
>   */
>
> -static void test_freq_range(int fd, int gt_id)
> +static void test_freq_range(int fd, int gt_id, bool gt_idle)
>  {
>	uint32_t rpn = get_freq(fd, gt_id, "rpn");
>	uint32_t rpe = get_freq(fd, gt_id, "rpe");
> @@ -274,13 +292,22 @@ static void test_freq_range(int fd, int gt_id)
>
>	igt_debug("Starting testing range request\n");
>
> +	if (gt_idle)
> +		igt_require(igt_wait(xe_is_gt_in_c6(fd, gt_id), 1000, 1));

Forgot to delete this? After deleting this is:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list