diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2024-10-21 10:28:06 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-11-10 01:57:32 +0300 |
commit | ab1c793f457f740ab7108cc0b1340a402dbf484d (patch) | |
tree | be39554008f4e3c585aed02a52d29436851f63e7 /tools/perf/scripts/python/gecko.py | |
parent | f432a1621f049bb207e78363d9d0e3c6fa2da5db (diff) | |
download | linux-ab1c793f457f740ab7108cc0b1340a402dbf484d.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions