Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ravi Kumar Vodapalli <ravi.kumar.vodapalli@intel.com>,
	intel-gfx@lists.freedesktop.org
Cc: balasubramani.vivekanandan@intel.com, matthew.d.roper@intel.com,
	lucas.demarchi@intel.com, gustavo.sousa@intel.com,
	clinton.a.taylor@intel.com, matthew.s.atwood@intel.com,
	dnyaneshwar.bhadane@intel.com, haridhar.kalvala@intel.com,
	shekhar.chauhan@intel.com
Subject: Re: [PATCH] drm/i915/display: program DBUF_CTL tracker state service to 0x8
Date: Mon, 16 Dec 2024 15:14:13 +0200	[thread overview]
Message-ID: <87ikrjsrbu.fsf@intel.com> (raw)
In-Reply-To: <20241216124507.2695739-1-ravi.kumar.vodapalli@intel.com>

On Mon, 16 Dec 2024, Ravi Kumar Vodapalli <ravi.kumar.vodapalli@intel.com> wrote:
> Program Tracker state service(DBUF_CTL Register) for TGLLP, SVL,
> RYF, DG1, ACM, ACMPLUS, RKLC, RKLGM, ADLS platforms to 0x8 which
> is not the default value.

Why?

Every single commit message *must* state why the change is being
made. What's the impact?

The commit message is not supposed be just the patch translated to
English.

Please imagine having to write a high level pull request changelog
similar to [1] based on commit messages alone. I have no idea what I
would write about this change.


BR,
Jani.


[1] https://lore.kernel.org/all/87h68ni0wd.fsf@intel.com/


> Bspec: 49213
> Signed-off-by: Ravi Kumar Vodapalli <ravi.kumar.vodapalli@intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display_power.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c
> index 34465d56def0..d9ba48b68979 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_power.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_power.c
> @@ -1126,7 +1126,9 @@ static void gen12_dbuf_slices_config(struct intel_display *display)
>  {
>  	enum dbuf_slice slice;
>  
> -	if (display->platform.alderlake_p)
> +	if (display->platform.alderlake_p || display->platform.dg2 ||
> +	    display->platform.alderlake_p_raptorlake_p ||
> +	    DISPLAY_VER(display) >= 14)
>  		return;
>  
>  	for_each_dbuf_slice(display, slice)

-- 
Jani Nikula, Intel

  reply	other threads:[~2024-12-16 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-16 12:45 [PATCH] drm/i915/display: program DBUF_CTL tracker state service to 0x8 Ravi Kumar Vodapalli
2024-12-16 13:14 ` Jani Nikula [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-16 16:32 Ravi Kumar Vodapalli

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=87ikrjsrbu.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=balasubramani.vivekanandan@intel.com \
    --cc=clinton.a.taylor@intel.com \
    --cc=dnyaneshwar.bhadane@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=haridhar.kalvala@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=matthew.d.roper@intel.com \
    --cc=matthew.s.atwood@intel.com \
    --cc=ravi.kumar.vodapalli@intel.com \
    --cc=shekhar.chauhan@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