All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Maxime Ripard" <mripard@kernel.org>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v8 5/7] drm/tests: atomic: Add tests for drm_atomic_commit_fill_with_defaults()
Date: Fri, 06 Nov 2026 15:20:28 +0000	[thread overview]
Message-ID: <sashiko-outbox-201664@kernel.org> (raw)
In-Reply-To: <20261106-drm-reset-state-flag-v8-5-50fd046b705f@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/tests: commit message does not match added tests in
  drm_atomic_test.c
--

commit 7731bb22d966b9a3d8a35a7cc0ac3d23e9fd7680
Author: Maxime Ripard <mripard@kernel.org>

> drm/tests: atomic: Add tests for drm_atomic_commit_fill_with_defaults()
>
> drm_atomic_commit_fill_with_defaults() is used by the
> DRM_MODE_ATOMIC_RESET flag to bring all objects back to their pristine
> state. However, it has no dedicated test coverage.
>
> Add two tests that verify the reset cycle. The first enables a CRTC,
> plane, and connector, then calls drm_atomic_commit_fill_with_defaults()
> and verifies all objects return to their disabled state: CRTC inactive,
> plane disabled with no framebuffer, and connector unbound. The second
> goes further and commits the default-filled state to verify the
> init -> enable -> reset -> commit sequence completes without errors.
>
> Suggested-by: Daniel Stone <daniel@fooishbar.org>
> Signed-off-by: Maxime Ripard <mripard@kernel.org>

[Severity: Low]
Does the commit message match the tests added in
drm_atomic_fill_with_defaults_tests?

The commit message describes two tests, whereas the patch adds four:
drm_test_check_fill_with_defaults(),
drm_test_check_fill_with_defaults_commit(),
drm_test_check_fill_with_defaults_color_mgmt(), and
drm_test_check_fill_with_defaults_no_modeset().  Also, as noted in the
test comments, drm_test_check_fill_with_defaults() only enables the CRTC
and connector via drm_kunit_helper_enable_crtc_connector() and does not
enable the plane with a framebuffer.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106-drm-reset-state-flag-v8-0-50fd046b705f@kernel.org?part=5

  reply	other threads:[~2026-11-06 15:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06 15:11 [PATCH v8 0/7] drm: Add DRM_MODE_ATOMIC_RESET flag Maxime Ripard
2026-11-06 15:11 ` [PATCH v8 1/7] drm/amd/display: Fix planes atomic_create_state implementation Maxime Ripard
2026-11-06 15:11 ` [PATCH v8 2/7] drm/atomic: Add drm_atomic_implements_create_state() helper Maxime Ripard
2026-11-06 15:11 ` [PATCH v8 3/7] drm/lease: Add a helper to tell whether a lease was revoked Maxime Ripard
2026-11-06 15:24   ` sashiko-bot
2026-11-06 15:11 ` [PATCH v8 4/7] drm/atomic: Allow filling a commit with pristine object states Maxime Ripard
2026-11-06 15:38   ` sashiko-bot
2026-11-06 15:11 ` [PATCH v8 5/7] drm/tests: atomic: Add tests for drm_atomic_commit_fill_with_defaults() Maxime Ripard
2026-11-06 15:20   ` sashiko-bot [this message]
2026-11-06 15:11 ` [PATCH v8 6/7] drm/atomic-uapi: Add DRM_MODE_ATOMIC_RESET flag Maxime Ripard
2026-11-06 15:37   ` sashiko-bot
2026-11-06 15:11 ` [PATCH v8 7/7] drm/vkms: Add driver-specific plane property for testing Maxime Ripard
2026-11-07 12:16   ` Oarora Etimis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-201664@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=mripard@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.