]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: Change pcode timeout to 50msec while polling again
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 8 May 2024 15:22:15 +0000 (20:52 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 14 May 2024 15:26:40 +0000 (11:26 -0400)
commitc81858eb52266b3d6ba28ca4f62a198231a10cdc
tree6a49f1273e5cd087cc4fb60cb1adcaefd0ca781d
parentd1855d284e9f6580c0eaba66bfa04722f4d4dc9b
drm/xe: Change pcode timeout to 50msec while polling again

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@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Fixes: 7dc9b92dcfef ("drm/xe: Remove i915_utils dependency from xe_pcode.")
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240508152216.3263109-2-himal.prasad.ghimiray@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pcode.c