From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F113F606A323 for ; Sun, 29 Nov 2026 18:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=FoohqVi3 Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A64C010E0C6; Sun, 29 Nov 2026 18:08:16 +0000 (UTC) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB41310E2AC for ; Sun, 29 Nov 2026 18:07:10 +0000 (UTC) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-86156cf8a7eso7552459a34.1 for ; Sun, 29 Nov 2026 10:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795975630; x=1796580430; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=K9JUYSg4HvnG1pbieikFoEo3v/USL8vlzFp4OMneB/Q=; b=FoohqVi3dKP+tUW+8WQf8kdUJqxbFnBLfF+2WSYtWHnyckeqfo9JdOBmNy3WFBIwhw FoaqHvrVJThB/2CmgXxF9dBdBCdJuslVLTY9NN89gx3+axk7FFbeZ1VUJ0lr2VZaRqs7 Dv8W18kQu1eH3D9/CDiVs0bwJmjki8XqRbPMPl9D2+oMgAGqbHyQmNkgZqtHj7fsCmJL YWpG+DktHCYUtptxBOnV2amqC5vC9mcIMEET6za0rvozthE6Pr2LFysBGpxtvTqpvF/U pHUHxZgpBR6RHf2syeO2nHylsvegHYsrfDOSkMdqTPeEPqkvhHrRxuhZSXwURpqkjmWa RoTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795975630; x=1796580430; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=K9JUYSg4HvnG1pbieikFoEo3v/USL8vlzFp4OMneB/Q=; b=qaCXM5ujY14D6qJa9jqF2KX5PiflZrcIkfmp7AZFP4LZNhjBo+jR8Ut90Yni0t7nKh UQadNwtkJWYVMon4B+5T8P/1A7BPs7vvqOphtIg14IsG22Kx9km33CgItjDsW2e8efwE yBZ00zMbo7f8+VY3LtqdqcUVda6Bta3+u6ZRioLcwKnHjVlR8V08O0iJ0Mq/QN/22yfp VLj7910UG+B+bJfnI2wZFFXGFLREm64/ig0UMvZ5FlsZdLB2RZBraVeLstea/HjVnV6p b7JxSdYE+8aXIvpPTgT4JxyF6bi1UG3QdsKIdMvnvJXhjCD0vcETEo4Rdh79NiMhcJnh A5EQ== X-Gm-Message-State: APuU4Z8nqITt5ml7R0vO5dpFZCeYNYCp8aRgYUIf2XlCT8b5Zcl0keKt BOZAcCzK7j93fwDI8US9XnvTkvb0C1my6tIqx04DtMFahOlSn2dEexwMjNC33z30 X-Gm-Gg: AZFdTZcEH1nIopG1t3F4YRG+uxONB/B5ZoiBk2e6pkS6kBYGtaFrLswppRM4qWP3N7n phVoGj9aW8oUUzWh0PLvJh+BnowmJtHjM99nQiZLyClNuhla4o6SnzUFLXvT3cElsXF300Ec20V bf3ZPSG1kNSwuiL5OiQ9htAKLDVBdN9dDx4HkFWUMdGdLhzQG0DJSCGvbJae+SACwWsxSkBKQgn 9GhaMgxeEm+PhM/onBqvwCnquWTYPGmP8S8ahqWjU2kXgRfDtDW5K+901ptEXcE6HiI1GyeB24v oc2U/QOM4Stena2Lh9KVZ0+0yfMcHRJHDu+tptYwDjVUq6TRBMw38dCirTo5iX++lPtj2/8u4Ul B9x9KMijIIYmvGR7vBVKvFFIA3aX4S/yZJpGdJU4erKzfXLkwH8Ip9RIaVrCYAJq76PPAgtw9BU RsM7ybuMP1Z+IvvP/ko2zjG6BYOLo8+pC7QbHgjaLf9pGzua2+D5p45rv9nl7NmZwkmdVUaMX7h lcDfXTuyMRQ8LuyhvRdN/u73TRhmI3dqqrPljjnS3Hh7ZVZUGRwoMaRcXEGBBAN4ct53RBNBngG dv3WglpcDdMwd1TI0G6R8w2N+G2mG1yEmCDOy3J003dl6CKvuER8mMs5kC9Ktg6zI2P8EwMgtI/ WBCKQ2wJewIIkI2spobfhWLxjGbQ7U/c= X-Received: by 2002:a05:6808:6d93:b0:4b8:46e3:e221 with SMTP id 5614622812f47-57a09c1de59mr20150894b6e.13.1795975629871; Sun, 29 Nov 2026 10:07:09 -0800 (PST) Received: from localhost.localdomain ([72.12.197.23]) by smtp.gmail.com with ESMTPSA id 5614622812f47-57a34250ef2sm24226176b6e.3.2026.11.29.10.07.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 29 Nov 2026 10:07:09 -0800 (PST) From: Aditya Tipre To: igt-dev@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org, louis.chauvet@bootlin.com, sowmiya.s@intel.com, kamil.konieczny@linux.intel.com, karthik.b.s@intel.com, swati2.sharma@intel.com, tipreaditya@gmail.com Subject: [PATCH i-g-t v4 0/2] kms_writeback: Synchronize writeback and test CRC continuity Date: Sun, 29 Nov 2026 13:06:58 -0500 Message-ID: <20261129180700.89278-1-tipreaditya@gmail.com> X-Mailer: git-send-email 2.50.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "igt-dev" X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 This series fixes a synchronization issue in the existing writeback FB-ID test and adds a VKMS regression test for concurrent writeback and CRC capture. The FB-ID test submits a writeback into the shared input framebuffer. It must wait for completion before a later subtest refills that buffer. Patch 1 requests and waits for the completion fence, preventing the older writeback from modifying the next subtest's reference contents. Patch 2 keeps CRC capture active across four alternating writebacks and checks fresh CRC samples after each completion. It is restricted to VKMS, does not allow modesets after capture starts, and releases capture and the new framebuffers from the final fixture. It also clears the format probe's pending out-fence request so the subtest works independently. Changes since v3: - Rebased both patches onto current IGT master, c9e2cc3119d9. - Added a cover letter with a subject describing the complete series. The patch contents are unchanged by the rebase. Previous revision: https://lore.kernel.org/igt-dev/20261105225628.4123-1-tipreaditya@gmail.com/ Validation performed on the rebased v4 series: - Rebuilt IGT and kms_writeback on master c9e2cc3119d9 with both patches. The generated testlist and documentation consistency checks pass. - ARM64 QEMU/HVF with one and two CPUs, using the original unfixed/fixed Linux kernel pair that demonstrated the VKMS composer lifetime bug. - The prerequisite alone and the complete series pass all four existing applicable subtests on both kernels; the two XRGB2101010 cases skip. - The new regression reaches the expected post-writeback CRC timeout on the unfixed kernel and passes with the VKMS composer lifetime fix, both independently and in the full writeback suite. - Temporary failure probes verify framebuffer and buffer-handle cleanup after partial setup, CRC comparison failure, timeout, success, and skip. - All 19 validation cases produced their expected outcomes, with no kernel warnings detected. Strict checkpatch reports no issues in either patch. Aditya Tipre (2): tests/kms_writeback: Wait for the valid FB ID writeback tests/kms_writeback: Check CRC capture survives writeback tests/kms_writeback.c | 75 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 2 deletions(-) -- 2.50.1 (Apple Git-155)