1. 27 5月, 2009 1 次提交
    • E
      drm/i915: Fix tiling pitch handling on 8xx. · e76a16de
      Eric Anholt 提交于
      The pitch field is an exponent on pre-965, so we were rejecting buffers
      on 8xx that we shouldn't have.  915 got lucky in that the largest legal
      value happened to match (8KB / 512 = 0x10), but 8xx has a smaller tile width.
      Additionally, we programmed that bad value into the register on 8xx, so the
      only pitch that would work correctly was 4096 (512-1023 pixels), while others
      would probably give bad rendering or hangs.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      
      fd.o bug #20473.
      e76a16de
  2. 23 5月, 2009 1 次提交
  3. 15 5月, 2009 1 次提交
  4. 17 4月, 2009 1 次提交
  5. 02 4月, 2009 2 次提交
    • J
      drm/i915: add VGA hotplug support for 945+ · 5ca58282
      Jesse Barnes 提交于
      Add VGA port hotplug detection to the i915 driver.  When KMS is enabled,
      plugging in or removing a VGA cable from the VGA connector will
      generate a uevent, which indicates to userspace that it should re-probe
      outputs on this device (to determine modes, etc.).
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      [anholt: dropped extra PORT_HOTPLUG_STAT clear with ack from jbarnes]
      Signed-off-by: NEric Anholt <eric@anholt.net>
      5ca58282
    • D
      drm/i915: fix up tiling/fence reg setup on i8xx class hw · 8d7773a3
      Daniel Vetter 提交于
      This fixes all the tiling problems with the 2d ddx. glxgears still doesn't work.
      Changes:
      
      - fix a copy&paste error in i8xx fence reg setup. It resulted in an at most a
        512KB offset of the fence reg window, so was only visible sometimes.
      - add tests for stride and object size constrains (also for i915 and 1965 class
        hw). Userspace seems to have an of-by-one bug there, which changes the fence
        size by at most 512KB due to an overflow.
      - because i8xx hw is quite old (and therefore not as well-tested) I left 2 debug
        WARN_ONs in the i8xx fence reg setup code to hopefully catch any further
        overflows in the bit-fields. Lastly there's one small change to make the
        alignment checks more consistent.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=20289Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      8d7773a3
  6. 28 3月, 2009 3 次提交
  7. 12 3月, 2009 1 次提交
  8. 08 2月, 2009 2 次提交
  9. 07 1月, 2009 2 次提交
  10. 29 12月, 2008 1 次提交
  11. 04 12月, 2008 1 次提交
  12. 11 11月, 2008 1 次提交
  13. 18 10月, 2008 3 次提交