History log of /haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/bios.cpp
Revision Date Author Comments
# 59ce1ffe 23-May-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: check internal crt feature in VBT for analog probe on DDI

* also uses the BAR size when dumping regs (as done by the intel_reg tool).

Change-Id: Ie29768afc8f9c42bb9a03b2866db34c4b0e43b7d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5334
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 46bbf334 01-May-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: parse VBT device configs, use this to skip unused ports

* BDB version from 111
* for DDI from Gen9
* for HDMI and DisplayPort from Gen6
* use the first port to create the mode list
* also probe DDI Port A
* the aux channel helps to select the correct dp aux registers.

Change-Id: I80549a6ec0477bed768cc5f388959b606d50c1b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5286
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 890aa411 28-Mar-2022 PulkoMandy <pulkomandy@pulkomandy.tk>

intel_extreme: improve brightness setting support

- Newer devices use a different layout for the backlight PWM registers
- Get the min brightness level from the BDB

Change-Id: I99745a022dd38733a4c2386f91c4c57016dd2acd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5162
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# c0ab9f51 16-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: handle generic DTD block found in the VBT

Change-Id: Id27180b3a33778d4da66ab45b330839ae90c6382
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5110
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# d5137e77 16-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: find VBT in OpRegion version 2.0 and from 2.1

we check the OpRegion version and use the rvda pointer when available.
from 2.1 the pointer is relative.

Change-Id: I64d8aea65368aa3c5597f63a2b96b6a430e04315
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5109
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 62dbe4d6 06-Mar-2022 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: map with kernel permissions only.


# c9e1571c 06-Mar-2022 Rudolf Cornelissen <rudhaiku@gmail.com>

intel_extreme: added Intel ACPI OpRegion basic support for fetch of native panel modeline.


# 17e87679 11-Dec-2021 Jérôme Duval <jerome.duval@gmail.com>

intel_extreme: define bdb header values, check panel type.

Change-Id: I2e5b61da9aecc11be13178a0b48211d172454d94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4773
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# d2e4af78 10-Dec-2021 Rudolf Cornelissen <rudhaiku@gmail.com>

intel_extreme: expand bios scan for panel a bit, might help ticket #17451


# 4492fde7 27-Oct-2021 Adrien Destugues <pulkomandy@pulkomandy.tk>

intel_extreme: reduce use of display_mode where display_timing is enough

In most cases we don't need to use the complete display_mode struct and
we just need the timings. This will avoid future confusion between the
virtual width/height and the actual display timings, if we implement
scrolling someday.

Change-Id: I6c4430b84130b956a47ea0a01afb0843f5a34fd2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4665
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# f16db284 09-Mar-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

intel_extreme build fix


# deb591ec 08-Mar-2020 Adrien Destugues <pulkomandy@pulkomandy.tk>

intel_extreme: fix detection of BDB block with LVDS panel info

The terminator is not always present, but the mode (at least the fields
we use) seems to be there nonetheless.


# aacc4091 30-Sep-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

intel_extreme: use int cast to please the grumpy oldtimer gcc2


# 39a3fe56 29-Sep-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

intel_extreme: check that vbt_header is in area


# 3ad0683e 11-Jun-2018 Augustin Cavalier <waddlesplash@gmail.com>

intel_extreme: Map VBIOS for kernel only.

korli's first suggested change from #14190. Gets past the first KDL,
but not all the way to desktop.


# 3d1bd895 11-Mar-2016 Alexander von Gluck IV <kallisti5@unixzen.com>

intel_extreme: Properly use VBIOS panel mode

* Move current_mode into the accelerant as the
driver doesn't care.
* Record panel_mode in driver and present to accelerant
* eDP, if no EDID and mobile, leave edid incomplete.
Mode set should notice that and fall back to panel_mode


# 5336a8d1 03-Jun-2014 Axel Dörfler <axeld@pinc-software.de>

intel_extreme: fixed warnings.

* And also most coding style violations.


# bb03a92e 17-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Some style fixes.

More work is needed for this new file to completely follow the style
guidelines. Also added several FIXMEs and TODOs.

This doesn't seem to break anything on my machine however, and was
confirmed to help by several users, so we may as well use it.


# ef726c68 16-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Intel_extreme: improve i855 support.

https://github.com/druga/haiku-stuff/tree/master/intel_extreme
Rebased against current sources.

* The BIOS video mode sometimes reports a scaled mode instead of the
physical panel dimensions. Get the data from the VBT table as well, and
use it if the reported resolution is bigger.
* On first boot, force the panel native mode so the user doesn't have to
set it manually.
* Only allow a single head at a time on i855gm, as the card can't drive
both heads at the same time.
* Detect when a new requested mode is the same as the current one, and
skip modesetting in that case. Avoids screen flickering when changing
workspaces.
* Fix some cases of misdetecting which pipes to enable


# 5336a8d11efb712cf20e0efe8cd7e3046a17d5af 03-Jun-2014 Axel Dörfler <axeld@pinc-software.de>

intel_extreme: fixed warnings.

* And also most coding style violations.


# bb03a92ef61baf91eb9fc8c5d92fdbdfec4ccf45 17-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Some style fixes.

More work is needed for this new file to completely follow the style
guidelines. Also added several FIXMEs and TODOs.

This doesn't seem to break anything on my machine however, and was
confirmed to help by several users, so we may as well use it.


# ef726c687a8cb1779a9a78d43a6b6fa8167a7ab4 16-Jan-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Intel_extreme: improve i855 support.

https://github.com/druga/haiku-stuff/tree/master/intel_extreme
Rebased against current sources.

* The BIOS video mode sometimes reports a scaled mode instead of the
physical panel dimensions. Get the data from the VBT table as well, and
use it if the reported resolution is bigger.
* On first boot, force the panel native mode so the user doesn't have to
set it manually.
* Only allow a single head at a time on i855gm, as the card can't drive
both heads at the same time.
* Detect when a new requested mode is the same as the current one, and
skip modesetting in that case. Avoids screen flickering when changing
workspaces.
* Fix some cases of misdetecting which pipes to enable