lkml.org 
[lkml]   [2005]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.10-mm2 solved
    > The attached patch fixes it and solves my problem (when combined with
    > http://lkml.org/lkml/2005/1/7/377). DRM is back with good performance.

    Actually, this doesn't fix Benoit's problem (even if we were initially
    having the same errors (radeon_cp_init called without lock held)).

    It seems that memsetting the whole bridge structure to 0 (instead of
    juste the agp_in_use field) fixes Benoit's problem too.
    No idea which field was responsible for this. New patch attached.

    Regards,
    Brice
    --- linux-mm/drivers/char/agp/backend.c.orig 2005-01-10 10:36:13.000000000 +0100
    +++ linux-mm/drivers/char/agp/backend.c 2005-01-10 10:34:35.000000000 +0100
    @@ -235,6 +235,8 @@
    if (!bridge)
    return NULL;

    + memset(bridge, 0, sizeof(*bridge));
    +
    if (list_empty(&agp_bridges))
    agp_bridge = bridge;
    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.022 / U:0.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site