diff options
author | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-10-03 18:41:10 +0300 |
---|---|---|
committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2024-11-04 17:27:49 +0300 |
commit | aafc45d5f88843a4645e1a53328a0601601d0c12 (patch) | |
tree | 948ab254a99c022c22e2023b464862c040dacd6a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d78f0ee0406803cda8801fd5201746ccf89e5e4a (diff) | |
download | linux-aafc45d5f88843a4645e1a53328a0601601d0c12.tar.xz |
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/20241002182200.15363-1-ville.syrjala@linux.intel.com/
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241003-remove-legacy-v1-1-0b7db1f1a1a6@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions