mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
d65beb970d
* enable i915 driver from Linux 3.14.5 * tested for generation 5 till 8 GPUs The driver can be configured at run-time via the config ROM. Every connector of the graphic card can be configured separately using the following syntax <config> <connector name="LVDS-11" width="1280" height="800" enabled="true"/> </config> Also, when enabled within the intel framebuffer driver configuration like the following <config buffered="yes"/> a simple ram dataspace is propagated to the client and the driver itselfs copies from that buffer to the framebuffer triggered via refresh calls. This option is useful to alleviate tearing effects. The driver distributes all available connectors of the graphic card and their supported resolutions via a report. It looks like follows <connectors> <connector name="LVDS-11" connected="1"> <mode width="1280" height="800" hz="60"/> ... </connector> ... </connectors> The driver distributes the report only if this is stated within its configuration, like the following <config> <report connectors="yes"/> </config> Fix #1764
13 lines
367 B
Diff
13 lines
367 B
Diff
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
|
|
index 98a0363..b00c6b7 100644
|
|
--- a/drivers/gpu/drm/drm_fb_helper.c
|
|
+++ b/drivers/gpu/drm/drm_fb_helper.c
|
|
@@ -1505,6 +1505,7 @@ static void drm_setup_crtcs(struct drm_fb_helper *fb_helper)
|
|
modeset->mode = NULL;
|
|
}
|
|
}
|
|
+ update_genode_report();
|
|
out:
|
|
kfree(crtcs);
|
|
kfree(modes);
|