drm/i915: Make intel_get_crtc_new_encoder() less oopsy
authorjsg <jsg@openbsd.org>
Fri, 12 May 2023 11:22:54 +0000 (11:22 +0000)
committerjsg <jsg@openbsd.org>
Fri, 12 May 2023 11:22:54 +0000 (11:22 +0000)
commit61ca8cb4f78f7a65a656604ba29a7bfaeab0402f
treeeb5f4539e0f40952efd38aa199cf1181f4c01bcb
parentae98e25d198e9b10195ba6ca9237a689e48134d8
drm/i915: Make intel_get_crtc_new_encoder() less oopsy

From Ville Syrjala
0fe6ef82e4f4764e8f556632e4cd93d78d448e99 in linux-6.1.y/6.1.28
631420b06597a33c72b6dcef78d1c2dea17f452d in mainline linux
sys/dev/pci/drm/i915/display/intel_display.c