summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonas Karlman <jonas@kwiboo.se>2023-06-21 22:33:21 +0000
committerHeiko Stuebner <heiko@sntech.de>2023-08-12 23:53:36 +0200
commit342f7e4967d02b0ec263b15916304fc54841b608 (patch)
treed54a86b0948ad4d8a53a3cb107548282a3a3a12b /tools/perf/scripts/python
parent5aacd290837828c089a83ac9795c74c4c9e2c923 (diff)
drm/rockchip: vop2: Don't crash for invalid duplicate_state
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. Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver") Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230621223311.2239547-5-jonas@kwiboo.se
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions