Patch "drm/xe: Change pcode timeout to 50msec while polling again" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/xe: Change pcode timeout to 50msec while polling again

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-xe-change-pcode-timeout-to-50msec-while-polling-.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a25768366eb6765373fa51c8b785efd98777b5d3
Author: Himal Prasad Ghimiray <himal.prasad.ghimiray@xxxxxxxxx>
Date:   Wed May 8 20:52:15 2024 +0530

    drm/xe: Change pcode timeout to 50msec while polling again
    
    [ Upstream commit 77b79df0268bee3ef38fd5e76e86a076ce02995d ]
    
    Polling is initially attempted with timeout_base_ms enabled for
    preemption, and if it exceeds this timeframe, another attempt is made
    without preemption, allowing an additional 50 ms before timing out.
    
    v2
    - Rebase
    
    v3
    - Move warnings to separate patch (Lucas)
    
    Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
    Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@xxxxxxxxx>
    Fixes: 7dc9b92dcfef ("drm/xe: Remove i915_utils dependency from xe_pcode.")
    Reviewed-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20240508152216.3263109-2-himal.prasad.ghimiray@xxxxxxxxx
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    (cherry picked from commit c81858eb52266b3d6ba28ca4f62a198231a10cdc)
    Signed-off-by: Thomas Hellström <thomas.hellstrom@xxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/xe/xe_pcode.c b/drivers/gpu/drm/xe/xe_pcode.c
index c674c87c7f40b..81f4ae2ea08f3 100644
--- a/drivers/gpu/drm/xe/xe_pcode.c
+++ b/drivers/gpu/drm/xe/xe_pcode.c
@@ -191,7 +191,7 @@ int xe_pcode_request(struct xe_gt *gt, u32 mbox, u32 request,
 	drm_WARN_ON_ONCE(&gt_to_xe(gt)->drm, timeout_base_ms > 1);
 	preempt_disable();
 	ret = pcode_try_request(gt, mbox, request, reply_mask, reply, &status,
-				true, timeout_base_ms * 1000, true);
+				true, 50 * 1000, true);
 	preempt_enable();
 
 out:




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux