Andy Yan ab1c793f45 drm/rockchip: vop: Fix a dereferenced before check warning
The 'state' can't be NULL, we should check crtc_state.

Fix warning:
drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096
vop_plane_atomic_async_check() warn: variable dereferenced before check
'state' (see line 1077)

Fixes: 5ddb0bd4ddc3 ("drm/atomic: Pass the full state to planes async atomic check and update")
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021072818.61621-1-andyshrk@163.com
2024-11-09 23:57:32 +01:00
..
2024-11-03 08:51:53 -10:00
2024-10-18 15:53:00 -07:00
2024-09-27 08:48:37 -07:00
2024-10-29 00:46:20 +02:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-11-03 10:15:50 -10:00
2024-09-19 10:18:15 +02:00
2024-11-01 07:54:11 -10:00
2024-10-24 16:31:58 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-11-03 08:35:29 -10:00
2024-10-27 08:29:36 -10:00
2024-09-29 09:22:34 -07:00
2024-10-29 04:01:40 +01:00
2024-10-11 11:23:21 -07:00
2024-09-26 08:43:17 -07:00
2024-11-01 13:41:55 -10:00
2024-11-01 15:44:23 -10:00
2024-10-27 08:40:33 -10:00
2024-09-26 12:00:25 -07:00
2024-10-30 08:16:23 -10:00
2024-10-11 10:03:13 +00:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-30 08:16:23 -10:00
2024-09-11 16:02:54 +02:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-09-04 17:24:58 -05:00