mbox series

[v2,0/2] drm/i915: Fix timeout handling when retiring requests

Message ID 20221118104222.57328-1-janusz.krzysztofik@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Fix timeout handling when retiring requests | expand

Message

Janusz Krzysztofik Nov. 18, 2022, 10:42 a.m. UTC
Fixes for issues discovered via code review while working on
https://gitlab.freedesktop.org/drm/intel/issues/7349.

v2:
PATCH 1: fix the issue on the caller side, not the provider,
	 reword commit message and description.
PATCH 2: move the added lines down so flush_submission() is not affected,
	 reword commit message and description.
PATCH 3: drop -- controversial, not needed.

Janusz Krzysztofik (2):
  drm/i915: Fix negative value passed as remaining time
  drm/i915: Never return 0 if not all requests retired

 drivers/gpu/drm/i915/gt/intel_gt.c          | 11 +++++++++--
 drivers/gpu/drm/i915/gt/intel_gt_requests.c |  3 +++
 2 files changed, 12 insertions(+), 2 deletions(-)