linux/drivers/gpu/drm/i915
Jesse Barnes dff33cfcef drm/i915: FIFO watermark calculation fixes
I discovered several bugs in the FIFO code that was recently applied.
Some of them fell into the "how did this ever work" category, since in
some cases we were using the wrong FIFO size values, and the
calculations ended up being way off.

This patch fixes all the bugs I found, and works well on my GM45, 915GM
and 855GM test machines; but as usual with these sorts of patches
broader testing is definitely requested (in particular this patch
affects 830, 845 and 865 for which I don't have test hardware).

Overall, the patch clarifies the watermark calculation function by
adding some comments and debug info, and making the variable names a
bit clearer.  The "get FIFO size" portion of the code has also been
corrected, so we should be able to properly detect the FIFO allocations
for each pipe, for use in the watermark calculation.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-07-14 15:33:25 -07:00
..
dvo_ch7xxx.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ch7017.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_ivch.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_sil164.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo_tfp410.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
dvo.h drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
i915_dma.c drm/i915: Disable GEM when a broken video BIOS takes up the whole aperture. 2009-07-10 12:29:33 -07:00
i915_drv.c drm/i915: Restore the KMS modeset for every activated CRTC 2009-07-10 12:36:11 -07:00
i915_drv.h drm/i915: refactor error detection & collection 2009-07-13 15:33:37 -07:00
i915_gem_debug.c drm/i915: Catch up to obj_priv->page_list rename in disabled debug code. 2009-06-22 20:19:39 -07:00
i915_gem_debugfs.c drm/i915: refactor error detection & collection 2009-07-13 15:33:37 -07:00
i915_gem_tiling.c drm/i915: Zap the GTT mapping when transitioning from untiled to tiled. 2009-07-10 14:10:58 -07:00
i915_gem.c drm/i915: Zap the GTT mapping when transitioning from untiled to tiled. 2009-07-10 14:10:58 -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: refactor error detection & collection 2009-07-13 15:33:37 -07:00
i915_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
i915_opregion.c ACPI: Add the reference count to avoid unloading ACPI video bus twice 2009-06-23 23:38:41 -04:00
i915_reg.h drm/i915: FIFO watermark calculation fixes 2009-07-14 15:33:25 -07:00
i915_suspend.c drm/i915: Avoid saving/restore the modesetting registers twice in KMS mode 2009-07-10 12:40:36 -07:00
intel_bios.c drm/i915: Fix for LVDS VBT change on IGDNG 2009-07-10 14:11:06 -07: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 drm/i915: Fix harmless warning from patch merged after i2c rework. 2009-07-10 12:30:18 -07:00
intel_display.c drm/i915: FIFO watermark calculation fixes 2009-07-14 15:33:25 -07:00
intel_dp_i2c.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_dp.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_dp.h drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_drv.h drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00
intel_dvo.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_fb.c drm/i915: Make driver less chatty 2009-07-01 18:13:34 -07:00
intel_hdmi.c drm/i915: Fix HDMI regression introduced in new chipset support 2009-06-22 20:49:57 -07:00
intel_i2c.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_lvds.c drm/i915: ignore lvds on AOpen Mini PC MP-915 2009-07-13 16:09:11 -07:00
intel_modes.c drm/i915: Change I2C api to pass around i2c_adapters 2009-06-18 15:53:57 -07:00
intel_sdvo_regs.h drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_sdvo.c drm/i915: enable sdvo lvds scaling function. 2009-07-01 11:44:45 -07:00
intel_tv.c drm/i915: set TV detection mode when tv is already connected 2009-06-22 20:27:47 -07:00
Makefile drm/i915: Add Display Port support 2009-06-18 15:54:07 -07:00