diff options
| author | Maxime Ripard <mripard@kernel.org> | 2025-09-02 10:32:49 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2025-09-30 11:56:42 +0200 |
| commit | ec1049f66df4751e87c036cd2e45a38a7649d8af (patch) | |
| tree | 5bfe06cf4ed4e4d49f840e53836c3535826077a0 /rust/helpers/xarray.c | |
| parent | 081da11774cef200dc7e1b27891aa9f3629be17d (diff) | |
drm/tidss: crtc: Implement destroy_state
The tidss crtc driver implements its own state, with its own
implementation of reset and duplicate_state, but uses the default
destroy_state helper.
This somewhat works for now because the drm_crtc_state field in
tidss_crtc_state is the first field so the offset is 0, but it's pretty
fragile and it should really have its own destroy_state implementation.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-21-14ad5315da3f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-21-14ad5315da3f@kernel.org
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
