From: Xiaolei Wang <xiaolei.wang@windriver.com>
To: Alexandre Ghiti <alex@ghiti.fr>,
dmitry.baryshkov@oss.qualcomm.com,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
jani.nikula@intel.com, ville.syrjala@linux.intel.com
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] drm/tests: modeset: Add drm connector atomic_[duplicate/destroy]_state
Date: Mon, 22 Dec 2025 17:16:27 +0800 [thread overview]
Message-ID: <ae174e98-1fbb-44f2-a3a7-5ef40c37a49e@windriver.com> (raw)
In-Reply-To: <93b9e1dc-f8d5-4b8d-a7d2-27ba8e09dd54@ghiti.fr>
On 9/1/25 18:41, Alexandre Ghiti wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender
> and know the content is safe.
>
> Hi Xiaolei,
>
>
> On 8/27/25 10:45, Xiaolei Wang wrote:
>> Commit 66671944e176 ("drm/tests: helpers: Add atomic helpers")
>> added the atomic state path, so adding the drm connector
>> atomic_[duplicate/destroy]_state is also necessary.
>>
>> WARNING: CPU: 0 PID: 96 at drivers/gpu/drm/drm_connector.c:234
>> drm_connector_init_only+0x934/0xee0
>> Call trace:
>> drm_connector_init_only+0x934/0xee0 (P)
>> drmm_connector_init+0xe0/0x1b0
>> drm_client_modeset_test_init+0x290/0x534
>> kunit_try_run_case+0x110/0x3b4
>> kunit_generic_run_threadfn_adapter+0x80/0xec
>> kthread+0x3b8/0x6c0
>> ret_from_fork+0x10/0x20
>>
>> Fixes: 66671944e176 ("drm/tests: helpers: Add atomic helpers")
>> Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
>> Reviewed-by: Maxime Ripard <mripard@kernel.org>
>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>> ---
>>
>> v1:
>> https://patchew.org/linux/20250811063403.98739-1-xiaolei.wang@windriver.com/
>>
>> v2: compared with v1, add Fixes tag
>>
>> drivers/gpu/drm/tests/drm_client_modeset_test.c | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/tests/drm_client_modeset_test.c
>> b/drivers/gpu/drm/tests/drm_client_modeset_test.c
>> index 3f44fe5e92e4..e702a27c2368 100644
>> --- a/drivers/gpu/drm/tests/drm_client_modeset_test.c
>> +++ b/drivers/gpu/drm/tests/drm_client_modeset_test.c
>> @@ -12,6 +12,7 @@
>> #include <drm/drm_modes.h>
>> #include <drm/drm_modeset_helper_vtables.h>
>> #include <drm/drm_probe_helper.h>
>> +#include <drm/drm_atomic_state_helper.h>
>>
>> struct drm_client_modeset_test_priv {
>> struct drm_device *drm;
>> @@ -48,6 +49,9 @@ static const struct drm_connector_helper_funcs
>> drm_client_modeset_connector_help
>> };
>>
>> static const struct drm_connector_funcs
>> drm_client_modeset_connector_funcs = {
>> + .reset = drm_atomic_helper_connector_reset,
>> + .atomic_duplicate_state =
>> drm_atomic_helper_connector_duplicate_state,
>> + .atomic_destroy_state =
>> drm_atomic_helper_connector_destroy_state,
>> };
>>
>> static int drm_client_modeset_test_init(struct kunit *test)
>
Humble ping...
thanks
xiaolei
>
> Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
>
> Thanks,
>
> Alex
>
prev parent reply other threads:[~2025-12-22 9:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 8:45 Xiaolei Wang
2025-09-01 10:41 ` Alexandre Ghiti
2025-12-22 9:16 ` Xiaolei Wang [this message]
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=ae174e98-1fbb-44f2-a3a7-5ef40c37a49e@windriver.com \
--to=xiaolei.wang@windriver.com \
--cc=airlied@gmail.com \
--cc=alex@ghiti.fr \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=ville.syrjala@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®