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-08-28 12:21:49 -03:00
2024-10-01 08:15:55 +10:00
2024-09-19 10:18:15 +02:00
2024-09-19 10:18:15 +02:00
2024-05-02 11:33:17 +02:00
2024-09-11 09:18:15 +02:00
2024-10-11 09:03:30 +10:00
2024-09-11 09:18:15 +02:00
2024-09-11 09:18:15 +02:00
2024-05-02 11:33:18 +02:00
2024-09-10 13:55:49 +02:00
2024-10-01 08:15:55 +10:00
2024-08-15 11:01:48 -03:00
2024-04-25 20:55:49 -07:00
2024-01-12 11:32:19 -08:00
2024-07-18 09:34:02 -07:00
2024-06-24 17:08:53 +03:00
2024-08-23 16:55:35 +02:00
2024-09-11 09:18:15 +02:00