Re: [PATCH] drm/rockchip: vop: Don't crash for invalid duplicate_state()

From: Heiko Stuebner
Date: Sun Jul 03 2022 - 07:11:43 EST


On Fri, 17 Jun 2022 17:26:52 -0700, Brian Norris wrote:
> It's possible for users to try to duplicate the CRTC state even when the
> state doesn't exist. drm_atomic_helper_crtc_duplicate_state() (and other
> users of __drm_atomic_helper_crtc_duplicate_state()) already guard this
> with a WARN_ON() instead of crashing, so let's do that here too.

Applied, thanks!

[1/1] drm/rockchip: vop: Don't crash for invalid duplicate_state()
commit: 1449110b0dade8b638d2c17ab7c5b0ff696bfccb

Best regards,
--
Heiko Stuebner <heiko@xxxxxxxxx>