diff options
author | Louis Chauvet <[email protected]> | 2024-10-03 17:41:10 +0200 |
---|---|---|
committer | Louis Chauvet <[email protected]> | 2024-11-04 15:27:49 +0100 |
commit | aafc45d5f88843a4645e1a53328a0601601d0c12 (patch) | |
tree | 948ab254a99c022c22e2023b464862c040dacd6a /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d78f0ee0406803cda8801fd5201746ccf89e5e4a (diff) |
drm/vkms: Remove usage of legacy drm_crtc members
Some members of the drm_crtc structure have been deprecated in favor of
equivalent members in the drm_crtc_state structure. As reported by Ville
Syrjala [1], the VKMS driver was still using these deprecated fields. This
commit updates the VKMS driver to use the new drm_crtc_state fields
instead.
Additionally, this commit removes the call to
`drm_calc_timestamping_constants` in `vkms_enable_vblank` as it is
redundant. This calculation is already performed in
`vkms_atomic_commit_tail` by calling
`drm_atomic_helper_commit_modeset_disables`.
[1]:https://lore.kernel.org/all/[email protected]/
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Louis Chauvet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions