--- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -13567,6 +13568,10 @@ intel_crtc = to_intel_crtc(crtc); plane->fb = fb; + + if (!crtc) + return; + crtc->x = src->x1 >> 16; crtc->y = src->y1 >> 16;