FUI: restructuring and redesign
authorRonald G. Minnich <rminnich@google.com>
Thu, 25 Apr 2013 22:33:47 +0000 (15:33 -0700)
committerRonald G. Minnich <rminnich@google.com>
Wed, 15 May 2013 22:51:10 +0000 (15:51 -0700)
commit9a136c4d98dd8f8f6a4e453c4ba3f6e0af015807
tree1b78d158bd43137c8f291f28dc8ab8c149be81e3
parent3b1b0eb49e4cd861d76687db9fdcccf4d743bf23
FUI: restructuring and redesign

This is a draft, showing how FUI is changing.

We're moving to depending more on coccinnelle produced driver code
(src/drivers/intel_dp.c), which is not working yet but is close.

To pass information to the code we create an intel_dp struct modeled
on the one from the kernel.

intel/wtm2/i915.c is renamed to intel/wtm2/gma.c

Now reads EDID and DPCD.

This is another incremental commit. With this version, we get clock training
on lanes 0 and 1. And now we have equalization too.

And now we're lighting up the screen. This commit is clearly crap right now
but I wanted to keep it around. Now to clean it up.

OK, now we have a small screen with 32-bit graphics and then a full size panel with 32-bit graphics.
We boot into a kernel and it configures the display correctly. So VBIOS-free graphics works.

We not get depthcharge screens.

Also, with this version, we're yanking out straightline code and replacing it with functions.

Incremental commit as I remove bits and pieces, prior to killing this blind I/O
Another incremental commit, removing the first training sequence and finding that
it seems no harm is done.

BUG=None
BRANCH=NONE
TEST=it builds and needs to be way faster.

Change-Id: If3938060e6003d0646c58c8a765b3f0ae8f93deb
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
23 files changed:
configs/config.wtm2
src/drivers/Makefile.inc
src/drivers/intel/Makefile.inc [new file with mode: 0644]
src/drivers/intel/gma/Makefile.inc [new file with mode: 0644]
src/drivers/intel/gma/drm_dp_helper.c [new file with mode: 0644]
src/drivers/intel/gma/drm_dp_helper.h [new file with mode: 0644]
src/drivers/intel/gma/i915.h [new file with mode: 0644]
src/drivers/intel/gma/i915_reg.h [new file with mode: 0644]
src/drivers/intel/gma/intel_dp.c [new file with mode: 0644]
src/include/device/drm_dp_helper.h [deleted file]
src/include/device/i915.h [deleted file]
src/include/device/i915_reg.h [deleted file]
src/mainboard/intel/wtm2/Kconfig
src/mainboard/intel/wtm2/Makefile.inc
src/mainboard/intel/wtm2/gma.c [new file with mode: 0644]
src/mainboard/intel/wtm2/graphics.c
src/mainboard/intel/wtm2/i915.c [deleted file]
src/mainboard/intel/wtm2/i915io.c [new file with mode: 0644]
src/mainboard/intel/wtm2/i915io_linux.c [new file with mode: 0644]
src/northbridge/intel/haswell/Makefile.inc
src/northbridge/intel/haswell/gma.c
src/northbridge/intel/haswell/haswell.h
src/northbridge/intel/haswell/intel_ddi.c [new file with mode: 0644]