From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: "Samala, Pranay" <pranay.samala@intel.com>,
"igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t 2/2] tests/intel/kms_dsc: Split max_bpc constraint
Date: Thu, 5 Dec 2024 14:38:08 +0530 [thread overview]
Message-ID: <9ff6ed6e-59ea-4956-8085-5478fa9c361d@intel.com> (raw)
In-Reply-To: <PH7PR11MB6053A9B428396F52FE88A90DE7352@PH7PR11MB6053.namprd11.prod.outlook.com>
Hi Pranay,
On 02-12-2024 04:40 pm, Samala, Pranay wrote:
> Hi Swati,
>
>> -----Original Message-----
>> From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of Swati
>> Sharma
>> Sent: Monday, December 2, 2024 2:21 PM
>> To: igt-dev@lists.freedesktop.org
>> Cc: Sharma, Swati2 <swati2.sharma@intel.com>
>> Subject: [PATCH i-g-t 2/2] tests/intel/kms_dsc: Split max_bpc constraint
>>
>> Split max_bpc constraint and add igt_info message.
>>
>> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
>> ---
>> tests/intel/kms_dsc.c | 8 ++++++--
>> 1 file changed, 6 insertions(+), 2 deletions(-)
>>
>> diff --git a/tests/intel/kms_dsc.c b/tests/intel/kms_dsc.c index
>> 9b48caf76..5508e7a9e 100644
>> --- a/tests/intel/kms_dsc.c
>> +++ b/tests/intel/kms_dsc.c
>> @@ -281,10 +281,14 @@ static void test_dsc(data_t *data, uint32_t test_type,
>> int bpc,
>> data->pipe = pipe;
>>
>> if (!is_dsc_supported_by_sink(data->drm_fd, data->output) ||
>> - !check_gen11_dp_constraint(data->drm_fd, data->output,
>> data->pipe) ||
>> - igt_get_output_max_bpc(data->drm_fd, output->name) <
>> MIN_DSC_BPC)
>> + !check_gen11_dp_constraint(data->drm_fd, data->output,
>> +data->pipe))
>> continue;
>>
>> + if (igt_get_output_max_bpc(data->drm_fd, output->name) <
>> MIN_DSC_BPC) {
>> + igt_info("Output %s doesn't support min %d-bpc\n",
>> igt_output_name(data->output), MIN_DSC_BPC);
> line length is 119 columns, exceeding 100 columns.
This has been before, didn't make any change. May be we can have cleanup
patch later.
>> + continue;
>> + }
>> +
>> if ((test_type & TEST_DSC_OUTPUT_FORMAT) &&
>> (!is_dsc_output_format_supported(data->drm_fd, data-
>>> disp_ver,
>> data->output, data-
>>> output_format)))
> Apart from this code looks good to me.
>
> Regards,
> Pranay Samala
>> --
>> 2.25.1
next prev parent reply other threads:[~2024-12-05 9:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 8:51 [PATCH i-g-t 1/2] tests/intel/dsc: Convert debug msg to info msg Swati Sharma
2024-12-02 8:51 ` [PATCH i-g-t 2/2] tests/intel/kms_dsc: Split max_bpc constraint Swati Sharma
2024-12-02 11:10 ` Samala, Pranay
2024-12-05 9:08 ` Sharma, Swati2 [this message]
2024-12-02 11:18 ` [PATCH i-g-t 1/2] tests/intel/dsc: Convert debug msg to info msg Samala, Pranay
2024-12-05 9:06 ` Sharma, Swati2
2024-12-02 17:46 ` ✓ i915.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2024-12-02 18:37 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-02 20:11 ` ✗ Xe.CI.Full: failure " Patchwork
2024-12-02 21:24 ` ✗ i915.CI.Full: " Patchwork
2024-12-05 12:12 ` ✓ i915.CI.Full: success " 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=9ff6ed6e-59ea-4956-8085-5478fa9c361d@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=pranay.samala@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