All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Imre Deak <imre.deak@intel.com>
Cc: intel-gfx@lists.freedesktop.org,
	"Manasi Navare" <manasi.d.navare@intel.com>,
	"Ville Syrjälä" <ville.syrjala@linux.intel.com>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/dp: fix DG2 max source rate check
Date: Thu, 02 Sep 2021 14:10:32 +0300	[thread overview]
Message-ID: <87ilzj9qs7.fsf@intel.com> (raw)
In-Reply-To: <20210901113851.GA3572110@ideak-desk.fi.intel.com>

On Wed, 01 Sep 2021, Imre Deak <imre.deak@intel.com> wrote:
> On Wed, Sep 01, 2021 at 02:28:15PM +0300, Jani Nikula wrote:
>> Accidentally dropped the else in a rebase fail, causing the DG2 max rate
>> to be overwritten later in the if ladder.
>> 
>> Fixes: e752d1f9c14a ("drm/i915/dg2: add DG2 UHBR source rates")
>> Cc: Manasi Navare <manasi.d.navare@intel.com>
>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Reviewed-by: Imre Deak <imre.deak@intel.com>

Pushed, thanks for the reviews.

BR,
Jani.


>
>> ---
>>  drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
>> index 4f2fd33529ca..81b7097c6ff1 100644
>> --- a/drivers/gpu/drm/i915/display/intel_dp.c
>> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
>> @@ -345,7 +345,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)
>>  		size = ARRAY_SIZE(icl_rates);
>>  		if (IS_DG2(dev_priv))
>>  			max_rate = dg2_max_source_rate(intel_dp);
>> -		if (IS_JSL_EHL(dev_priv))
>> +		else if (IS_JSL_EHL(dev_priv))
>>  			max_rate = ehl_max_source_rate(intel_dp);
>>  		else
>>  			max_rate = icl_max_source_rate(intel_dp);
>> -- 
>> 2.30.2
>> 

-- 
Jani Nikula, Intel Open Source Graphics Center

  reply	other threads:[~2021-09-02 11:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-01 11:28 [Intel-gfx] [PATCH] drm/i915/dp: fix DG2 max source rate check Jani Nikula
2021-09-01 11:38 ` Imre Deak
2021-09-02 11:10   ` Jani Nikula [this message]
2021-09-01 14:53 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2021-09-01 16:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dp: fix DG2 max source rate check (rev2) Patchwork
2021-09-01 18:58 ` [Intel-gfx] [PATCH] drm/i915/dp: fix DG2 max source rate check Navare, Manasi
2021-09-01 19:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/dp: fix DG2 max source rate check (rev2) 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=87ilzj9qs7.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=imre.deak@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=manasi.d.navare@intel.com \
    --cc=ville.syrjala@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.