drm/i915: Fix NULL ptr deref by checking new_crtc_state
authorjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:39:37 +0000 (02:39 +0000)
committerjsg <jsg@openbsd.org>
Thu, 15 Jun 2023 02:39:37 +0000 (02:39 +0000)
commit7e2e87fc7325c1e4094938c52006cade0dfbb54a
tree04faa172052e0c2fb74e4051016e6024f9d67a6e
parent879897e760e76efa61928209b1cf0e88e0473399
drm/i915: Fix NULL ptr deref by checking new_crtc_state

From Stanislav Lisovskiy
dbf25cc21beff4fd2e730573845a266504b21bb2 in linux-6.1.y/6.1.30
a41d985902c153c31c616fe183cf2ee331e95ecb in mainline linux
sys/dev/pci/drm/i915/display/intel_atomic_plane.c