linux_dsm_epyc7002/drivers/gpu/drm/i915
Dave Airlie 4410f39109 fbdev: add support for handoff from firmware to hw framebuffers
With KMS we have ran into an issue where we really want the KMS fb driver
to be the one running the console, so panics etc can be shown by switching
out of X etc.

However with vesafb/efifb built-in, we end up with those on fb0 and the
KMS fb driver on fb1, driving the same piece of hw, so this adds an fb
info flag to denote a firmware fbdev, and adds a new aperture base/size
range which can be compared when the hw drivers are installed to see if
there is a conflict with a firmware driver, and if there is the firmware
driver is unregistered and the hw driver takes over.

It uses new aperture_base/size members instead of comparing on the fix
smem_start/length, as smem_start/length might for example only cover the
first 1MB of the PCI aperture, and we could allocate the kms fb from 8MB
into the aperture, thus they would never overlap.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Dave Airlie <airlied@redhat.com>
Acked-by: Peter Jones <pjones@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 19:48:00 -07:00
..
dvo_ch7xxx.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ch7017.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_ivch.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_sil164.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo_tfp410.c DRM: i915: add mode setting support 2008-12-29 17:47:23 +10:00
dvo.h drm/i915: fix sparse warnings: move 'extern' decls to header file 2008-12-29 17:47:26 +10:00
i915_dma.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
i915_drv.c drm/i915: Unregister ACPI video driver when exiting 2009-04-17 13:31:07 -07:00
i915_drv.h drm/i915: handle interrupt on new chipset 2009-06-09 11:15:27 -07:00
i915_gem_debug.c drm/i915: Add a spinlock to protect the active_list 2009-04-01 15:22:07 -07:00
i915_gem_debugfs.c drm/i915: Implement batch and ring buffer dumping 2009-04-08 10:18:06 -07:00
i915_gem_tiling.c drm/i915: enable MCHBAR if needed 2009-06-09 11:15:07 -07:00
i915_gem.c drm/i915: NOMEM->NOSPC 2009-06-09 14:51:39 -07:00
i915_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915_irq.c drm/i915: handle interrupt on new chipset 2009-06-09 11:15:27 -07:00
i915_mem.c drm: move to kref per-master structures. 2008-12-29 17:47:22 +10:00
i915_opregion.c drm/i915: Enable ASLE if present 2009-04-17 13:31:09 -07:00
i915_reg.h drm/i915: Add Display Port register defines 2009-06-05 14:12:59 +00:00
i915_suspend.c drm/i915: Save/restore cursor state on suspend/resume. 2009-06-04 11:43:11 +00:00
intel_bios.c drm/i915: parse VBT general definition block to get the SDVO device info 2009-06-05 14:13:05 +00:00
intel_bios.h drm/i915: Add the structure of child_device_config in video BIOS tables. 2009-06-05 14:13:02 +00:00
intel_crt.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
intel_display.c drm/i915: duplicate desired mode for use by fbcon. 2009-06-12 15:00:01 +10:00
intel_drv.h drm/i915: Add new GET_PIPE_FROM_CRTC_ID ioctl. 2009-05-14 16:00:32 -07:00
intel_dvo.c drm: Hook up DPMS property handling in drm_crtc.c. Add drm_helper_connector_dpms. 2009-06-04 09:32:12 +10:00
intel_fb.c fbdev: add support for handoff from firmware to hw framebuffers 2009-06-16 19:48:00 -07:00
intel_hdmi.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
intel_i2c.c drm/i915: workaround IGD i2c bus issue in kernel side (v2) 2009-05-14 16:00:26 -07:00
intel_lvds.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
intel_modes.c drm/i915: workaround IGD i2c bus issue in kernel side (v2) 2009-05-14 16:00:26 -07:00
intel_sdvo_regs.h drm/i915: Fix SDVO CREATE_PREFERRED_INPUT_TIMING command 2009-04-01 15:22:04 -07:00
intel_sdvo.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
intel_tv.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-12 18:09:18 -07:00
Makefile drm/i915: Convert i915 proc files to seq_file and move to debugfs. 2009-03-27 15:12:01 -07:00