]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/crtc: Drop no_vblank bit field
authorMaxime Ripard <mripard@kernel.org>
Tue, 2 Sep 2025 08:32:39 +0000 (10:32 +0200)
committerMaxime Ripard <mripard@kernel.org>
Tue, 30 Sep 2025 09:55:31 +0000 (11:55 +0200)
The no_vblank field in drm_crtc_state is defined as a bit-field with a
single bit.

This will create a syntax issue with the macros we'll introduce next,
and most other booleans but the *_changed ones in drm_crtc_state do not
use a bit field anyway.

Let's drop it.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-11-14ad5315da3f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-11-14ad5315da3f@kernel.org
include/drm/drm_crtc.h

index caa56e039da2a748cf40ebf45b37158acda439d9..2d2a0bd526cfe791e42354f997a55f63ff126b6f 100644 (file)
@@ -186,7 +186,7 @@ struct drm_crtc_state {
         * this case the driver will send the VBLANK event on its own when the
         * writeback job is complete.
         */
-       bool no_vblank : 1;
+       bool no_vblank;
 
        /**
         * @plane_mask: Bitmask of drm_plane_mask(plane) of planes attached to