From: Jani Nikula <jani.nikula@linux.intel.com>
To: 何敏红 <heminhong@kylinos.cn>,
"ville.syrjala" <ville.syrjala@linux.intel.com>,
"uma.shankar" <uma.shankar@intel.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
daniel <daniel@ffwll.ch>, "rodrigo.vivi" <rodrigo.vivi@intel.com>,
airlied <airlied@gmail.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] 回复: [PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
Date: Wed, 29 Nov 2023 19:37:17 +0200 [thread overview]
Message-ID: <87cyvs5ulu.fsf@intel.com> (raw)
In-Reply-To: <1lagfvi0ner-1laizr4ur2c@nsmail7.0.0--kylin--1>
On Wed, 29 Nov 2023, 何敏红 <heminhong@kylinos.cn> wrote:
> Friendly ping. I think this patch was forgotten.
Pushed, thanks for the patch.
>
> ----
>
> 主 题:[PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
> 日 期:2023-11-14 10:43
> 发件人:何敏红
> 收件人:何敏红;
>
> Current, the dewake_scanline variable is defined as unsigned int,
> an unsigned int variable that is always greater than or equal to 0.
> when _intel_dsb_commit function is called by intel_dsb_commit function,
> the dewake_scanline variable may have an int value.
> So the dewake_scanline variable is necessary to defined as an int.
>
> Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency")
> Reported-by: kernel test robot
> Closes: https://lore.kernel.org/oe-kbuild-all/202310052201.AnVbpgPr-lkp@intel.com/
> Cc: Ville Syrjälä
> Cc: Uma Shankar
>
> Signed-off-by: heminhong
> ---
> drivers/gpu/drm/i915/display/intel_dsb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
> index 78b6fe24dcd8..7fd6280c54a7 100644
> --- a/drivers/gpu/drm/i915/display/intel_dsb.c
> +++ b/drivers/gpu/drm/i915/display/intel_dsb.c
> @@ -340,7 +340,7 @@ static int intel_dsb_dewake_scanline(const struct intel_crtc_state *crtc_state)
> }
>
> static void _intel_dsb_commit(struct intel_dsb *dsb, u32 ctrl,
> - unsigned int dewake_scanline)
> + int dewake_scanline)
> {
> struct intel_crtc *crtc = dsb->crtc;
> struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
--
Jani Nikula, Intel
WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@linux.intel.com>
To: 何敏红 <heminhong@kylinos.cn>,
"ville.syrjala" <ville.syrjala@linux.intel.com>,
"uma.shankar" <uma.shankar@intel.com>
Cc: "tvrtko.ursulin" <tvrtko.ursulin@linux.intel.com>,
kernel test robot <lkp@intel.com>,
"animesh.manna" <animesh.manna@intel.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
dri-devel <dri-devel@lists.freedesktop.org>,
"rodrigo.vivi" <rodrigo.vivi@intel.com>,
"ankit.k.nautiyal" <ankit.k.nautiyal@intel.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: 回复: [PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
Date: Wed, 29 Nov 2023 19:37:17 +0200 [thread overview]
Message-ID: <87cyvs5ulu.fsf@intel.com> (raw)
In-Reply-To: <1lagfvi0ner-1laizr4ur2c@nsmail7.0.0--kylin--1>
On Wed, 29 Nov 2023, 何敏红 <heminhong@kylinos.cn> wrote:
> Friendly ping. I think this patch was forgotten.
Pushed, thanks for the patch.
>
> ----
>
> 主 题:[PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
> 日 期:2023-11-14 10:43
> 发件人:何敏红
> 收件人:何敏红;
>
> Current, the dewake_scanline variable is defined as unsigned int,
> an unsigned int variable that is always greater than or equal to 0.
> when _intel_dsb_commit function is called by intel_dsb_commit function,
> the dewake_scanline variable may have an int value.
> So the dewake_scanline variable is necessary to defined as an int.
>
> Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency")
> Reported-by: kernel test robot
> Closes: https://lore.kernel.org/oe-kbuild-all/202310052201.AnVbpgPr-lkp@intel.com/
> Cc: Ville Syrjälä
> Cc: Uma Shankar
>
> Signed-off-by: heminhong
> ---
> drivers/gpu/drm/i915/display/intel_dsb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
> index 78b6fe24dcd8..7fd6280c54a7 100644
> --- a/drivers/gpu/drm/i915/display/intel_dsb.c
> +++ b/drivers/gpu/drm/i915/display/intel_dsb.c
> @@ -340,7 +340,7 @@ static int intel_dsb_dewake_scanline(const struct intel_crtc_state *crtc_state)
> }
>
> static void _intel_dsb_commit(struct intel_dsb *dsb, u32 ctrl,
> - unsigned int dewake_scanline)
> + int dewake_scanline)
> {
> struct intel_crtc *crtc = dsb->crtc;
> struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
--
Jani Nikula, Intel
WARNING: multiple messages have this Message-ID (diff)
From: Jani Nikula <jani.nikula@linux.intel.com>
To: 何敏红 <heminhong@kylinos.cn>,
"ville.syrjala" <ville.syrjala@linux.intel.com>,
"uma.shankar" <uma.shankar@intel.com>
Cc: airlied <airlied@gmail.com>,
"animesh.manna" <animesh.manna@intel.com>,
"ankit.k.nautiyal" <ankit.k.nautiyal@intel.com>,
daniel <daniel@ffwll.ch>,
dri-devel <dri-devel@lists.freedesktop.org>,
intel-gfx <intel-gfx@lists.freedesktop.org>,
"joonas.lahtinen" <joonas.lahtinen@linux.intel.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
"rodrigo.vivi" <rodrigo.vivi@intel.com>,
"tvrtko.ursulin" <tvrtko.ursulin@linux.intel.com>,
kernel test robot <lkp@intel.com>
Subject: Re: 回复: [PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
Date: Wed, 29 Nov 2023 19:37:17 +0200 [thread overview]
Message-ID: <87cyvs5ulu.fsf@intel.com> (raw)
In-Reply-To: <1lagfvi0ner-1laizr4ur2c@nsmail7.0.0--kylin--1>
On Wed, 29 Nov 2023, 何敏红 <heminhong@kylinos.cn> wrote:
> Friendly ping. I think this patch was forgotten.
Pushed, thanks for the patch.
>
> ----
>
> 主 题:[PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()
> 日 期:2023-11-14 10:43
> 发件人:何敏红
> 收件人:何敏红;
>
> Current, the dewake_scanline variable is defined as unsigned int,
> an unsigned int variable that is always greater than or equal to 0.
> when _intel_dsb_commit function is called by intel_dsb_commit function,
> the dewake_scanline variable may have an int value.
> So the dewake_scanline variable is necessary to defined as an int.
>
> Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency")
> Reported-by: kernel test robot
> Closes: https://lore.kernel.org/oe-kbuild-all/202310052201.AnVbpgPr-lkp@intel.com/
> Cc: Ville Syrjälä
> Cc: Uma Shankar
>
> Signed-off-by: heminhong
> ---
> drivers/gpu/drm/i915/display/intel_dsb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
> index 78b6fe24dcd8..7fd6280c54a7 100644
> --- a/drivers/gpu/drm/i915/display/intel_dsb.c
> +++ b/drivers/gpu/drm/i915/display/intel_dsb.c
> @@ -340,7 +340,7 @@ static int intel_dsb_dewake_scanline(const struct intel_crtc_state *crtc_state)
> }
>
> static void _intel_dsb_commit(struct intel_dsb *dsb, u32 ctrl,
> - unsigned int dewake_scanline)
> + int dewake_scanline)
> {
> struct intel_crtc *crtc = dsb->crtc;
> struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
--
Jani Nikula, Intel
next prev parent reply other threads:[~2023-11-29 17:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 2:29 [Intel-gfx] 回复: [PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit() 何敏红
2023-11-29 2:29 ` 何敏红
2023-11-29 17:37 ` Jani Nikula [this message]
2023-11-29 17:37 ` Jani Nikula
2023-11-29 17:37 ` Jani Nikula
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=87cyvs5ulu.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=heminhong@kylinos.cn \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=uma.shankar@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.