All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] drm: Add doc about GPU reset
@ 2023-02-27 20:39 ` André Almeida
  0 siblings, 0 replies; 18+ messages in thread
From: André Almeida @ 2023-02-27 20:39 UTC (permalink / raw)
  To: dri-devel, amd-gfx, linux-kernel
  Cc: pierre-eric.pelloux-prayer, André Almeida, Daniel Vetter,
	Marek Olšák, Simon Ser, amaranath.somalapuram,
	Pekka Paalanen, Daniel Stone, Rob Clark, kernel-dev,
	alexander.deucher, contactshashanksharma, Dave Airlie,
	christian.koenig

Hi,

Thanks everyone that gave feedback. v2 Changes:
- This new version is a section of drm-uapi instead of a new file
- Drop requirement for KMD to kill applications
- Drop role of init systems on compositors recover
- Drop assumption that robust apps creates new contexts

Original cover letter bellow:

Due to the complexity of its stack and the apps that we run on it, GPU resets
are for granted. What's left for driver developers is how to make resets a
smooth experience as possible. While some OS's can recover or show an error
message in such cases, Linux is more a hit-and-miss due to its lack of
standardization and guidelines of what to do in such cases.

This is the goal of this document, to proper define what should happen after a
GPU reset so developers can start acting on top of this. An IGT test should be
created to validate this for each driver.

Initially my approach was to expose an uevent for GPU resets, as it can be seen
here[1]. However, even if an uevent can be useful for some use cases (e.g.
telemetry and error reporting), for the "OS integration" case of GPU resets
it would be more productive to have something defined through the stack.

Thanks,
	André

[1] https://lore.kernel.org/amd-gfx/20221125175203.52481-1-andrealmeid@igalia.com/

André Almeida (1):
  drm/doc: Document DRM device reset expectations

 Documentation/gpu/drm-uapi.rst | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-03-01  8:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 20:39 [PATCH v2 0/1] drm: Add doc about GPU reset André Almeida
2023-02-27 20:39 ` André Almeida
2023-02-27 20:39 ` André Almeida
2023-02-27 20:40 ` [PATCH v2 1/1] drm/doc: Document DRM device reset expectations André Almeida
2023-02-27 20:40   ` André Almeida
2023-02-27 20:40   ` André Almeida
2023-02-28 10:02   ` Pekka Paalanen
2023-02-28 10:02     ` Pekka Paalanen
2023-02-28 10:02     ` Pekka Paalanen
2023-02-28 15:26     ` André Almeida
2023-02-28 15:26       ` André Almeida
2023-02-28 15:26       ` André Almeida
2023-03-01  8:47       ` Pekka Paalanen
2023-03-01  8:47         ` Pekka Paalanen
2023-03-01  8:47         ` Pekka Paalanen
2023-02-28 17:20   ` Rob Clark
2023-02-28 17:20     ` Rob Clark
2023-02-28 17:20     ` Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.