3
0
Fork 0
forked from mirrors/linux
kernel/drivers/gpu/drm/vkms
Louis Chauvet aafc45d5f8
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>
2024-11-04 15:27:49 +01:00
..
Kconfig drm/vkms: Run DRM default client setup 2024-09-26 09:31:28 +02:00
Makefile drm: vkms: Refactor the plane composer to accept new formats 2022-09-05 20:18:35 -01:00
vkms_composer.c drm/vkms: Remove usage of legacy drm_crtc members 2024-11-04 15:27:49 +01:00
vkms_crtc.c drm/vkms: Remove usage of legacy drm_crtc members 2024-11-04 15:27:49 +01:00
vkms_drv.c drm/vkms: Run DRM default client setup 2024-09-26 09:31:28 +02:00
vkms_drv.h drm/vkms: Add documentation 2024-09-24 20:37:40 -03:00
vkms_formats.c drm/vkms: Add documentation 2024-09-24 20:37:40 -03:00
vkms_formats.h drm/vkms: Isolate writeback pixel conversion functions 2023-06-24 19:06:16 -03:00
vkms_output.c drm/vkms: Drop unnecessary call to drm_crtc_cleanup() 2024-11-04 12:03:21 +01:00
vkms_plane.c drm/vkms: add rotate-270 property 2023-05-08 09:57:20 -03:00
vkms_writeback.c drm/vkms: Remove usage of legacy drm_crtc members 2024-11-04 15:27:49 +01:00