summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2025-09-22 22:58:33 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2025-09-25 07:23:19 +0300
commita4916b4da44812384388ac09a2baf9da461dbc30 (patch)
treec21b20b143fb27d0f77a8e7ed06e638fadcd91eb /include/linux/stackprotector.h
parentabde96d8442de131fc3af647fdc63a0877dc99b6 (diff)
downloadlinux-a4916b4da44812384388ac09a2baf9da461dbc30.tar.xz
drm/xe/guc: Refactor GuC load to use poll_timeout_us()
Currently there are 2 wait loops for loading GuC: one in xe_mmio_wait32_not() and one guc_wait_ucode(). Now that there's a generic poll_timeout_us(), refactor the code to use that to be more readable. Main change in behavior is that there's no exponential wait anymore: that is now replaced by a 10msec retry. Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Link: https://lore.kernel.org/r/20250922-xe-iopoll-v4-5-06438311a63f@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions