From: Javier Martinez Canillas <javierm@redhat.com>
To: Icenowy Zheng <zhengxingda@iscas.ac.cn>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Simona Vetter <simona@ffwll.ch>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Joey Lu <a0987203069@gmail.com>, Han Gao <gaohan@iscas.ac.cn>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Icenowy Zheng <uwu@icenowy.me>
Cc: David Airlie <airlied@gmail.com>,
Icenowy Zheng <zhengxingda@iscas.ac.cn>
Subject: Re: [PATCH v3 4/5] drm/verisilicon: check old state CRTC in plane atomic_disable
Date: Tue, 01 Dec 2026 15:00:39 +0100 [thread overview]
Message-ID: <xlv1tskxp0c8.fsf@fmartine-thinkpadx1carbongen12.rmtes.csb> (raw)
In-Reply-To: <20261118153448.375639-5-zhengxingda@iscas.ac.cn>
Icenowy Zheng <zhengxingda@iscas.ac.cn> writes:
> As atomic_update hooks of both planes would utilize atomic_disable
> functions to disable the plane when it's set to invisible (even when
> technically enabled), the atomic_disable functions need to check whether
> the plane is really enabled before.
>
> Add such a check to prevent NULL dereference.
>
> Fixes: dbf21777caa8 ("drm: verisilicon: add a driver for Verisilicon display controllers")
> Fixes: 8c4ae2189125 ("drm: verisilicon: add support for cursor planes")
> Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
> ---
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
next prev parent reply other threads:[~2026-12-01 14:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 15:34 [PATCH v3 0/5] drm/verisilicon: misc fixes Icenowy Zheng
2026-11-18 15:34 ` [PATCH v3 1/5] drm/verisilicon: disable the output before enabling it Icenowy Zheng
2026-12-01 13:55 ` Javier Martinez Canillas
2026-11-18 15:34 ` [PATCH v3 2/5] drm/verisilicon: fix DC8200 primary plane disable clearing FB_EN Icenowy Zheng
2026-12-01 13:56 ` Javier Martinez Canillas
2026-11-18 15:34 ` [PATCH v3 3/5] drm/verisilicon: nuke planes' atomic_enable hooks Icenowy Zheng
2026-12-01 13:59 ` Javier Martinez Canillas
2026-11-18 15:34 ` [PATCH v3 4/5] drm/verisilicon: check old state CRTC in plane atomic_disable Icenowy Zheng
2026-12-01 14:00 ` Javier Martinez Canillas [this message]
2026-11-18 15:34 ` [PATCH v3 5/5] drm/verisilicon: nuke planes' atomic_disable hooks Icenowy Zheng
2026-12-01 14:01 ` Javier Martinez Canillas
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=xlv1tskxp0c8.fsf@fmartine-thinkpadx1carbongen12.rmtes.csb \
--to=javierm@redhat.com \
--cc=a0987203069@gmail.com \
--cc=airlied@gmail.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gaohan@iscas.ac.cn \
--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=uwu@icenowy.me \
--cc=zhengxingda@iscas.ac.cn \
/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®