> -Original Message-
> From: Intel-gfx On Behalf Of Ankit
> Nautiyal
> Sent: Wednesday, 3 September 2025 6.50
> To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org
> Cc: Nautiyal, Ankit K
> Subject: [PATCH] drm/i915/hdmi: Fix potential overflow while using
> intel_encode
On 9/3/2025 3:46 PM, Jani Nikula wrote:
On Wed, 03 Sep 2025, "Nautiyal, Ankit K" wrote:
On 9/3/2025 1:07 PM, Jani Nikula wrote:
On Wed, 03 Sep 2025, Ankit Nautiyal wrote:
The helper intel_encoder_to_tc() can potentially return TC_PORT_NONE
(-1) and cause overflow while computing ddc pins i
On Wed, 03 Sep 2025, "Nautiyal, Ankit K" wrote:
> On 9/3/2025 1:07 PM, Jani Nikula wrote:
>> On Wed, 03 Sep 2025, Ankit Nautiyal wrote:
>>> The helper intel_encoder_to_tc() can potentially return TC_PORT_NONE
>>> (-1) and cause overflow while computing ddc pins in
>>> icl_encoder_to_ddc_pin().
>>
On 9/3/2025 1:07 PM, Jani Nikula wrote:
On Wed, 03 Sep 2025, Ankit Nautiyal wrote:
The helper intel_encoder_to_tc() can potentially return TC_PORT_NONE
(-1) and cause overflow while computing ddc pins in
icl_encoder_to_ddc_pin().
Check for TC_PORT_NONE before deriving the ddc pins for TC por
On Wed, 03 Sep 2025, Ankit Nautiyal wrote:
> The helper intel_encoder_to_tc() can potentially return TC_PORT_NONE
> (-1) and cause overflow while computing ddc pins in
> icl_encoder_to_ddc_pin().
>
> Check for TC_PORT_NONE before deriving the ddc pins for TC port.
>
> Signed-off-by: Ankit Nautiyal