]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Support PCH no display
authorBen Widawsky <ben@bwidawsk.net>
Fri, 5 Apr 2013 20:12:39 +0000 (13:12 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 6 Apr 2013 17:33:29 +0000 (19:33 +0200)
commitdd858721f57c62606e54385b12139817a49b21ad
tree6fdc324d46dd72b65dfbaf0a34c6a056a2a8290d
parentbb1e45b43b6664f56c8e9b5ccfd15b24a32bbb0c
drm/i915: Support PCH no display

GEN supports a fusing option which subtracts the PCH display (making the
CPU display also useless). In this configuration MMIO which gets decoded
to a certain range will hang the CPU.

For us, this is sort of the equivalent of having no pipes, and we can
easily modify some code to not do certain things with no pipes.

v2: Moved the num pipes check up in the call chain, and removed extra
checks noted by Daniel. For more details, see:
http://lists.freedesktop.org/archives/intel-gfx/2013-March/025746.html

v3: Drop the intel_setup_overlay check (Daniel)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_fb.c