28 Mar, 2009

28 commits


27 Mar, 2009

1 commit


25 Mar, 2009

1 commit


16 Mar, 2009

1 commit

  • Most fasync implementations do something like:

    return fasync_helper(...);

    But fasync_helper() will return a positive value at times - a feature used
    in at least one place. Thus, a number of other drivers do:

    err = fasync_helper(...);
    if (err < 0)
    return err;
    return 0;

    In the interests of consistency and more concise code, it makes sense to
    map positive return values onto zero where ->fasync() is called.

    Cc: Al Viro
    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     

12 Mar, 2009

2 commits

  • The last 8 fence registers sit at a different offset, so when we went to set
    fence number 8 in the lower offset, we instead set PGETBL_CTL, and the GPU
    got all sorts of angry at us.

    fd.o bug #20567. Easily reproducible by running glxgears and killing it about
    6 times.

    Signed-off-by: Eric Anholt

    Eric Anholt
     
  • The i915 also uses the fence registers for GPU access to tiled buffers so
    we cannot reallocate one whilst it is on the active list. By performing a
    LRU scan of the fenced buffers we also avoid waiting the possibility of
    waiting on a pinned, or otherwise unusable, buffer.

    Signed-off-by: Chris Wilson
    Signed-off-by: Eric Anholt

    Chris Wilson
     

11 Mar, 2009

7 commits