[PATCH i-g-t 05/17] tests/kms_atomic_interruptible: s/crtc/drm_crtc/

Ville Syrjala
2026-02-11T16:34:29Z

Change the name of the 'struct drm_mode_crtc' typed variable
from 'crtc' to 'drm_crtc'. This leaves the 'crtc' name available
for an upcoming 'igt_crtc_t' typed variable.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/kms_atomic_interruptible.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c
index 9ff43ef4a868..4b29a196d807 100644
--- a/tests/kms_atomic_interruptible.c
+++ b/tests/kms_atomic_interruptible.c
@@ -177,7 +177,7 @@ static void run_plane_test(igt_display_t *display, enum pipe pipe, igt_output_t
igt_while_interruptible(true) {
switch (test_type) {
case test_legacy_modeset: {
- struct drm_mode_crtc crtc = {
+ struct drm_mode_crtc drm_crtc = {
.set_connectors_ptr = (uint64_t)(uintptr_t)&output->id,
.count_connectors = 1,
.crtc_id = primary->crtc->crtc_id,
@@ -186,7 +186,7 @@ static void run_plane_test(igt_display_t *display, enum pipe pipe, igt_output_t
.mode = *(struct drm_mode_modeinfo*)mode,
};

- do_ioctl(display->drm_fd, DRM_IOCTL_MODE_SETCRTC, &crtc);
+ do_ioctl(display->drm_fd, DRM_IOCTL_MODE_SETCRTC, &drm_crtc);
break;
}
case test_atomic_modeset: {
--
2.52.0