<pre class="js_message_plain ng-binding" style="margin-top: 0px; margin-bottom: 0px; font-family: inherit; font-size: 14px; white-space: pre-wrap; word-break: normal; background-color: #ffffff;">Friendly ping. I think this patch was forgotten.</pre>
<p><br><br>----</p>
<div id="cs2c_mail_sigature"></div>
<p> </p>
<div id="re" style="margin-left: 0.5em; padding-left: 0.5em; border-left: 1px solid green;"><br><br><br>
<div style="background-color: #f5f7fa;"><strong>主 题:</strong><span id="subject">[PATCH v2] drm/i915: correct the input parameter on _intel_dsb_commit()</span> <br><strong>日 期:</strong><span id="date">2023-11-14 10:43</span> <br><strong>发件人:</strong><span id="from">何敏红</span> <br><strong>收件人:</strong><span id="to" style="word-break: break-all;">何敏红;</span></div>
<br>
<div id="content">
<div class="viewer_part" style="position: relative;">
<div>Current, the dewake_scanline variable is defined as unsigned int,<br>an unsigned int variable that is always greater than or equal to 0.<br>when _intel_dsb_commit function is called by intel_dsb_commit function,<br>the dewake_scanline variable may have an int value.<br>So the dewake_scanline variable is necessary to defined as an int.<br><br>Fixes: f83b94d23770 ("drm/i915/dsb: Use DEwake to combat PkgC latency")<br>Reported-by: kernel test robot <br>Closes: https://lore.kernel.org/oe-kbuild-all/202310052201.AnVbpgPr-lkp@intel.com/<br>Cc: Ville Syrjälä <br>Cc: Uma Shankar <br><br>Signed-off-by: heminhong <br>---<br>drivers/gpu/drm/i915/display/intel_dsb.c | 2 +-<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c<br>index 78b6fe24dcd8..7fd6280c54a7 100644<br>--- a/drivers/gpu/drm/i915/display/intel_dsb.c<br>+++ b/drivers/gpu/drm/i915/display/intel_dsb.c<br>@@ -340,7 +340,7 @@ static int intel_dsb_dewake_scanline(const struct intel_crtc_state *crtc_state)<br>}<br><br>static void _intel_dsb_commit(struct intel_dsb *dsb, u32 ctrl,<br>- unsigned int dewake_scanline)<br>+ int dewake_scanline)<br>{<br>struct intel_crtc *crtc = dsb->crtc;<br>struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);<br>-- <br>2.25.1<br><br></div>
</div>
</div>
</div>