From: "Govindapillai, Vinod" <vinod.govindapillai@intel.com>
To: "Kahola, Mika" <mika.kahola@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Use int type for entry_setup_frames
Date: Wed, 22 Nov 2023 13:53:23 +0000 [thread overview]
Message-ID: <ca392bfade577d862f71a73e939434d191a6f6c1.camel@intel.com> (raw)
In-Reply-To: <20231116090512.480373-1-mika.kahola@intel.com>
On Thu, 2023-11-16 at 11:05 +0200, Mika Kahola wrote:
> entry_setup_frames variable is defined as u8. However, the
> function call intel_psr_entry_setup_frames() can return
> negative error code. There is a type mismatch here, so let's
> switch to use int here as well.
>
> Fixes: 2b981d57e480 ("drm/i915/display: Support PSR entry VSC packet to be transmitted one frame
> earlier")
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_psr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
>
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
> index 8d180132a74b..204da50e3f28 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -1319,7 +1319,7 @@ static bool _psr_compute_config(struct intel_dp *intel_dp,
> {
> struct drm_i915_private *dev_priv = dp_to_i915(intel_dp);
> const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
> - u8 entry_setup_frames;
> + int entry_setup_frames;
>
> /*
> * Current PSR panels don't work reliably with VRR enabled
next prev parent reply other threads:[~2023-11-22 13:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-16 9:05 [Intel-gfx] [PATCH] drm/i915/display: Use int type for entry_setup_frames Mika Kahola
2023-11-16 11:06 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2023-11-17 20:06 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/display: Use int type for entry_setup_frames (rev2) Patchwork
2023-11-22 10:41 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: Use int type for entry_setup_frames (rev3) Patchwork
2023-11-22 13:53 ` Govindapillai, Vinod [this message]
2023-11-23 7:07 ` [Intel-gfx] [PATCH] drm/i915/display: Use int type for entry_setup_frames Kahola, Mika
2023-11-23 1:03 ` [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/display: Use int type for entry_setup_frames (rev3) Patchwork
2023-11-25 8:32 ` [Intel-gfx] ✓ Fi.CI.IGT: success " 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=ca392bfade577d862f71a73e939434d191a6f6c1.camel@intel.com \
--to=vinod.govindapillai@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mika.kahola@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