public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Naladala, Ramanaidu" <Ramanaidu.naladala@intel.com>
To: "Sharma, Swati2" <swati2.sharma@intel.com>,
	<igt-dev@lists.freedesktop.org>
Cc: <mohammed.bilal@intel.com>, <sowmiya.s@intel.com>
Subject: Re: [PATCH i-g-t v2] kms/feature_discovery: Add VRR capability subtest per output
Date: Thu, 26 Mar 2026 13:35:54 +0530	[thread overview]
Message-ID: <8bb385fc-25ee-4f46-875d-c2f7e1598b5e@intel.com> (raw)
In-Reply-To: <374b755a-f834-4daf-9b3e-36d171c030c2@intel.com>

Hi Swati,

Yes it is wrongly coded. i will fix this in next review. Thank you for 
the review.

On 3/26/2026 12:42 PM, Sharma, Swati2 wrote:
> Hi Ramanaidu
>
> On 20-03-2026 12:13 pm, Naladala Ramanaidu wrote:
>> Add a dynamic "vrr" subtest that checks vrr capability on each
>> connected output, skipping if the driver or output lacks VRR
>> support.
>>
>> v2: Address review comments. (Bilal, Sowmiya)
>>
>> Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
>> ---
>>   tests/kms_feature_discovery.c | 19 +++++++++++++++++++
>>   1 file changed, 19 insertions(+)
>>
>> diff --git a/tests/kms_feature_discovery.c 
>> b/tests/kms_feature_discovery.c
>> index 28ec89c55..7b197b848 100644
>> --- a/tests/kms_feature_discovery.c
>> +++ b/tests/kms_feature_discovery.c
>> @@ -60,6 +60,10 @@
>>    * Description: Make sure that we have eDP panel with PSR2 support.
>>    * Mega feature: PSR
>>    *
>> + * SUBTEST: vrr
>> + * Description: Make sure that we have VRR support on output.
>> + * Mega feature: Adaptive Sync
>> + *
>>    * SUBTEST: dp-mst
>>    * Description: Make sure that we have DP-MST configuration.
>>    *
>> @@ -157,6 +161,21 @@ int igt_main() {
>>               igt_require(psr_sink_support(fd, debugfs_fd, 
>> PSR_MODE_2, NULL));
>>           }
>>   +        igt_describe("Make sure that we have VRR support on 
>> output.");
>> +        igt_subtest_with_dynamic("vrr") {
>> +            igt_output_t *output;
>> +
>> +            igt_skip_on_f(!igt_output_has_prop(output, 
>> IGT_CONNECTOR_VRR_CAPABLE),
> o/p is uninitialized here.
>> +                      "Driver does not support VRR.\n");
> This doesn't look right. Can you check if we have some CAP reg to tell 
> driver's capability to support VRR.
>> +
>> +            for_each_connected_output(&display, output) {
>> +                igt_dynamic_f("%s", output->name)
>> +                    if (!igt_output_get_prop(output,
>> +                                 IGT_CONNECTOR_VRR_CAPABLE))
>> +                        igt_skip("VRR not supported on this 
>> output.\n");
>
> Instead of igt_skip we should have igt_require(). Please check how 
> other feature discovery tests are written.
>
> Follow same pattern.
>
>> +            }
>> +        }
>> +
>>           igt_describe("Make sure that we have DP-MST configuration.");
>>           igt_subtest("dp-mst") {
>>               struct kmstest_connector_config config;

  reply	other threads:[~2026-03-26  8:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21  0:13 [PATCH i-g-t v1] kms/feature_discovery: Add VRR capability subtest per output Naladala Ramanaidu
2026-01-21  1:16 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-01-21  1:19 ` ✓ i915.CI.BAT: " Patchwork
2026-01-21  4:58 ` [PATCH i-g-t v1] " S, Sowmiya
2026-03-20  5:53   ` Naladala, Ramanaidu
2026-03-20  6:31     ` Naladala, Ramanaidu
2026-01-21  5:47 ` ✗ Xe.CI.Full: failure for " Patchwork
2026-01-21 11:10 ` ✓ i915.CI.Full: success " Patchwork
2026-01-22 16:18 ` [PATCH i-g-t v1] " Bilal, Mohammed
2026-03-20  5:16   ` Naladala, Ramanaidu
2026-03-20  6:43 ` [PATCH i-g-t v2] " Naladala Ramanaidu
2026-03-26  7:12   ` Sharma, Swati2
2026-03-26  8:05     ` Naladala, Ramanaidu [this message]
2026-03-20  7:25 ` ✓ Xe.CI.BAT: success for kms/feature_discovery: Add VRR capability subtest per output (rev2) Patchwork
2026-03-20  7:51 ` ✓ i915.CI.BAT: " Patchwork
2026-03-20 18:30 ` ✗ i915.CI.Full: failure " Patchwork
2026-03-21  2:47 ` ✗ Xe.CI.FULL: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bb385fc-25ee-4f46-875d-c2f7e1598b5e@intel.com \
    --to=ramanaidu.naladala@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=mohammed.bilal@intel.com \
    --cc=sowmiya.s@intel.com \
    --cc=swati2.sharma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox