intel_fb_drv: make buffering mandatory

Instead of providing a buffer to the client and blitting from that
to the "real" framebuffer as an option, with this commit we always do so.
Thereby its possible to immediately destroy the old framebuffer used by
hardware when a configuration change is done, and a new framebuffer
is used. This also simplifies the modesetting.
Moreover, this commit fixes an issue when not using the connector reporting.
Until now the initial mode detection of connectors was only done when
the report was created. this is a regression that entered the driver
when upgrading to the recent Linux kernel version.

Ref #1997
This commit is contained in:
Stefan Kalkowski
2016-06-16 14:41:40 +02:00
committed by Christian Helmuth
parent 632444ae23
commit 558cc8e00c
7 changed files with 103 additions and 166 deletions

View File

@ -84,7 +84,6 @@ void Framebuffer_controller::update_fb_config(Xml_node & report)
static char buf[4096];
Xml_generator xml(buf, sizeof(buf), "config", [&] {
xml.attribute("buffered", "yes");
xml.node("report", [&] {
xml.attribute("connectors", "yes");
});