genode/repos/dde_linux/patches/intel_fb_drm_remove.patch

14 lines
251 B
Diff
Raw Normal View History

--- 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;