mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 01:11:06 +00:00
14 lines
251 B
Diff
14 lines
251 B
Diff
|
--- 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;
|
||
|
|