diff options
| author | Deborah Brouwer <deborah.brouwer@collabora.com> | 2026-04-28 12:19:28 -0700 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-05-01 10:43:51 +0000 |
| commit | 6c82e66e5e61331f72f1c25170ce7306e880067c (patch) | |
| tree | 5e6ec66e312343903047694b715c2f20d82f6f57 /include/linux/timerqueue_types.h | |
| parent | 11a63a5335eb7b5da4ca38014fa83be5d437144d (diff) | |
drm/tyr: move clock cleanup into Clocks Drop impl
Currently Tyr disables its clocks from TyrDrmDeviceData::drop(), which
causes them to be shut down before any other fields in TyrDrmDeviceData
are dropped. This prevents us from using the clocks when dropping the
other fields in TyrDrmDeviceData.
In order to better control when the clocks are dropped, move this cleanup
logic into a Drop implementation on the Clocks struct itself.
Since it serves no further purpose, remove the PinnedDrop implementation
for TyrDrmDeviceData.
Also, while here, remove the #[pin_data] annotation from both the struct
Clocks and struct Regulators since neither of these structs need this
macro to create structurally pinned fields.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260428-fw-boot-prerequisites-v1-1-c69af9abe1af@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
