haiku/headers
Adrien Destugues adc0f76e64 More SandyBridge fixes and cleanups
Modesetting
===========

My previous hack was setting the transcoder registers, instead of the
display ones. Do that the way it is designed in the driver instead:

- If there is a transcoder, set its registers, but do not set the
display timings. The display will remain set at its native (and only)
resolution, and panel fitting will adjust the output of the transcoder
to match.
- If there is no transcoder, set the display registers directly to the
native resolution, as it was done on previous generation devices.
- fPipeOffset hacks no longer needed

DPMS
====

It seems the panel control register is not readable on PCH? Anyway, the
code would loop forever waiting for the bit to become unset when turning
the display off. Waiting seems to not be needed, so just remove it as
well as the "unlock" bit, which does not work for me and results in a
black screen.

Remaining hacks
===============

I still need to force HEAD_MODE_A_ANALOG to get output on pipe B (LVDS
display) working. I suspect something is common to the two pipes or not
allocated to the right one.

This version will have less side effects on other generations and help
with getting things to work on SandyBridge and possibly later devices.
Please test and report.
2016-08-25 23:17:12 +02:00
..
build Added some support for GCC 7. 2016-05-05 18:20:26 +02:00
clang Import lib/Headers from Clang 2015-11-09 18:01:18 +01:00
compatibility
config
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc
libs headers/libs/mesa: Remove. 2016-07-29 18:41:30 -04:00
os BListView: Impliment autoscroll 2016-08-18 16:36:46 -07:00
posix M68K: turn #warnings into comments in public headers 2016-07-20 20:26:29 +02:00
private More SandyBridge fixes and cleanups 2016-08-25 23:17:12 +02:00
tools Revert "cppunit: Enable elf symbol patching for Haiku." 2016-06-18 18:57:48 -04:00