Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/panic: Get the crtc from the correct place

Use hw.crtc as opposed to uapi.crtc in the panic code. I suspect
this stuff doesn't handle joiner correctly in other ways either
but can't be bothered to dig deeper.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251119181606.17129-6-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>

+2 -1
+2 -1
drivers/gpu/drm/i915/display/intel_plane.c
··· 1277 1277 static void intel_panic_flush(struct drm_plane *plane) 1278 1278 { 1279 1279 struct intel_plane_state *plane_state = to_intel_plane_state(plane->state); 1280 - struct intel_crtc_state *crtc_state = to_intel_crtc_state(plane->state->crtc->state); 1280 + struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc); 1281 + struct intel_crtc_state *crtc_state = to_intel_crtc_state(crtc->base.state); 1281 1282 struct intel_plane *iplane = to_intel_plane(plane); 1282 1283 struct intel_display *display = to_intel_display(iplane); 1283 1284 struct drm_framebuffer *fb = plane_state->hw.fb;