Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: "Kandpal, Suraj" <suraj.kandpal@intel.com>,
	"intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>
Cc: "alexander.kaplan@sms-medipool.de" <alexander.kaplan@sms-medipool.de>
Subject: Re: [PATCH 01/14] drm/i915/hdmi: Use correct type for output_format parameter
Date: Tue, 4 Aug 2026 18:18:40 +0530	[thread overview]
Message-ID: <55472e8b-2b7d-49af-855d-4b3fffd05e32@intel.com> (raw)
In-Reply-To: <DS4PPFE901A304F3721E80E96C9750C2F1AE3D52@DS4PPFE901A304F.namprd11.prod.outlook.com>


On 8/3/2026 10:02 AM, Kandpal, Suraj wrote:
>> Subject: [PATCH 01/14] drm/i915/hdmi: Use correct type for output_format
>> parameter
>>
>> Correct the data-type of the argument output_format to enum, for the function
>> intel_hdmi_dsc_get_bpp().
>>
> This should have a fixes tag

Hi Suraj,

Thanks for the review, and the comments.

I was also considering the fixes tag initially, but then this looks more 
of a cleanup than fixes.

Since the change only updates the argument type from int to enum, there 
is no functional change. The generated  ABI also remains same.

So IMHO, this doesn't need to be backported to stable kernels, so a 
fixes tag doesn't seem to be required.


Regards,

Ankit


Regards,

Ankit

>
> Otherwise LGTM,
> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
>
>> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
>> ---
>>   drivers/gpu/drm/i915/display/intel_hdmi.c | 4 ++--
>> drivers/gpu/drm/i915/display/intel_hdmi.h | 4 ++--
>>   2 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c
>> b/drivers/gpu/drm/i915/display/intel_hdmi.c
>> index 8a019d3574df..9af0f3aba0fc 100644
>> --- a/drivers/gpu/drm/i915/display/intel_hdmi.c
>> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
>> @@ -3338,8 +3338,8 @@ intel_hdmi_dsc_get_num_slices(const struct
>> intel_crtc_state *crtc_state,
>>    */
>>   int
>>   intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
>> -		       int output_format, bool hdmi_all_bpp,
>> -		       int hdmi_max_chunk_bytes)
>> +		       enum intel_output_format output_format,
>> +		       bool hdmi_all_bpp, int hdmi_max_chunk_bytes)
>>   {
>>   	int max_dsc_bpp, min_dsc_bpp;
>>   	int target_bytes;
>> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.h
>> b/drivers/gpu/drm/i915/display/intel_hdmi.h
>> index 0fa3661568e8..fb950fdd0e7a 100644
>> --- a/drivers/gpu/drm/i915/display/intel_hdmi.h
>> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.h
>> @@ -54,8 +54,8 @@ bool intel_hdmi_bpc_possible(const struct
>> intel_crtc_state *crtc_state,
>>   			     int bpc, bool has_hdmi_sink);
>>   int intel_hdmi_tmds_clock(int clock, int bpc, enum intel_output_format
>> sink_format);  int intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int
>> slice_width,
>> -			   int num_slices, int output_format, bool
>> hdmi_all_bpp,
>> -			   int hdmi_max_chunk_bytes);
>> +			   int num_slices, enum intel_output_format
>> output_format,
>> +			   bool hdmi_all_bpp, int hdmi_max_chunk_bytes);
>>   int intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,
>>   				  int src_max_slices, int src_max_slice_width,
>>   				  int hdmi_max_slices, int hdmi_throughput);
>> --
>> 2.50.1

  reply	other threads:[~2026-08-04 12:48 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-30 10:52 [PATCH 00/14] DP-HDMI PCON DSC fixes Ankit Nautiyal
2026-07-30 10:52 ` [PATCH 01/14] drm/i915/hdmi: Use correct type for output_format parameter Ankit Nautiyal
2026-08-03  4:32   ` Kandpal, Suraj
2026-08-04 12:48     ` Nautiyal, Ankit K [this message]
2026-07-30 10:52 ` [PATCH 02/14] drm/i915/display: Generalize intel_hdmi_dsc_get_num_slices helper Ankit Nautiyal
2026-08-03  4:36   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 03/14] drm/i915/display: Pass bpc in intel_hdmi_dsc_get_bpp Ankit Nautiyal
2026-08-03  4:53   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 04/14] drm/i915/hdmi21/mtl: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
2026-07-30 10:52 ` [PATCH 05/14] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP Ankit Nautiyal
2026-08-03  5:00   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 06/14] drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints Ankit Nautiyal
2026-08-03  5:20   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 07/14] drm/i915/dp: Use FRL pair check for the DFP dotclock limit Ankit Nautiyal
2026-08-03  5:22   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 08/14] drm/i915/dp: Use the common downstream bw check in compute_bpc Ankit Nautiyal
2026-08-03  5:23   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 09/14] drm/i915/hdmi: Expose DSC min/max bpp helpers Ankit Nautiyal
2026-08-03  5:26   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 10/14] drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits Ankit Nautiyal
2026-08-03  5:28   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 11/14] drm/i915/dp: Allow PCON DSC modes through FRL bw check Ankit Nautiyal
2026-07-30 10:52 ` [PATCH 12/14] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth Ankit Nautiyal
2026-07-30 10:52 ` [PATCH 13/14] drm/i915/hdmi: Add helper to get max FRL rate for an HDMI sink Ankit Nautiyal
2026-08-03  5:30   ` Kandpal, Suraj
2026-07-30 10:52 ` [PATCH 14/14] drm/i915/dp: Use helpers for getting max FRL rate Ankit Nautiyal
2026-08-03  5:39   ` Kandpal, Suraj
2026-07-30 12:47 ` ✓ CI.KUnit: success for DP-HDMI PCON DSC fixes Patchwork
2026-07-30 13:30 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-30 16:01 ` ✓ 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=55472e8b-2b7d-49af-855d-4b3fffd05e32@intel.com \
    --to=ankit.k.nautiyal@intel.com \
    --cc=alexander.kaplan@sms-medipool.de \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=suraj.kandpal@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