mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ashwin Gundarapu <linuxuser509@zohomail.in>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Cc: rodrigovivi <rodrigo.vivi@intel.com>,
	joonaslahtinen <joonas.lahtinen@linux.intel.com>,
	tursulin <tursulin@ursulin.net>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/i915/sdvo: Remove disabled HDMI buffer dump code
Date: Mon, 19 Oct 2026 18:05:31 +0300	[thread overview]
Message-ID: <7e2193324bc2d42d420d3afe227699c9dd09bff5@intel.com> (raw)
In-Reply-To: <1a12556af17.597a885f7429.8559089497420287597@zohomail.in>

On Sat, 10 Oct 2026, Ashwin Gundarapu <linuxuser509@zohomail.in> wrote:
> From cbebdc3b5dce2d4c0ce8c9b69c62b539fc77dce5 Mon Sep 17 00:00:00 2001
> From: Ashwin Gundarapu <linuxuser509@zohomail.in>
> Date: Sat, 10 Oct 2026 15:42:48 +0530
> Subject: [PATCH] drm/i915/sdvo: Remove disabled HDMI buffer dump code
>
> Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>

Please read submitting-patches.rst.

BR,
Jani.


> ---
>  drivers/gpu/drm/i915/display/intel_sdvo.c | 30 +----------------------
>  1 file changed, 1 insertion(+), 29 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_sdvo.c b/drivers/gpu/drm/i915/display/intel_sdvo.c
> index 3075ef04df56..d9c6a620377e 100644
> --- a/drivers/gpu/drm/i915/display/intel_sdvo.c
> +++ b/drivers/gpu/drm/i915/display/intel_sdvo.c
> @@ -974,35 +974,7 @@ static bool intel_sdvo_get_hbuf_size(struct intel_sdvo *intel_sdvo,
>  	return true;
>  }
>  
> -#if 0
> -static void intel_sdvo_dump_hdmi_buf(struct intel_sdvo *intel_sdvo)
> -{
> -	int i, j;
> -	u8 set_buf_index[2];
> -	u8 av_split;
> -	u8 buf_size;
> -	u8 buf[48];
> -	u8 *pos;
> -
> -	intel_sdvo_get_value(encoder, SDVO_CMD_GET_HBUF_AV_SPLIT, &av_split, 1);
> -
> -	for (i = 0; i <= av_split; i++) {
> -		set_buf_index[0] = i; set_buf_index[1] = 0;
> -		intel_sdvo_write_cmd(encoder, SDVO_CMD_SET_HBUF_INDEX,
> -				     set_buf_index, 2);
> -		intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_INFO, NULL, 0);
> -		intel_sdvo_read_response(encoder, &buf_size, 1);
> -
> -		pos = buf;
> -		for (j = 0; j <= buf_size; j += 8) {
> -			intel_sdvo_write_cmd(encoder, SDVO_CMD_GET_HBUF_DATA,
> -					     NULL, 0);
> -			intel_sdvo_read_response(encoder, pos, 8);
> -			pos += 8;
> -		}
> -	}
> -}
> -#endif
> +
>  
>  static bool intel_sdvo_write_infoframe(struct intel_sdvo *intel_sdvo,
>  				       unsigned int if_index, u8 tx_rate,

-- 
Jani Nikula, Intel

      reply	other threads:[~2026-10-19 15:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-10 10:23 Ashwin Gundarapu
2026-10-19 15:05 ` Jani Nikula [this message]

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=7e2193324bc2d42d420d3afe227699c9dd09bff5@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxuser509@zohomail.in \
    --cc=rodrigo.vivi@intel.com \
    --cc=tursulin@ursulin.net \
    /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

all inboxes | Powered by JetHome®