diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2023-06-21 22:33:20 +0000 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-08-12 23:53:35 +0200 |
commit | 5aacd290837828c089a83ac9795c74c4c9e2c923 (patch) | |
tree | 0cfbfa856b943623c785b90bbfd99b35f358cf98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 800f7c332df7cd9614c416fd005a6bb53f96f13c (diff) |
drm/rockchip: vop: Fix call to crtc reset helper
Allocation of crtc_state may fail in vop_crtc_reset, causing an invalid
pointer to be passed to __drm_atomic_helper_crtc_reset.
Fix this by adding a NULL check of crtc_state, similar to other drivers.
Fixes: 01e2eaf40c9d ("drm/rockchip: Convert to using __drm_atomic_helper_crtc_reset() for reset.")
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-4-jonas@kwiboo.se
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions